Page 1 of 1

Add to cart not showing in products.

Posted: Thu Sep 11, 2014 4:55 pm
by Barrowboy
Hi
I have just installed all the recommended modules to create a ecommerce site but I unable to get the 'Add to Cart' to show in the product.

Within the sample template I have uncommented this line {*Cart2 sku=$entry->sku*} to Cart2 sku=$entry->sku it now just shows as a line of code in the product? also my products do have a SKU number.
In my CGEcommercebase module the cart is set to Cart2.

Can someone explain why it will now show.

Is there not a list of templates somewhere that just work so us amateurs can get started a bit easier. After all most ecommerce sites are much the same with regard to cart and checkout.

Thanks

Re: Add to cart not showing in products.

Posted: Thu Sep 11, 2014 8:00 pm
by velden
Barrowboy wrote:Hi
Within the sample template I have uncommented this line {*Cart2 sku=$entry->sku*} to Cart2 sku=$entry->sku it now just shows as a line of code in the product? ...

Can someone explain why it will now show.
Leave the {} in place, just remove the *

Code: Select all

{Cart2 sku=$entry->sku}
You need to have at least some basic knowledge of Smarty to work with CMSMS templates.