• Resolved daman13

    (@daman13)


    Actually I want when user comes to the page then variation is auto selected and user direct able to click on Add to cart button and product added in cart…..

    But right now add to cart button is disabled and no variation is selected
    Through jquery i have added li class is active but still its not working

    jQuery(document).ready(function() {
    jQuery(‘.products-variations li:first-child’).addClass(‘active’);

    });

    –>

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @daman13 ,

    Thanks for reaching out!

    I understand that the “Add to cart” button is not working as expected, and no variation is auto-selected when visiting the single product page, is this correct?

    If yes, it appears that this is working as expected on my end when visiting your site, and the “Add to cart” button seems to be functioning as it should, as seen in the screenshot below:

    Have you managed to resolve this since creating the topic, or are you still experiencing this issue?

    If you are not seeing the same results as me, please could you try clearing your browser cache and check if this makes any difference.

    variations auto select not working in elementor

    Should the issue persist, and you have identified the culprit as Elementor, please can you reach out to their plugin support since this forum is dedicated to support related to WooCommerce core.

    Cheers!

    Thread Starter daman13

    (@daman13)

    Hi roxy

    thanks for you replying. yes its working on single page but not working on homepage.
    https://demoalchimie.alchimiefragrances.com/
    when you visit homepage then 4 products are shown …
    That products variations not selected and add to cart also not enabled without select variation

    Hi @daman13

    Thanks for sharing further information about your issue here.

    I checked your homepage and can confirm the issue as you can see below:

    As a first step, can you please share how the automatic selection of variation is being added to your site as this is not part of the core functions of WooCommerce?

    If this was added thru a third-party plugin or a custom code, it would be best to reach out to the developers for further assistance here.

    Thanks!

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @daman13 ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – feel free to create a new topic? should you need any further help.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘variations auto select not working in elementor’ is closed to new replies.