Thank-you.Qphoria wrote: Its probably pretty simple.. ill look into what causes it after 0.7.9 final is out.

Then I can get rid of the continue button and use the Add button instead of tick
Code: Select all
if ($min_qty_error == '1' || $session->get('min_qty_error['.$result['key'].']')) {
$view->set('error', $language->get('error_min_qty'));
$session->set('min_qty_error['.$result['key'].']', '0');
$session->set('line_min_error['.$result['key'].']', '0');
}
Code: Select all
// inserted by Fido-X
$parent_category = $database->getRow("select distinct p2c.category_id, c.path from product_to_category p2c left join category c on (p2c.category_id = c.category_id) where product_id = '" . (int)$result['product_id'] . "'");
Code: Select all
$view->set('continue', $url->href('home'));
Code: Select all
$view->set('continue', $url->href('category', FALSE, array('path' => $parent_category['path'])));
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
You're welcome.jty wrote: Excellent Fido. That works great. Thanks
If you only make the change at line 143 leave line 161 asBut there is still one problem
If the buyer adds an item to cart and removes that item, leaving the cart "empty", the continue button doesn't know to go back to the category page.
Code: Select all
$view->set('continue', $url->href('home'));
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Users browsing this forum: No registered users and 5 guests