• Resolved frenchomatic

    (@frenchomatic)


    Hi,

    It appears no spaces or a hyphen is being added to create a separation between attributes on AMP product pages e.g. I am getting

    Variants

    attribute1attribute2attribute3

    Select button

    A small thing but the css selector for this variant also needs to be given some line-height because the text starts overwriting itself when the line becomes too long.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter frenchomatic

    (@frenchomatic)

    I have taken a look at the code and this looks easy enough to fix. I do wonder though if the actual attribute name which accompanies the woocommerce dropdowns is also needed.

    attribute 1 name: choice – attribute 2 name : choice – etc.

    Thread Starter frenchomatic

    (@frenchomatic)

    Would it be possible to use forms instead to display variants in the same way as it does on a regular woocommerce product page? This would actually be the ideal solution as opposed to buttons. Buttons work fine for a few variants but when there are many, a dropdown form for each attribute works best for users.

    https://www.ampproject.org/docs/reference/components/dynamic/amp-form

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Variants issue’ is closed to new replies.