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">
.
.
.
~ OC 3.0.3.2 and OCmods only ~
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 - Innokin - Clearomiseur zenith - Geekvape
- Savourea - E liquide Halo - Liquideo - T juice
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
OC2.3.0.2
LsCache de LiteSpeed
VQMOD V2.6.4
Kingstorepro - ThemeGlobal
Complete SEO
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.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Download again. I have reuploaded.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 66 guests