Hi looked at all the different answers on this but can’t get anything to work . I have a 1 product store and would like to send the customer direct to the cart page when he clicks on add to cart in product page . I have searched in my theme.js and can’t find any ‘Cart’ related script like this solution in an older post i guess my theme is updated and different
Thank you very much
Find this code In asset->theme.js->find “$.post(params)”.
If your theme contain this then follow this:
add location.href=“/cart”;
So it look like:
$.post(params)
.done(
function(item) {
this._hideErrorMessage();
this._setupCartPopup(item);
**location.href="/cart";**
}.bind(this)
)