Hello,
Im using the product manager by inserting the {products category='random'} to the page where I want the list of that category products. And if the category is empty aka there is no products -> nothing comes out.
So what I want is that there would read "No products" or something like that if the category is empty ::). I have tried editing the summary template but I noticed that it wont even be included if the category is empty.
Product Manager problem.. [SOLVED]
Product Manager problem.. [SOLVED]
Last edited by kaamo5 on Sun Oct 24, 2010 9:42 pm, edited 1 time in total.
-
sanderhartveld
- Forum Members

- Posts: 25
- Joined: Mon Sep 07, 2009 10:33 am
Re: Product Manager problem..
For me the module was only called when usinf {Products} with a capital P
check that one too
check that one too
kaamo5 wrote: Hello,
Im using the product manager by inserting the {products category='random'} to the page where I want the list of that category products. And if the category is empty aka there is no products -> nothing comes out.
So what I want is that there would read "No products" or something like that if the category is empty. I have tried editing the summary template but I noticed that it wont even be included if the category is empty.
Re: Product Manager problem..
yes I use capital P when calling the module.. I just want it to print no products if category is emptysanderhartveld wrote: For me the module was only called when usinf {Products} with a capital P
check that one too
kaamo5 wrote: Hello,
Im using the product manager by inserting the {products category='random'} to the page where I want the list of that category products. And if the category is empty aka there is no products -> nothing comes out.
So what I want is that there would read "No products" or something like that if the category is empty. I have tried editing the summary template but I noticed that it wont even be included if the category is empty.
Re: Product Manager problem..
Products Manager - Preferences - Product Detail Settings
Did you fill those up?
Did you fill those up?
Re: Product Manager problem..
Yes those settings are ok. The module works fine and I just want to modificate it to show "No products" if the category is empty.borutvel wrote: Products Manager - Preferences - Product Detail Settings
Did you fill those up?
something like:
If there is products{
list products
}
else{
print the no products line
}
Re: Product Manager problem..
http://www.dootch.com/2010/08/this-cate ... ts-module/
{capture assign="is_empty"}{Products category="Specials" summarytemplate="specials"}{/capture}
{if $is_empty != ''}{Products category="Specials" summarytemplate="specials"}{else}There are no specials on right now.{/if}
Re: Product Manager problem..
ok thats what I was looking forborutvel wrote: http://www.dootch.com/2010/08/this-cate ... ts-module/{capture assign="is_empty"}{Products category="Specials" summarytemplate="specials"}{/capture}
{if $is_empty != ''}{Products category="Specials" summarytemplate="specials"}{else}There are no specials on right now.{/if}
