Home Forums WoodMart support forum Compatibility issue: YITH WooCommerce Deposits & Woodmart AJAX Add to Cart

Compatibility issue: YITH WooCommerce Deposits & Woodmart AJAX Add to Cart

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #717130

    ezequielgamezh
    Participant

    Hi Woodmart Team,

    I am currently developing my website using the Woodmart theme and I need to implement Pre-orders or Partial Payments.

    I have purchased the “YITH WooCommerce Deposits / Down Payments” plugin, but I am facing a critical compatibility issue with the theme:

    The issue: On the single product page, the deposit options are displayed correctly. However, when selecting “Partial Payment” and clicking “Add to cart”, the Mini-cart (Sidebar) and the shopping cart always show the 100% full price instead of the required deposit amount.

    Technical observation: It seems that Woodmart’s native AJAX Add to Cart functionality is stripping away or ignoring the custom fields sent by the YITH plugin, processing only the default product price.

    I would like to ask:

    Is there a specific hook or setting to make Woodmart’s AJAX compatible with YITH deposit fields?

    If YITH is not supported, do you recommend any other Pre-order or Deposit plugin that has “Advanced Support” or native integration with Woodmart to avoid these AJAX conflicts?

    Thank you for your assistance. This feature is vital for my project.

    Attachments:
    You must be logged in to view attached files.
    #717158

    Artem Temos
    Keymaster
    Xtemos team

    Hi,

    Thanks for the detailed report.

    The issue you’re seeing is a known limitation of the theme’s AJAX add to cart on the single product page. This option does not work with custom plugins that add/submit extra fields (such as deposit/partial payment fields). Those fields are not processed via the AJAX request, and this behavior is noted in the option’s description.

    If you have any other questions, let us know.

    Kind Regards

    #717234

    ezequielgamezh
    Participant

    Hi,

    Thank you for your honest answer. I understand the limitation regarding AJAX.

    Since partial payments are a core requirement for this project (Crazyarte), I have two questions to find a workaround:

    Is there a way to programmatically disable AJAX only for products that have the deposit option active, while keeping it enabled for the rest of the store?

    Since YITH seems to have this conflict, could you recommend another ‘Partial Payments’ or ‘Deposits’ plugin that is fully compatible with WoodMart’s AJAX features? I am looking for a seamless integration to avoid disabling AJAX sitewide.

    Best regards.”

    #717261

    Artem Temos
    Keymaster
    Xtemos team

    Hi there,

    1) Disable AJAX only for products that require deposits
    Yes — you can keep AJAX for the rest of the store and turn it off only on products that use deposits by using Theme Settings Presets. This ensures the deposit plugin’s extra fields are submitted correctly on those products.

    Steps:
    – Group your deposit products with a dedicated product category, attribute or tag (e.g. “Deposits”) so you can target them as a condition.
    – Go to Dashboard > Theme Settings > Presets > Add new.
    – Set Conditions to target your deposit products (by Product category, Product tag, or even specific Product IDs).
    – Save the conditions.
    – In the same preset, open Single Product settings and turn off AJAX add to cart on the single product page.
    – Save changes and clear caches.

    With this preset active, only the targeted products will use the standard (non-AJAX) add to cart, allowing the YITH deposit fields to pass through so the mini cart and cart display the deposit instead of the full price. All other products will continue using AJAX from your global settings.

    2) Alternative plugin recommendation
    We don’t have a deposit/pre-order plugin to recommend. The preset-based approach above is the supported way to avoid conflicts without disabling AJAX sitewide.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)