Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <{assign var="c" value=$product->getMainCategory()}>
- <{if $c}>
- <{assign var="popularproducts" value=$c->getPopularProducts()}>
- <{if $popularproducts}>
- <{section name="i" loop=$popularproducts start=0 max=8}>
- <{if $popularproducts[i]->getIsInStock() || $popularproducts[i]->getAllowNegativeStock()}>
- <{include file="inner_product.html" product=$popularproducts[i]}>
- <{/if}>
- <{/section}>
- <{/if}>
- <{/if}>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement