Shop Module Categories

Get help with installation and running official modules for phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
SaraPerc
Posts: 5
Joined: Mon 19. Sep 2011, 09:08

Shop Module Categories

Post by SaraPerc »

Hi there,

I have a problem with shop categories. The client created main and subcategories and wants to keep the main categories empty.
As it now takes from the html file that there are no products it looks a bit funny and I would like to either instead of the text no products show the sub categories or just redirect the page to the first sub category listed. Using {SHOP_CATEGORIES} or even {SHOW_CONTENT:CP,8} doesn't work on the html template shop file but I do remember it worked on the tmpl files for content parts.
I even tried using frames :)

Any ideas how to do?

The shop is here http://www.opremax.eu/index.php?trgovina&shop_cat=all in slovenian.

Best regards,
Sara
nameless1
Posts: 878
Joined: Sun 27. Apr 2008, 23:22

Re: Shop Module Categories

Post by nameless1 »

SaraPerc
Posts: 5
Joined: Mon 19. Sep 2011, 09:08

Re: Shop Module Categories

Post by SaraPerc »

Wow!!! Sounds about right! :)
Thanks for the fast reply!!!
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Shop Module Categories

Post by Oliver Georgi »

{SHOW_CONTENT:…} is rendered after parsing modules in newer releases.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
SaraPerc
Posts: 5
Joined: Mon 19. Sep 2011, 09:08

Re: Shop Module Categories

Post by SaraPerc »

Solved! Thanks guys!!!
And this gives me so much more possibilities!!!

http://www.opremax.eu/index.php?trgovina&shop_cat=5
Post Reply