Add to cart not showing in products.

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Barrowboy
Forum Members
Forum Members
Posts: 223
Joined: Mon Dec 16, 2013 4:09 pm

Add to cart not showing in products.

Post 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
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Add to cart not showing in products.

Post 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.
Post Reply

Return to “Modules/Add-Ons”