Maryando Posted May 14, 2020 Share Posted May 14, 2020 (edited) Hi Guys I'm trying to add some extra products after the carriers during the 3rd step of the checkout process. I was looking for some module which will handle this but no luck so I decided to edit the steps.tpl file. I have added two products below the carrier, but I'm not able to create the link which will add the product to the cart. I'm using PS_1.7.6.2 so there is not possible to copy the ADD TO CART button link from desired product. I have created the link using mentioned below formulas: https://mysite/cart?add=1&id_product=35&token=TBE4-U6M0Ib3tAjb8Qn4wC7q_Q6YUDg0 https://mysite/index.php?controller=cart&add&id_product=35&qty=1 The links are working both for logged in and not logged in users which is fine. The problem is: After clicking the link the user is redirected back to the cart. Is there any chance to add the product to the cart and stay at the current position of the checkout process? Or maybe there is an module which can handle this? Thanks for your time guys! King Regards Edited May 14, 2020 by Maryando (see edit history) Link to comment Share on other sites More sharing options...
Maryando Posted May 14, 2020 Author Share Posted May 14, 2020 1 minute ago, ndiaga said: Hi, I think you are looking for something similar to this : Thank you message on Order Confirmation page Hi, Thank you for your quick answer but I'm not using order confirmation on this website, so this is unfortunately not what I'm looking for Link to comment Share on other sites More sharing options...
Maryando Posted May 14, 2020 Author Share Posted May 14, 2020 8 minutes ago, ndiaga said: So create a custome hook and call the module where you want. I didn't said that I can't add the content there. I can use the default Presta module called Custom Text Blocks and add whatever I need. I can also add anything by editing .tpl file, but this is not what I need. So I'm able to add the content there this question is not how to add the content after the carriers. I added the images there showing the product and all I need to do it now is to add the link there, which will add this product to the customer cart without redirecting back to the cart. Because at this moment customer is nearly at the end of the 4 step checkout process. This is actually 3rd step. Using the links like above I'm redirected to the cart which is not what i want....I need customer to be able to add this product to the basket and continue the checkout process without going back. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now