Display items of one hierarchy in Products mod.

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Mich-adg
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 02, 2008 9:08 pm

Display items of one hierarchy in Products mod.

Post by Mich-adg »

Hi all,

i got a problem on a 1.9.2 cmsms install, with Products 2.10.2. (both on local and online site).

I try to display items under one hierarchy like that : {Products hierarchy="name * name2"} (that works under a 1.8.2 cmsms version and Products 2.8.7)
I tried also {Products hierarchy="name *"}, {Products hierarchy='name *'}... nothing works !


Any idea ? thx...
curlypinky
Forum Members
Forum Members
Posts: 109
Joined: Thu Sep 04, 2008 3:49 am

Re: Display items of one hierarchy in Products mod.

Post by curlypinky »

I just upgraded to Products 2.10.2 and am experiencing this as a well - when attempting to display a product summary view with a specified hierarchy the content is blank. Product summary view alone ({Products}) is fine

Using the following:
{Products hierarchy='Apparel'}
{get_template_vars}

The content is returned:

SCRIPT_NAME = /index.php
app_name = CMS
sitename = Paradise Roller Girls, Hawaii Roller Derby
lang = en_US
encoding = utf-8
cgsimple = Object
ccuser = Object
feu_smarty = Object
content_obj = Object
content_id = 83
page = shop
page_id = shop
page_name = shop
page_alias = shop
position = 3.2
friendly_position = 3.2
mod = Object
returnid = 83
actionid = m4d74f
actionparams = Array (3)
Products = Object
domianno
Forum Members
Forum Members
Posts: 12
Joined: Wed Aug 01, 2007 7:17 am

Re: Display items of one hierarchy in Products mod.

Post by domianno »

Did you solve it?
domianno
Forum Members
Forum Members
Posts: 12
Joined: Wed Aug 01, 2007 7:17 am

Re: Display items of one hierarchy in Products mod.

Post by domianno »

The bug has already been submitted: http://dev.cmsmadesimple.org/bug/view/6066
I found out that changing modules/Products/action.default.php with action.default.php from Products 2.9.2 makes hierarchy work, but
you might have new problems if you use specific features.
Mich-adg
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 02, 2008 9:08 pm

Re: Display items of one hierarchy in Products mod.

Post by Mich-adg »

Thanks for reply, i'll try. Category method doesn't work too... i noticed the bug on the forge.
Mich-adg
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 02, 2008 9:08 pm

Re: Display items of one hierarchy in Products mod.

Post by Mich-adg »

Just Downgraded to Products 2.9.2 on local site, hierarchy works but with "internal" url mode (mod rewrite doesn't display the detail of the products... >:( )

Mod rewrite works now with parameter "use hierarchy path in url" set to "yes". But detail page doesn't work = it display the detail on the homepage under the content and not in the "detailpage=mypage" setting.
curlypinky
Forum Members
Forum Members
Posts: 109
Joined: Thu Sep 04, 2008 3:49 am

Re: Display items of one hierarchy in Products mod.

Post by curlypinky »

New release of Products in the forge, I just upgraded to 2.10.3 and hierarchy is working for me now, I'm not using Categories but I bet that issue is fixed too. I think you can mark this thread as solved now :)
Big mahalos calguy!
Alane
Post Reply

Return to “Modules/Add-Ons”