Title: Variants issue
Last modified: April 24, 2017

---

# Variants issue

 *  Resolved [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/variants-issue/)
 * 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](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/variants-issue/#post-9061395)
 * 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](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/variants-issue/#post-9065032)
 * 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](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.

 * ![](https://ps.w.org/amp-woocommerce/assets/icon-256x256.png?rev=1516308)
 * [AMP WooCommerce](https://wordpress.org/plugins/amp-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/amp-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/amp-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp-woocommerce/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/variants-issue/#post-9065032)
 * Status: resolved