Hi, I have a custom layout for products in a subcategory
I didn't create the layout, It was commissioned outside…
The layout shows products in a subcategory, but doesn't diplay discount and discounts labels
it starts with:
{foreach from=$subcat_products.$subcategory_id item=“product” key=“key” name=“products”}
but if i put {$subcat_products|print_r} there is no sign of the discout fields or other field related to disocunt…any help? where shoule the SQL query be found???
{foreach from=$subcat_products.$subcategory_id item="product" key="key" name="products"}
This code is non-standard. You should find the PHP code where the $subcat_products variable is assigned to the template. If you need any assistance on this, feel free to contact us via PM
yes, it's a custom mod we commissioned…
I am trying to get where the $subcat_products it's assigned to the template…
[quote name='AntonioGrazioli' timestamp='1430900143' post='213518']
yes, it's a custom mod we commissioned…
I am trying to get where the $subcat_products it's assigned to the template…
[/quote]
Most possibly it is located in the “app/addons/ANY_3RD_PARTY_ADDON/controllers/frontend/categories.post.php” directory