this should work for OC 2.0.1.1 and OC 2.2
Attachments
this should work for OC 2.0.1.1
this should work for OC 2.2
Last edited by daniGo on Thu Apr 07, 2016 3:39 am, edited 2 times in total.
The cart use special price only if is lower than quantity discount price.
Default:
Changed:
Always took the lower price, at least for me it works.
Default:
Code: Select all
$price = $product_query->row['price'];
if ($product_discount_query->num_rows) {
$price = $product_discount_query->row['price'];
}
if ($product_special_query->num_rows) {
$price = $product_special_query->row['price'];
}
Code: Select all
$price = $product_query->row['price'];
if ($product_discount_query->num_rows && ($product_discount_query->row['price'] < $price)) {
$price = $product_discount_query->row['price'];
}
if ($product_special_query->num_rows && ($product_special_query->row['price'] < $price)) {
$price = $product_special_query->row['price'];
}
YEEEESS! I figure it out, thanks for the OCMOD, this has been driving me nuts for over a year.
You just make a tiny simple mistake. OC 2.0.1.1 atleast doesn't have:
<file path="system/library/cart/cart.php"> change to <file path="system/library/cart.php">
.
.
.
You just make a tiny simple mistake. OC 2.0.1.1 atleast doesn't have:
<file path="system/library/cart/cart.php"> change to <file path="system/library/cart.php">
.
.
.
Did you try the solution of daniGo..it worked for meVilda wrote:Hello, I have the same problem. Please do you have it for opencart 1.5.6.4? I am able to pay for it.
Noeud papillon en bois - Lunette de soleil en bois - Montre en bois
Last edited by kelklope on Wed Apr 18, 2018 7:46 am, edited 1 time in total.
Cigarette electronique prix - E liquide - Joyetech - Kangertech
- E cigarette - Alfaliquid - Liquideo
Hello, Mazzlie,
I installed version 2.2 and it works very well !
I installed version 2.2 and it works very well !

https://cotonflanelle.com in OC2.3.0.2
Kingstorepro - ThemeGlobal
Advanced SEO - Webkul
Product Preorder Pro - Webkul
Webkul Quickbook Connector - Webkul
Customers Also Viewed / Purchased
opencart-2-x-export-import-multilingual-3-12 - J. Neuhoff
3.0.2.0 version
Last edited by xxvirusxx on Mon Jul 02, 2018 3:16 pm, edited 2 times in total.
Who is online
Users browsing this forum: No registered users and 6 guests