• Resolved neonerve2

    (@neonerve2)


    I have a product whereby selecting the “Type” type is the only attribute that changes the price of the product.

    Therefore all other attributes (date, time, product, size etc) does not affect the price and I do not need to create all known variations for this (would be 972 variations).

    When I create 2 variations for the “Type” I leave all other attributes set to “ANY”.

    For some reason, whilst the variations display and can be selected, they will not add to the Cart. Any ideas?

    • This topic was modified 3 years, 10 months ago by neonerve2.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you provide me with a picture?

    Thread Starter neonerve2

    (@neonerve2)

    Thread Starter neonerve2

    (@neonerve2)

    If i create ALL VARIATIONS and set individual prices the product will add to cart correctly.

    I don’t understand why the “ANY” options doesn’t work. If you look at the cart messages after trying to add the product it will list the attributes fields as being empty.

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    @neonerve2 I’ve test this same scenario on a site of my own, but it is working correctly there.

    I configured a product with five different attributes. Then I created two variations using one of the attributes (Type) and used the value Any for all the other four attributes.

    On the frontend I was allowed to correctly add the product to the cart. You can see a screencast of how that worked on my site here:


    GIF Link: https://d.pr/i/BcuvqV

    This would indicate there isn’t a widespread bug in the plugin causing this issue. Rather, the problem is created by something specific to your site’s setup.

    The first thing that comes to mind is a potential conflict. Here’s what I’d suggest testing:

    1. Switch the theme of your website to the free Storefront theme.

    2. Deactivate all the plugins except for WooCommerce and check if the issue persists. If the problem is resolved then please move on to the next step.

    3. Activate features one by one while testing for the issue, until you find the one that is causing this behavior.

    We recommend that these steps are taken on a staging site, which is a clone of your live site that you can modify without risking making any permanent damage to your live site. You can create it using a plugin like WP-Staging. This plugin lets you copy and redeploy a WordPress site with minimal work.

    I hope this helps pinpoint the source.

    Thread Starter neonerve2

    (@neonerve2)

    Yes you are correct.

    The problem is the plugin “Ajax add to cart for WooCommerce” which unfortunately I require for another part of my shop.

    Thread Starter neonerve2

    (@neonerve2)

    Plugin Support RK a11n

    (@riaanknoetze)

    Excellent! I’m glad to see you’ve made some progress in tracking down the plugin causing that. For more support on this, we’d recommend reaching out to the developers of that plugin to take a closer look as this isn’t something that we have any direct control over from our side.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“Any” product variations don’t add to cart’ is closed to new replies.