Support » Plugin: WooCommerce » Working With AMP, Making Variable Products Simple

  • Resolved supercooltotes

    (@supercooltotes)


    Hi,

    I’m currently implementing AMP to my store using a plugin, and would like to remove the rule that makes it mandatory to select a product’s variations before adding to basket.

    This would in effect convert my variable products to simple products when the page is in AMP. (I can remove the variation boxes in the plugin so it appears to be a simple product).

    Some of my products have many variations, making it unrealistic to display them all in AMP, because the image switching does not work. This isn’t a good user experience because the user cannot see what they are buying.

    By removing the mandatory rule to select attributes the user is essentially given no choice, and the product shown in the default image will be bought.

    Any help would be appreciated. Thanks.

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

Viewing 1 replies (of 1 total)
  • Plugin Support Michael

    (@mikkamp)

    Automattic Happiness Engineer

    Hi there,

    WooCommerce will always require a specific variation to be selected before it can be purchased. It is possible to set a default selection for a variable product so the user doesn’t have to interact with it, this is explained here: https://docs.woocommerce.com/document/variable-product/#setting-defaults

    If it’s just a matter of display then setting the defaults would allow you to hide the variations so they aren’t visible to the user. But they would still be needed to keep the product functional.

    Another alternative would be to consider two sets of products, which would be filtered depending on how they are viewed. So the variable products would be shown for the normal view, and the replacing simple products would be shown through amp.

Viewing 1 replies (of 1 total)
  • The topic ‘Working With AMP, Making Variable Products Simple’ is closed to new replies.