Code: Select all
$this->response->redirect($this->url->link('checkout/cart'));
Code: Select all
if ($data['coupon'] == '') {
$this->response->redirect($this->url->link('checkout/cart'));
}
else {
}
Code: Select all
$this->response->redirect($this->url->link('checkout/cart'));
Code: Select all
if ($data['coupon'] == '') {
$this->response->redirect($this->url->link('checkout/cart'));
}
else {
}
Code: Select all
$this->session->data['coupon']
Code: Select all
if (isset($this->session->data['coupon']) == '') {
$this->response->redirect($this->url->link('checkout/cart')); // if no coupon used, redirect back to cart page
}
else {
// your code
}
What a weird coding... Should be:
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Users browsing this forum: No registered users and 28 guests