View Single Post
  #4  
Old 12-18-2010, 08:22 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Smarty Variable List/Guide

If you are assigning an individual product to many categories - to my knowledge, the default installation of X-Cart does not query for every possible category in which a product can be and provide that in smarty.

In the product array - you are provided with what you what you have set to be the Main category. That is what X-Cart uses to build its breadcrumb. (It is not a true navigation breadcrumb that traces how you navigated to the product page.)

So, when you say "the category related to that particular product", it is unclear what you mean. If you mean the main category - it should be in the product array. If you mean something else - it might not be available by default in smarty.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote