View Single Post
  #6  
Old 04-25-2016, 09:26 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: Products under subcategories keeping existing layout

I'm not sure, but why do you loop through products twice?
Are you sure you need this loop: "{foreach from=$products[product] item=products}"?
Don't you do this already here: "{foreach from=$subcat.products item=subproduct}"?
__________________
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