hallo to All
i am using last verion 1.5.5.1
i am ver happy to use this professioal open cart softwar . i need your help please
in my shop i want a customer when press ( Add to cart ) will redirect him to check out .
it is like one click instead two clickes .
thanks alot
i am using last verion 1.5.5.1
i am ver happy to use this professioal open cart softwar . i need your help please
in my shop i want a customer when press ( Add to cart ) will redirect him to check out .
it is like one click instead two clickes .
thanks alot
i hope if i have cleared my request ,
i just want that customer when press add to cart direct comming checkout
thanks
i just want that customer when press add to cart direct comming checkout
thanks
This would only allow customers to shop one product at a time while OC offers multiple products before checkout. It would be bit considered as a lack of service. :|
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hi,
In catalog/view/javascript/jquery/common.js in function addToCart
find:
and after this line add:
same on product.tpl
In catalog/view/javascript/jquery/common.js in function addToCart
find:
Code: Select all
$('html, body').animate({ scrollTop: 0 }, 'slow');
Code: Select all
location = 'index.php?route=checkout/checkout';
Last edited by pedro1993 on Mon Jul 15, 2013 11:56 pm, edited 1 time in total.
Reason: Added code tags
Reason: Added code tags
Thank you for this information! I don't know why this option isn't available as an on/off, as it is great for those businesses that only sell (normally) one item to a customer.
I did make a change, and used this instead, so they go to the shopping cart after adding to cart, and not directly to the checkout information.
location = 'index.php?route=checkout/cart;
rather than
location = 'index.php?route=checkout/checkout';
Oh, and I changed it in my theme .tpl file not the core one.. I hope that's right.
Thanks again!
I did make a change, and used this instead, so they go to the shopping cart after adding to cart, and not directly to the checkout information.
location = 'index.php?route=checkout/cart;
rather than
location = 'index.php?route=checkout/checkout';
Oh, and I changed it in my theme .tpl file not the core one.. I hope that's right.
Thanks again!
Who is online
Users browsing this forum: No registered users and 2 guests