product categories?

General ShopSite user discussion

product categories?

Postby psldesigns » Wed Aug 16, 2006 7:15 pm

I found these in the tags:

Cross-Store Product Directory
[-- PRODUCT.CategoryID --] Category ID
[-- PRODUCT.CategoryDescription --] Category Description

How are they used? I can't find where I can assign a "category" to a product -- unless I'm losing my mind. I was pretty good in the manager version and this site is using pro. Is it a different option?

What I'm looking to do is in a custom template say If category = X, then ..., If category = Y then . . . , you get the idea.

Thanks!

Pam
psldesigns
 
Posts: 116
Joined: Wed Aug 16, 2006 7:06 pm
Location: Michigan

Postby Jim » Wed Aug 16, 2006 8:27 pm

Those custom template tags are for use only with the reward feature. They can't be used with products.

You could use the product.field1 ... product.field5 fields for specifying a "category" and do the comparison on them like this
[-- if product.field1 "Desks" --]
put you code to display desks here
[-- else_if product.field1 "Chairs" --]
put your code to display chairs here
[-- else --]
put your code to display other things here
[-- end_if --]

Jim
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Thanks!

Postby psldesigns » Wed Aug 16, 2006 8:46 pm

That will work great! Thanks for the help!

Pam
psldesigns
 
Posts: 116
Joined: Wed Aug 16, 2006 7:06 pm
Location: Michigan


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 79 guests