Redirect to cart after adding product

Permalink
By default, c5 commerce shows the cart popup whenever you add a product to a cart. How can I just redirect to the actual shoppping cart page instead of showing that popup? I am unable to find any sort of setting for this.

jgarcia
 
ScottC replied on at Permalink Reply
ScottC
usually in concrete5 when i need to redirect i will basically do:

$this->redirect('/jgarcia_is_awesome/thanks/?message=thanks&productID=1&message=thanks');


you can use on_start from controller for $this->get and then do this->set('message',$this->get('message'));

basically instead of displaying the post method which is the url plus a /-/ then the post method you can redirect to something more meaningful if that is what you are interested in doing.

Make sense? Not sure how pertinent that is to the core commerce app but the general idea is exactly that.

-Scott
jgarcia replied on at Permalink Reply
jgarcia
Yeah, that makes sense and I'll go that direction if I can't find another more "built-in" way. I just thought there may be a way to not show the shopping cart popup and just redirect to the shopping cart that was built in to C5. Surely not every ecommerce store is just going to want to show that default popup?