• Resolved pipoulito

    (@pipoulito)


    Hi,

    When using variable product, how could i add a notification if the user click on ADD TO CART before selecting a variation ?
    “Please, select a choice in the list above before to click on this button”
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Customers should not be able to add a product to cart, if the variation is not selected. To clarify, is this feature not working on your site?

    If so you can provide the following information:

    Share a copy of your site’s System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?

    Thanks.

    Thread Starter pipoulito

    (@pipoulito)

    Hello,

    Thanks, yes the customer can’t add to the cart if the variation is not selected, that is ok. But when the button is disabled and customer click on it i need to notify the customer that he has to choose a vraiation to make it active.

    thanks

    Hello,

    I’ve found this article that might help you out, please take a look.

    If you would like us to check better, can you please provide a link to the product?

    That will help, thanks.

    Thread Starter pipoulito

    (@pipoulito)

    Thanks but it is not exactly my case.
    I would prefer to hide the add to cart button while no variation selected

    @pipoulito

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add to cart button notification for variation’ is closed to new replies.