Hi,
My client has the need for products that have only 1 size and 1 color attribute.
Once entered such product, i noticed that the add-to-cart-form from the theme is not being styled as expected :
Not immediately visible on the product page itself, but after i open the "edit" pane, there are warnings showns to my opinion related to the case:
EDIT: The errors also show up here on product-grid page :
Could you have a look at this ?
Thanks !
Hi,
While searching through some core stuff to solve another issue with altered default product preselection, i found this fragment of code inside commerce_cart.module that might be involved in the way the add-to-cart form is themed inside your theme :
$form['product_id'] is in case of 1 product reference set to type 'hidden'.
Maybe a red wire you can follow when debugging this case.
Hello,
Solved this issue changing the product display setting for the add to cart form :
Hello,
Thank you so much. You helped us a lot.
Hi Khoa and colleagues,
You're welcome. It is in my nature to act like this, certainly if i feel i am being treated likewise.
Have a nice day!
Bart
Thank you, Paradoxx. You the man :)