[Zen Cart] MSU after upgrade something broke

Magic SEO URLs for Zen Cart.
adidas
Posts: 3
Joined: Wed Jun 01, 2011 1:01 am

[Zen Cart] MSU after upgrade something broke

Postby adidas » Wed Jun 01, 2011 10:18 am

after upgrading inveo magic seo urls for zencart to 3.0.04 from 2.0.00

i have one addon that i really need, smartbackgrounds, http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=832

with msu 2.0.00 it worked just fine
with msu 3.0.04 disabled it works just fine

problem is that with msu 3.0.04 enabled i can not have category related header graphics for product pages.

Ceon URI Mapping had similiar problems and they upgraded urimapping and after that smartbackgrounds started to work as intended.
https://www.zen-cart.com/forum/showpost.php?p=783983&postcount=264

problem site can be seen here,
http://www.prostore.fi/koiratarvikkeet-ezydog-163/koirien-valjaat-175/

http://www.prostore.fi/koiratarvikkeet-ezydog-163/koirien-valjaat-175/koiran-valjaat-harness-musta-614.html

product page should return same headercategorybackground


Regards,


prostore.fi

inveo
Inveo Support
Posts: 1276
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] MSU after upgrade something broke

Postby inveo » Wed Jun 01, 2011 11:08 am

1) if this add-on worked with 2.x Series it has to work with latest 3.x Series as well. There were no changes made to MSU architecture.
2) MSU do not use ZC API - it means it can not break any add-on since it is running on top of Zen Cart.

It looks as a simple CSS problem to us.

adidas
Posts: 3
Joined: Wed Jun 01, 2011 1:01 am

Re: [Zen Cart] MSU after upgrade something broke

Postby adidas » Wed Jun 01, 2011 12:28 pm

productpage gives

with MSU enabled

<!-- I SEE cat: 203 || vs cpath: 199_201_203 || page: product_info || template: || main = NO -->
<body id="productinfoBody" class="smartBG">

and msu disabled

<!-- I SEE cat: 203 || vs cpath: 199_201_203 || page: product_info || template: || main = NO -->
<body id="productinfoBody" class="smartBG_199_201_203">


so sure its allso simple CSS thing, With MSU enabled im not getting class

inveo
Inveo Support
Posts: 1276
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] MSU after upgrade something broke

Postby inveo » Thu Jun 02, 2011 8:32 am

We checked your site and it works the same way with or without MSU 3.x installed, see and compare:

http://www.prostore.fi/index.php?main_page=product_info&products_id=614&noseo

http://www.prostore.fi/koiratarvikkeet-ezydog-163/koirien-valjaat-175/koiran-valjaat-harness-musta-614.html

adidas
Posts: 3
Joined: Wed Jun 01, 2011 1:01 am

Re: [Zen Cart] MSU after upgrade something broke

Postby adidas » Sun Jun 05, 2011 3:32 am

echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' || GET main_page: ' . $_GET['main_page'] . '|| GET cPath: ' . $_GET['cPath'] . ' -->';

outputs from category
<!-- I SEE cat: 132 || vs cpath: 131_132 || page: index || template: || main = NO || GET main_page: index|| GET cPath: 131_132 -->

outputs from productpage
<!-- I SEE cat: 132 || vs cpath: 131_132 || page: product_info || template: || main = NO || GET main_page: product_info|| GET cPath: -->

Maybe it is just my server config that MSU does not set $_GET['cPath'] for product_info pages. I got workaround from zencart forum so im just fine with it. Thank you so much for speedy support!!