Product Manager problem.. [SOLVED]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
kaamo5
New Member
New Member
Posts: 4
Joined: Sun Oct 24, 2010 10:36 am

Product Manager problem.. [SOLVED]

Post by kaamo5 »

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.
Last edited by kaamo5 on Sun Oct 24, 2010 9:42 pm, edited 1 time in total.
sanderhartveld
Forum Members
Forum Members
Posts: 25
Joined: Mon Sep 07, 2009 10:33 am

Re: Product Manager problem..

Post by sanderhartveld »

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.
kaamo5
New Member
New Member
Posts: 4
Joined: Sun Oct 24, 2010 10:36 am

Re: Product Manager problem..

Post by kaamo5 »

sanderhartveld 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.
yes I use capital P when calling the module.. I just want it to print no products if category is empty  ???
borutvel
Forum Members
Forum Members
Posts: 11
Joined: Sun Oct 24, 2010 7:45 pm

Re: Product Manager problem..

Post by borutvel »

Products Manager - Preferences - Product Detail Settings

Did you fill those up?
kaamo5
New Member
New Member
Posts: 4
Joined: Sun Oct 24, 2010 10:36 am

Re: Product Manager problem..

Post by kaamo5 »

borutvel wrote: Products Manager - Preferences - Product Detail Settings

Did you fill those up?
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.

something like:
If there is products{
list products
}
else{
print the no products line
}
borutvel
Forum Members
Forum Members
Posts: 11
Joined: Sun Oct 24, 2010 7:45 pm

Re: Product Manager problem..

Post by borutvel »

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}
kaamo5
New Member
New Member
Posts: 4
Joined: Sun Oct 24, 2010 10:36 am

Re: Product Manager problem..

Post by kaamo5 »

borutvel 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}
ok thats what I was looking for  :P thank u
Post Reply

Return to “Modules/Add-Ons”