Re: [Zen Cart] redirects to home after buy-now from listing
Setup two fresh default zen cart installs.
http://test.experimedia.net = without MSU
http://test2.experimedia.net = with MSU
These 3 basic function settings in ZC have been changed to following in order to illustrate the issue...
My Store > Display Cart After Adding Product = false
Product Listing > Display Multiple Products Qty Box Status and Set Button Location = 0
New Listing > Display Multiple Products Qty Box Status and Set Button Location = 0
First...
goto // http://test.experimedia.net/index.php?m ... oducts_new
Click any product's buy now button.
You will see that when you will stay on that page with the "Successfully added Product to the cart ..."
Second...
goto // http://test2.experimedia.net/new-products/
Click any product's buy now button.
You will see that you instead of staying on the page with the added to cart notification you are instead redirected to the index page.
Now also try the same thing with category product listings...
http://test.experimedia.net/index.php?m ... cPath=3_10
vs
http://test2.experimedia.net/dvd-movies-3/action-10/
This issue only occurs when you are adding to cart via product listings... featured, new, specials, or categories. When adding to cart from the product info pages everything works as it should.
From what I understand the file /includes/init_includes/init_cart_handler.php is what controls all these 'buy now' redirect functions. So perhaps there is something clashing between the MSU htaccess rewrites and the functions in that file.
Here is another potential clue which I find odd...
Lets jump over to featured product listing which I have set to...
Display Multiple Products Qty Box Status and Set Button Location = 3
Which gives the other approach to shopping via listings with the quantity boxes and "add selected products" buttons at the top and bottom.
In this scenario everything works correctly and the same....
http://test.experimedia.net/index.php?m ... sp_order=1
vs
http://test2.experimedia.net/featured-products/
So the issue only occurs when a listing section is set to...
Display Multiple Products Qty Box Status and Set Button Location = 0
Let me know if this gives you any clues as to what might be going on.