| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Add multiple products to cart | ||||
|
|
Thread Tools | Search this Thread |
#51
|
|||||||||
|
|||||||||
Re: Add multiple products to cart
Quote:
Hi Seth! Was having this same problem - it's related to the submit button fix posted earlier in the thread: http://forum.x-cart.com/showpost.php?p=67357&postcount=34 That fixes it. Internet Explorer seems to be a little touchier about handling javascript than Firefox.
__________________
Version 4.1.8 |
|||||||||
#52
|
|||||||
|
|||||||
Funkydunk's add multiple items to cart redirect
This is for those folks that don't want to redirect to the cart.php page but want to be taken back to the same page they are on.
When it redirected it did not grab the cat id it was setting it to zero since the cat wasn't being posted, this will fix it. Make sure the back office admin redirect to cart is not selected. I am working on a little pop up that will show a minicart window that will allow you to continue shopping, edit cart, or checkout. I will post it when I get it working. add_multiple_to_cart.tpl <form action="add_multiple.php?cat={$cat}&page={$page}" method ="post" name="orderform"> <input type="hidden" name="mode" value="add"> add_multiple.php # # Redirect # if($mode=="add" and $productid) { if($config["General"]["redirect_to_cart"]=="Y") func_header_location("cart.php"); else func_header_location("home.php?cat=$cat&page=$page "); }
__________________
Xcart 4.0.19 |
|||||||
#53
|
|||||||
|
|||||||
Re: Add multiple products to cart
pdheady I'm moving this to the actual thread that deals with the mod.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|