[Zen Cart] redirects to home after buy-now from listing
[Zen Cart] redirects to home after buy-now from listing
When viewing products listing (category,new, featured,all), after clicking buy-now(add to cart) button one is redrirected to home page.
Normally one should stay at listing page after performing such action.
Switching off MSU eliminate this problem.
I tried fix from there but this only restores message stack and there is still redirection to home page after add to cart.
How to resolve this?
As I remember there was no such behaviour with MSU v.1
I mean shop from my signature.
Thanks in advance.
Re: [Zen Cart] redirects to home after buy-now from listing
Re: [Zen Cart] redirects to home after buy-now from listing
Code: Select all
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
Options -Indexes
<Limit GET POST>
#The next line modified by DenyIP
order allow,deny
#The next line modified by DenyIP
#deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
deny from ...
deny from ...
deny from ...
AuthName ...
AuthUserFile /home/...
AuthGroupFile /home/...
Also tried with and without readonly-htaccess file - still no success
Re: [Zen Cart] redirects to home after buy-now from listing
Re: [Zen Cart] redirects to home after buy-now from listing
This is unacceptable state as this impede using of webshop.
Did anybody else observe such behaviour or this only happens in my Zen Cart?
Re: [Zen Cart] redirects to home after buy-now from listing
Re: [Zen Cart] redirects to home after buy-now from listing
-
- Posts: 10
- Joined: Sun Jan 13, 2013 9:31 pm
Re: [Zen Cart] redirects to home after buy-now from listing
I tested and 100% confirmed that MSU is causing this issue and was able to recreate the problem several times with both my custom template and a fresh install with the default template.
If zencart is set to not show the cart when the buy button is clicked on any product listing page while MSU is installed and active you will be redirected to the home page.
The product info buy now buttons do however still work correctly.
Would very much appreciate some news on this because I really need this functionality and MSU.
Thank you.
Re: [Zen Cart] redirects to home after buy-now from listing
Please post us your site URL and step-by-step instructions how to reproduce the problem there.
-
- Posts: 10
- Joined: Sun Jan 13, 2013 9:31 pm
Re: [Zen Cart] redirects to home after buy-now from listing
Something to do perhaps with the rewrites in the htaccess and how the cart functions are setup in the default ZC file /includes/init_includes/init_cart_handler.php
Could perhaps be as easy as a tweek to the htaccess file. But that's just a hopeful guess at this point.