Search found 1 match
Page 1 of 1
Search found 1 match
Re: [Solved]Category with only one product
To anyone looking this answer for Opencart 2.2, just add response before the redirect. foreach ($results as $result) { if($product_total == 1){ $this->response->redirect($this->url->link('product/product', 'path=' . $this->request->get['path'] . '&product_id=' . $result['product_id'])); } if ($r...
Jump to post- Sun Jun 12, 2016 11:38 pm
- Replies 23
- Views 12454
Page 1 of 1
Search found 1 match