Jump to content

Recommended Posts

Доброго времени суток. 

Как сделать вывод товаров в категориях: рекомендуемые, новинки и акционные, в кол-ве больше трёх штук на главной странице магазина ?

"рекомендуемые", "новинки" и "акционные" это вообще то не категории товара, а как бы сказать что ли признак товара.

В файле design/default/html/main.tpl в функциях:

{get_featured_products var=featured_products}
{get_new_products var=new_products limit=3}
{get_discounted_products var=discounted_products limit=9}
добавь (если его нету) параметр limit=нужное кол-во чтобы было в итоге вот так (пример):
{get_featured_products var=featured_products limit=666}
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...