Loop subproducts

General ShopSite user discussion

Loop subproducts

Postby Sir Yendor » Sun Aug 03, 2008 11:05 am

Using ShopSite Pro 9

I'm using this code, but the subproducts all show up in one column, not four as specified.


<tr>
<td align="center" valign="top">[-- LOOP SUBPRODUCTS 4 --]
[-- SUBPRODUCTS --]<br>
[-- END_LOOP SUBPRODUCTS --]</td>
</tr>

Any ideas? Everything else is working perfectly.

Thanks
Sir Yendor
 
Posts: 47
Joined: Tue Sep 26, 2006 5:52 pm
Location: Portland

Postby tfoy » Sun Aug 03, 2008 4:31 pm

Under the define product in your page template the Loop tag is replaced by <tr> and the end loop tag with </tr> so you don't need those in your template.

[-- DEFINE PRODUCT --]

<table width="100%" border="1">
[-- LOOP SUBPRODUCTS 4 --]
[-- SUBPRODUCTS --]
[-- END_LOOP SUBPRODUCTS --]
</table>


Then in the template under define subproduct is where you place your info inside <td> </td> tags

[-- DEFINE SUBPRODUCT --]

<td>[-- PRODUCT.Name --]</td>





Tom
tfoy
 
Posts: 32
Joined: Wed Apr 16, 2008 10:34 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 169 guests