Multi-Add-to-Cart Template Issues
Posted: Tue Jul 03, 2012 10:12 am
Hi,
I am trying to implement the multi-add-to-cart template which will loop through selected items assigned to this template and put checkboxes next to them and include an add to cart button.
I have followed the directions provided <a href=" http://www.shopsite.com/templates/cookbook/tips-multiaddtocart-page.shtml">here</a> These directions do not mention how to create the template, however. I copied the contents provided for the page template, pasted them into a text editor and save as .sst file then uploaded to the cgi-bin/sc/templates/pages directory on my server. I named the template 'MyPageTemplate.sst'
I did the same for the Product Template, calling it 'myprodtemplate.sst' and uploading it to cgi-bin/sc/templates/products folder.
In MyPageTemplate.sst I changed this line [--PRODUCT --] to [-- PRODUCT myprodtemplate --] to assign the product template to the display of the products
I created a page from the Shopsite admin area: Manage Shopsite > Pages > Create New Page
I named it 'cc_cart' and titled it 'Another Cart'
Under Layout Info of the same Page Creation page, I selected the template 'MyPageTemplate.sst' and saved the settings.
Next, I assigned items to the page:
Manage Shopsite > Assign Items > Product (clicked proceed, selected 3 products, clicked Save Changes)
Clicked Preview and nothing happens.
What am I missing or doing wrong? Thanks for your help.
I am trying to implement the multi-add-to-cart template which will loop through selected items assigned to this template and put checkboxes next to them and include an add to cart button.
I have followed the directions provided <a href=" http://www.shopsite.com/templates/cookbook/tips-multiaddtocart-page.shtml">here</a> These directions do not mention how to create the template, however. I copied the contents provided for the page template, pasted them into a text editor and save as .sst file then uploaded to the cgi-bin/sc/templates/pages directory on my server. I named the template 'MyPageTemplate.sst'
I did the same for the Product Template, calling it 'myprodtemplate.sst' and uploading it to cgi-bin/sc/templates/products folder.
In MyPageTemplate.sst I changed this line [--PRODUCT --] to [-- PRODUCT myprodtemplate --] to assign the product template to the display of the products
I created a page from the Shopsite admin area: Manage Shopsite > Pages > Create New Page
I named it 'cc_cart' and titled it 'Another Cart'
Under Layout Info of the same Page Creation page, I selected the template 'MyPageTemplate.sst' and saved the settings.
Next, I assigned items to the page:
Manage Shopsite > Assign Items > Product (clicked proceed, selected 3 products, clicked Save Changes)
Clicked Preview and nothing happens.
What am I missing or doing wrong? Thanks for your help.