adding sub products casuses generation to fail

General ShopSite user discussion

adding sub products casuses generation to fail

Postby circlekstrings » Sat May 15, 2010 12:13 pm

Hello everyone.

IM trying to add sub products to a product (single items to a combine set) and im getting a strange error upon generation, and the the pages get messed up

Adding Product [4 String Set - Balanced Long 084]...
core_001_pr_basic_product.sst [365]: Template Error: This VAR is not defined SUBPR_COLS
core_001_pr_basic_product.sst [365]: Template Error: LOOP: VAR name undefined: SUBPR_COLS

im flyin blind here :) so any assistance would be great
circlekstrings
 
Posts: 51
Joined: Thu Apr 23, 2009 3:29 pm

Postby Jim » Sat May 15, 2010 8:06 pm

This line
core_001_pr_basic_product.sst [365]: Template Error: This VAR is not defined SUBPR_COLS
indicates that you have not defined a VAR for SUBPR_COLS
you would need to define the VAR using this syntax [[- VAR.SUBPR_COLS <some value> --]

This line
core_001_pr_basic_product.sst [365]: Template Error: LOOP: VAR name undefined: SUBPR_COLS

Indicates that you are trying to do a LOOP on the VAR that is not defined. Note that you can't just create your own [-- LOOP some_VAR --] The only loops that are allowed are LINKS, PRODUCTS, ITEMS, SUBPRODUCTS, CROSSSELL and GLOBALCROSSSELL . as the are defined in the custom template specification at: http://www.shopsite.com/templates/tags/cheatsheet/ or http://www.shopsite.com/help/10.1/en-US ... .spec.html
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby circlekstrings » Sun May 16, 2010 6:45 am

Thanks Jim!

Were using a custom template fmor the wonderful folks at sd360 - very happy with it - its been kickin butt for us since we went live -

ill dig into the links you sent over - thanksagain

C
circlekstrings
 
Posts: 51
Joined: Thu Apr 23, 2009 3:29 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 53 guests