Cart customization
I am wanting to skip the cart.php file and go straight to the checkout mode.
How can I add the discount/coupons section from the cart.php to the cart.php?mode=checkout page? When someone adds something to the cart is sends them to the cart.php page, how can I either post a message saying " Thank you. That item has been added to your cart" or send them to the checkout mode. I want to skip the cart.php page all together? Thanks |
To prevent a customer from being directed to the cart after adding a product to the cart, go to General Settings in the administrator area and uncheck "Redirect customer to cart".
PhiLL |
Phill-
Thanks, but I want them to go to the cart, just not the cart.php. I want them to go the "new" cart which is the cart.php?mode=checkout page? Any one have any ideas? To this and my other questions above? |
When you click the "add to cart" button for a product the form submits to cart.php?mode=add. I guess you could either have it redirect to cart.php?mode=checkout at the end of the add portion of the cart.php code or maybe add the mode=add functionality to the mode=checkout portion of the code.
I know this isn't any specific help, but maybe can help a little bit. |
It sound like your own the right track Phill, now if I could just get a X-Guru to help me out with the coding, I would be golden.
Does anyone know where I can change the redirection? |
Checkout Page
Has anyone noticed that on the checkout page you can change the QTY to 0 and it will remove it, but you can't up the QTY. Why is this?
|
I've sent you a PM.
For the redirect, above where the smarty display is: Code:
$smarty->display(.... Put: Code:
if (!$mode && !$paymentid) { I think that will do it. |
All times are GMT -8. The time now is 04:03 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.