Post by robbiecs » Sun Feb 14, 2016 5:57 pm

any idea?

User avatar
Active Member

Posts

Joined
Sat Oct 24, 2009 5:29 am


Post by robbiecs » Tue Feb 16, 2016 4:48 pm

Anyone can help me to fix the error? Please

User avatar
Active Member

Posts

Joined
Sat Oct 24, 2009 5:29 am


Post by robbiecs » Wed Feb 17, 2016 7:42 am

I opened the log and the error is:

Could not resolve path for [catalog/model/checkout/coupon.php] (SKIPPED)

User avatar
Active Member

Posts

Joined
Sat Oct 24, 2009 5:29 am


Post by thbr02 » Wed Feb 17, 2016 2:30 pm

Test this instead of the one before. The file catalog/model/checkout/coupon.php is changed to catalog/model/total/coupon.php.

Attachments


Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by robbiecs » Wed Feb 17, 2016 5:03 pm

Now the error is in another lines.

SyntaxError: Unexpected token <

Undefined index: 191 in new-oc/vqmod/vqcache/vq2-catalog_model_total_coupon.php online 197

User avatar
Active Member

Posts

Joined
Sat Oct 24, 2009 5:29 am


Post by robbiecs » Wed Feb 17, 2016 5:12 pm

the extension works, but it generates that error.

User avatar
Active Member

Posts

Joined
Sat Oct 24, 2009 5:29 am


Post by robbiecs » Fri Feb 19, 2016 4:39 am

please help me to resolve it

User avatar
Active Member

Posts

Joined
Sat Oct 24, 2009 5:29 am


Post by imdevlper18 » Mon Aug 01, 2016 10:18 pm

This is modification of this module by qphoria to support opencart 2.x
So coupons are not applied to special products for 2.x version.
Please check attached vqmod file.

Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm

Post by andry9 » Thu Apr 13, 2017 7:00 am

Did you solve the problem?

Newbie

Posts

Joined
Thu Apr 13, 2017 6:54 am

Post by imdevlper18 » Sun Aug 06, 2017 1:16 pm

For opencart version 3.x here is the download file attached.

Attachments

No coupon on special prices Opencart 3.x ocmod version


Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm

Post by joseph213 » Tue Feb 06, 2018 2:24 pm

what we have to do to deduct from actual price if the product having special price?

Newbie

Posts

Joined
Fri Jul 21, 2017 7:29 pm

Post by kg0925 » Thu May 10, 2018 8:29 pm

Qphoria wrote:
Thu Apr 14, 2011 4:27 am
Here's a quick vQmod script for preventing coupons from applying to products that are on special

If you have 2 products:
Hat - 20.00
Shirt - special for 15.00

Coupon for 50% off would normally give a total of:

20.00 * .50 = 10.00
15.00 * .50 = 7.50
Total: 17.50

This mod will ignore the products that are on special from getting the additional discount:
20.00 * .50 = 10.00
15.00 (special ignored) = 15.00
Total: 25.00
nice working great but when we add other non special product along with special price product then coupon is being applied. if in cart there is a special product along with normal products then coupon should not to be apply.

New member

Posts

Joined
Wed Mar 29, 2017 11:09 pm

Post by Mirbrou » Thu Sep 06, 2018 3:20 am

Hi,
I use v2.3.0.2 and "no_coupon_2x.xml", I changed the path and it works well for the percentage, but for the fixed discount if there are products with a discount decreases it . See screenshot
I also tried to install both files: no_coupon_on_special_vqmod_2.1.0.2.xml, and they do not work, despite changing the path. I get a 404 error.
I changed:
<file name = "catalog / model / checkout / coupon.php"> for <file name = "catalog / model / extension / total / coupon.php">
<file name = "catalog / model / total / coupon.php"> for <file name = "catalog / model / total / coupon.php">
<file name = "catalog / controller / total / coupon.php"> for <file name = "catalog / controller/extension / total / coupon.php">
anf this: $this->load->model('total/coupon'); for. $this->load->model('extension/total/coupon');

Should I change other lines?

Thank you for your help!

Attachments

fixed _ just regular price.png

fixed _ just regular price.png (85.72 KiB) Viewed 8899 times

fixed_with_regular_and_special .png

fixed_with_regular_and_special .png (112.7 KiB) Viewed 8899 times


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


Newbie

Posts

Joined
Tue Jun 27, 2017 6:25 am


Post by Mirbrou » Thu Sep 06, 2018 3:22 am

Hi,
I use v2.3.0.2 and "no_coupon_2x.xml", I changed the path and it works well for the percentage, but for the fixed discount if there are products with a discount decreases it . See screenshot
I also tried to install both files: no_coupon_on_special_vqmod_2.1.0.2.xml, and they do not work, despite changing the path. I get a 404 error.
I changed:
<file name = "catalog / model / checkout / coupon.php"> for. <file name = "catalog / model / extension / total / coupon.php">
<file name = "catalog / model / total / coupon.php"> for. <file name = "catalog / model / total / coupon.php">
<file name = "catalog / model / extension / total / coupon.php">
anf this: $this->load->model('total/coupon'); for. $this->load->model('extension/total/coupon');

Should I change other lines?

Thank you for your help!

Attachments

fixed_with_regular_and_special .png

fixed_with_regular_and_special .png (112.7 KiB) Viewed 8896 times

fixed _ just regular price.png

fixed _ just regular price.png (85.72 KiB) Viewed 8896 times


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


Newbie

Posts

Joined
Tue Jun 27, 2017 6:25 am


Post by vaskazz » Wed Jun 12, 2019 5:15 pm

Mirbrou wrote:
Thu Sep 06, 2018 3:22 am
Hi,
I use v2.3.0.2 and "no_coupon_2x.xml", I changed the path and it works well for the percentage, but for the fixed discount if there are products with a discount decreases it . See screenshot
I also tried to install both files: no_coupon_on_special_vqmod_2.1.0.2.xml, and they do not work, despite changing the path. I get a 404 error.
I changed:
<file name = "catalog / model / checkout / coupon.php"> for. <file name = "catalog / model / extension / total / coupon.php">
<file name = "catalog / model / total / coupon.php"> for. <file name = "catalog / model / total / coupon.php">
<file name = "catalog / model / extension / total / coupon.php">
anf this: $this->load->model('total/coupon'); for. $this->load->model('extension/total/coupon');

Should I change other lines?

Thank you for your help!
I found this and it works without errors and works on both percentage and value discounts when having special price products in the cart:
https://www.opencart.com/index.php?rout ... n_id=30764

Newbie

Posts

Joined
Tue Oct 29, 2013 3:11 am


Post by avoid » Thu Apr 09, 2020 4:11 pm

imdevlper18 wrote:
Sun Aug 06, 2017 1:16 pm
For opencart version 3.x here is the download file attached.
Is this for 3.x or 2.x?
I see the comment mentions 3.x whereas the name implies 2.x .

Transport Posta Romana - Automatizare formulare (completare automata buletin de expeditie si mandat postal) & calcul transport


Newbie

Posts

Joined
Sun Oct 23, 2011 1:23 am
Who is online

Users browsing this forum: No registered users and 20 guests