DFWcomposites Posted July 31, 2013 Share Posted July 31, 2013 (edited) Hi! Is there anyway to get prestashop to forward the user directly to the checkout/shopping cart view page upon adding an item to a cart? my shop currently only sells 4 items, and each is unique in that if you buy one you're not going to buy another, so having a customer click 'add to cart' and then have to manually scroll to the top and then route themselves to the checkout system is rather cumbersome. Any easy way to do this? thanks! Chetan www.dfwcomposites.com Edited July 31, 2013 by DFWcomposites (see edit history) Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 31, 2013 Share Posted July 31, 2013 From prestashop admin/back office you will got option for ajax enable cart or send user to cart page. Before that you need to disable ajax cart from blockcart module and than have to change this option Redirect after adding product to cart from Preferences Products and then it will send customer to cart summery page. Hope this help you. 1 Link to comment Share on other sites More sharing options...
DFWcomposites Posted July 31, 2013 Author Share Posted July 31, 2013 So currently, on preferences>products I have the radio button for "Redirect after adding product to cart" set to "cart summary" as opposed to "previous page". In a comment the back office says "Only for non-AJAX versions of the cart"; not too sure what that means. I have mostly default settings, however I do have a theme installed ("Dilecta"), does that have a say on whether I'm using AJAX or not? I'm not seeing anything relating verbatim to the options you listed: "ajax enable cart or send user to cart page", but maybe we're talking about the same setting? Am I missing something? Thanks for your input! -Chetan Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 31, 2013 Share Posted July 31, 2013 Yes you need to disable that ajaxcart from blockcart module, try to search from module page and than you will find blockcart and click on configuration. and then change ajax cart. without disable ajax cart that option will not work and after that disable the cache and active cache so that changes work. 1 Link to comment Share on other sites More sharing options...
DFWcomposites Posted July 31, 2013 Author Share Posted July 31, 2013 AWESOME! Thank you so much. Don't know why I had so much trouble searching for a solution to this but I'm glad I asked in the forum. One more quick question for you since I'm sure you know. When I'm manually editing .tpl files in notepad, and I want to 'comment out' a section, what is the exact syntax? Again, thanks Smart Data! I'm adding tags to my first post for future reference Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 31, 2013 Share Posted July 31, 2013 if you are commenting in .tpl file use html comment like <!-- comment section --> start with <!-- and end with --> Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 31, 2013 Share Posted July 31, 2013 Please change the title as [solved] Link to comment Share on other sites More sharing options...
Recommended Posts