Page 1 of 1
Display items of one hierarchy in Products mod.
Posted: Sat Jan 29, 2011 11:12 am
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...
Re: Display items of one hierarchy in Products mod.
Posted: Mon Jan 31, 2011 5:35 am
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
Re: Display items of one hierarchy in Products mod.
Posted: Fri Feb 04, 2011 2:04 pm
by domianno
Did you solve it?
Re: Display items of one hierarchy in Products mod.
Posted: Fri Feb 04, 2011 3:15 pm
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.
Re: Display items of one hierarchy in Products mod.
Posted: Fri Feb 04, 2011 3:17 pm
by Mich-adg
Thanks for reply, i'll try. Category method doesn't work too... i noticed the bug on the forge.
Re: Display items of one hierarchy in Products mod.
Posted: Fri Feb 04, 2011 3:47 pm
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.
Re: Display items of one hierarchy in Products mod.
Posted: Wed Feb 09, 2011 12:37 am
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