View Single Post
  #2  
Old 07-20-2015, 03:04 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Specific Category on Home Page

Hello!

"\XLite\View\ItemsList\Product\Customer\Category\M ain" is the base widget that renders the list of products from a category.

It has PARAM_CATEGORY_ID parameter, so I believe you can render it for a specific category from a template file (however, I'm not sure for 100% as it may take some parameters from the request and from the controller that handles the current "target").

The code could be as follows (I haven't tried it):
Code:
<widget class="XLite\View\ItemsList\Product\Customer\Category\Main" categoryid="YOUR_CATEGORY_ID" />
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote