taoufiqaitali Posted July 1, 2013 Share Posted July 1, 2013 Hi i have a webshop that i want redirect client after adding product to cart to another custom page that contain some specific product that i want client to order in resume: redirect to custem page instead of redirecting cart to previous page Regards, Taoufq Link to comment Share on other sites More sharing options...
taoufiqaitali Posted July 13, 2013 Author Share Posted July 13, 2013 since nobody's reply i find solution for that -in cartcontroller.php change Tools::redirect('index.php?controller=order&'.(isset($this->id_product) ? 'ipa='.$this->id_product : '')); with if(Tools::getIsset('add')){ Tools::redirect('index.php?controller=verres&'.(isset($this->id_product) ? 'ipa='.$this->id_product : '')); }else{ Tools::redirect('index.php?controller=order&'.(isset($this->id_product) ? 'ipa='.$this->id_product : '')); } 2 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