I was wondering if there was a way in OpenCart to give free shipping if the order is $10 or more, and if it's less than $10, have a flat rate for shipping ($2.50). Or, if there is a relatively cheap plugin that does that job.
Thanks.
Thanks.
Edit ../catalog/model/shipping/flat.php
After this:
Add this:
Install the free shipping extension and set to $10.
After this:
Code: Select all
if (!$this->config->get('flat_geo_zone_id')) {
$status = true;
} elseif ($query->num_rows) {
$status = true;
} else {
$status = false;
}
Code: Select all
if ($this->cart->getsubtotal() > 9.99) {
$status = FALSE;
}
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
grgr wrote:Edit ../catalog/model/shipping/flat.php
After this:
Add this:Code: Select all
if (!$this->config->get('flat_geo_zone_id')) { $status = true; } elseif ($query->num_rows) { $status = true; } else { $status = false; }
Install the free shipping extension and set to $10.Code: Select all
if ($this->cart->getsubtotal() > 9.99) { $status = FALSE; }
Thanks grgr! Worked beautiful.. just what I was looking for

Who is online
Users browsing this forum: No registered users and 9 guests