Page 1 of 1

Troubleshooting products module - add to cart form missing

Posted: Thu Jul 24, 2014 1:54 am
by Dramatic
Since the site I'm working on only has six products, I'm using direct details calls, e.g.:
{Products action="details" productid="3"}

However, even when I am using the default template, the add-to-cart form is not being rendered.

CMS and all modules seem to be up to date, and I'm using promotions (but haven't defined any yet).
The products have options.

Any pointers on how to troubleshoot this?

Re: Troubleshooting products module - add to cart form missi

Posted: Thu Jul 24, 2014 6:54 am
by velden
Note that in the default detail template the code is commented by asterisks:

Code: Select all

{* display the cart *}
{*Cart2 sku=$entry->sku*}
Change to:

Code: Select all

{* display the cart *}
{Cart2 sku=$entry->sku}
Further, you MUST enter a unique SKU per product/product option. Those are 'hidden' on the 'Advanced' tab of product items.