How would I list all variants with an add to cart button
Hi I am new to uCommerce and have the Razor demo store which I am using as a basis.
What I want to achieve is a simple table listing all of the variants available with the price and an 'add to cart' button next to each variant which I though would be simple enough!
How would I list all variants with an add to cart button
Hi I am new to uCommerce and have the Razor demo store which I am using as a basis.
What I want to achieve is a simple table listing all of the variants available with the price and an 'add to cart' button next to each variant which I though would be simple enough!
Can anybody point me in the right direction?
You can do a foreach over the variants in the product on the page and render the relevant button next to each:
is working on a reply...