Home › Forums › WoodMart support forum › YITH add-ons not added to cart and printed again in related products

YITH add-ons not added to cart and printed again in related products

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

    coderrabbi
    Participant

    Hello,

    I use YITH WooCommerce Product Add-ons with Woodmart on variable products. The add-ons display and the page total updates, but when I click “Add to cart” the add-ons are not added: the cart shows only the base price and no options under the product. I turned off Woodmart’s AJAX add to cart and the result is the same. Removing my custom CSS did not change anything.

    Example product: https://demo.scootermotive.nl/product/vespa-primavera/

    What I noticed:

    • The same YITH add-ons block is printed several times on the product page: once for the main product, and again for every product in the “Related products” section. Each has its own variation form and add to cart button. This creates duplicate IDs and field names like yith-wapo-1-0 and yith_wapo[][1-0].
    • Choosing a colour fires many admin-ajax.php requests (action live_print_blocks), and sometimes the add-ons don’t appear at all. In one request the attribute values were sent empty.
    • The “Product price” row of the add-ons total sometimes shows a wrong price.

    My questions:

    • Is Woodmart’s variation form / quick shop in the product loop what causes the add-ons to be printed for related products? How can I turn that off for the related products section only?
    • Is there a known conflict between Woodmart and YITH WAPO that stops the selected add-ons being added to the cart?
    • Is there a recommended setting or hook to make this work?

    Thank you.

    • This topic was modified 1 week, 6 days ago by coderrabbi.
    • This topic was modified 1 week, 6 days ago by coderrabbi.
    #731558

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Please take the complete backup of your site first, and then could you please switch to a default WordPress theme, such as Storefront or Twenty Twenty-Five, and check whether the issue still occurs?

    If the issue persists with the default theme: This would indicate that the issue is likely not related to our theme. In that case, we recommend contacting the plugin support team, as the issue may be related to the plugin itself.

    If the issue no longer occurs with the default theme: This would suggest a possible conflict with our theme or another component on your website.

    In the second case, please take a complete backup of your website or prepare a staging/clone site and share its login credentials with us, along with the necessary permissions to investigate and debug the issue. Please generate secret link using our secure sharing service? https://secret.xtemos.com/

    Simply enter your WP-Admin login details, generate a new secret link, and share it with us in the Private Content field.

    Please note that our debugging process may require temporarily deactivating all third-party plugins and disabling any custom code or on-site customizations to identify the root cause.

    Once we have access to the staging site, we can perform further tests and investigate the issue more thoroughly.

    Thank you for your cooperation!

    Best Regards,

    #731561

    coderrabbi
    Participant

    Hello,

    Thanks for your reply. I tested this by activating a hello elementor WordPress theme with the same plugins and settings. With that theme the YITH add-ons are added to the cart correctly and show in the cart. With Woodmart active, the selected add-ons are not added to the cart. Nothing else changed between the two tests, so the problem only happens with Woodmart.

    Could you please check what in the theme stops the add-ons from being added to the cart? I have attached admin access info.

    Thank you.

    #731581

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    We have investigated the issue and confirmed that WoodMart’s Quick Shop functionality conflicts with the YITH WooCommerce Product Add-ons plugin.

    Please disable the Quick Shop functionality from the theme settings > shop > variable products.

    You can disable this only on a single product page through WoodMart > Theme Settings > Presets by editing the preset assigned to your single product page and disabling Quick Shop under Shop > Variable Products.

    Here is the documentation how to use theme presets:
    https://woodmarttheme.com/docs/theme-settings-presets/

    Best Regards,

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