redirection to cart and not home, after click on order history link of my order (prestashop 1.7 - redirect

I work on prestashop 1.7.2.5.
In the order history, two links (detail & reorder) are available.
When I click on reorder, the items are added directly to the cart, but I am redirected to the homepage of the site ! I would like to be redirected to the cart directly. How can I change that? an override ?
Thanks for helping me !
Sofiane
screenshots

This issue is on TODO.
You can follow this ticket: http://forge.prestashop.com/browse/BOOM-5385.
Best regards, Khouloud

Issue still on TODO but now on GitHub : https://github.com/PrestaShop/PrestaShop/issues/9660

Related

WooCommerce Redirect Link Adding Two Items To Cart At One Time Not One Item At One Time

I came from a post about the topic I am inquiring about.
Summary of problem:
The post states that in WooCommerce to add items to cart and then redirect your URL use this link and add in your own personal links.
http://yourdomain.com/your_custom_page/?add-to-cart=25
The link works on my site but it adds two items to the cart at once not one.
That is my problem any help would be much appreciated.
I am new to this community and want to respect it.
Thank you for taking the time to read this post.

Paypal Express review page buttons not working

I have a serious issue in Paypal when I done the payment through paypal express chekout it redirect back to Mangeto on paypal/express/review page , it do not allow me to place order, the Place order button is showing disable and no action clicking on "update order data" button .
I followed the below link but I haven't got any result.
Click
Please help me,I tried from the last two days.I am ready to share admin detail if required.
Please don't suggest clear cache or enable from admin section I have done all this suggestion.
My solution was to download a fresh copy of magento and copy the files Review.php, review.phmtl and review.js to my site and it worked. I never edited those files maybe the extensions I installed changed those. Hope it helps!
After spending lots of time I got the solution for this problem.
I compressed js and css file for fast execution of my website thats why its happen after remove compression from js file, Paypal start working.

Woocommerce how to change the URL before proceeding to checkout

I need to capture some information for a particular product category.
I am thinking is there a way I can change the proceed to checkout link to go to a custom URL (which will be a booking form with an action of going to the checkout page on submit) if the product category is in the cart.
I am a developer but in Java so do not know the structure and hooks very well but am sure I can get it together if
a) it is possible.
B) someone can help me which files to modify.
Thanks guys
I have fixed this by adding a filter on checkout:
add_filter('woocommerce_get_checkout_url', 'booking_redirect_checkout');

Manually Inserting Joomla Show Cart NON sef URL

I have been having some SEF URL issues so I updated my Joomla SH404SEF module and I discussed my issues with a support guy from the company that supplies the 404SEF module and he realized that somebody had manually inserted an SEF URL for the Show Cart link, and that was messing up their module's URL conversion. So he asked me to disable the SEF module for now, and to MANUALLY insert the default NON SEF URL for the "Show Cart" link and I have no idea how to do that! He said that this NON SEF URL should be somewhere in my Virtuemart component, but I looked everywhere for it and didn't find it!! Any help would be tremendously appreciated.
Thanks!
Tao B.
you could grap the link from the minicart which displays the products in the cart and has a text link called "show cart" which links to the items in the cart. This is from the minicart module so if you don't have it installed you won't know what I'm talking about. Publish the module, right click on "show cart" grab the code and you'll be able to manually insert it. Review this file: / administrator/components/com_virtuemart/html/shop.basket_short.php

Magento cart redirects to onepage checkout, how do I make it stop?

Hi I'm new to Magento, so we installed the Magento Simple checkout which is working fine but when you add a product it takes you to the cart (checkout/cart) which is fine but then it suddenly jumps to (checkout/onepage).
Both pages look pretty similar except the cart page gives me the option to keep shopping and change cart quantities and update the cart while the checkout page doesn't have this. I can never change the cart options because it always redirects.
Is there anyway to stop it from redirecting? I don't even know where to start to look so I could paste some code.
Thank you in advance.
It sounds like Simple Checkout is designed to do exactly that. If you don't like it, uninstall it. If you think there is a bug, contact the authors of Simple Checkout directly.
This is a javascript problem. If you view the source of checkout/cart/ (difficult, I know, it tries to redirect quite quickly) you might find this in it.
var checkout = new Checkout(accordion,{
progress: 'http://metrotemplate.com/checkout/cart/progress/',
review: 'http://metrotemplate.com/checkout/cart/review/',
saveMethod: 'http://metrotemplate.com/checkout/cart/saveMethod/',
failure: 'http://metrotemplate.com/checkout/'}
);
Basically it tries to POST an update to checkout/cart/saveMethod/ which is equivalent to the first step of onepage checkout. Unfortunately that URL doesn't exist, it should be POSTing to checkout/onepage/saveMethod/ in the background, instead it gets a 404 error which triggers the page to reload as the "failure" URL.
The final step is checkout/ redirects automatically to checkout/onepage/.
I cannot tell why the extension has started outputting URLs that begin with checkout/cart/* rather than checkout/onepage/*. Perhaps there is an admin setting somewhere? Maybe some over-enthusiastic template editing 'corrected' the file "template/checkout/onepage.phtml"? Or maybe Simple Checkout depends on overriding Mage_Checkout_CheckoutController and another, recent extension has it's own override which is conflicting..?