Discount Codes

How to Prevent Free Shipping if coupon is used? - Discount Codes

How to Prevent Free Shipping if coupon is used?

by lecarlb » Fri Dec 01, 2023 5:34 am

I'm hoping to stop free shipping if the customer uses a percent off coupon. I have free shipping set in the Order Total module.

I don't want to allow free shipping if a discount code is applied.

I'm using Discount Code version 5.6.1 on a Phoenix version 1.0.8.4 website.

Thank you.
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Contact:

Re: How to Prevent Free Shipping if coupon is used?

by raiwa » Fri Dec 01, 2023 6:32 am

You would need to add a check for discount code to the free shipping code in the order total module. Use a overridden copy to modify the module.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: How to Prevent Free Shipping if coupon is used?

by lecarlb » Fri Dec 01, 2023 7:22 am

raiwa wrote:You would need to add a check for discount code to the free shipping code in the order total module. Use a overridden copy to modify the module.
Ok where do I get the overridden copy?
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Contact:

Re: How to Prevent Free Shipping if coupon is used?

by raiwa » Fri Dec 01, 2023 7:28 am

Please see the User Guide or post in the public forum to get help how to override or make a copy of a module. I'm sorry, but support how to do this is not within the scope of the addons support.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: How to Prevent Free Shipping if coupon is used?

by lecarlb » Fri Dec 01, 2023 9:06 am

Ecartz helped me see where I messed up in what I was requesting. I have one more question.

In the Discount Codes add-on, can 2 discounts be used simultaneously?
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Contact:

Re: How to Prevent Free Shipping if coupon is used?

by raiwa » Fri Dec 01, 2023 9:11 am

lecarlb wrote: In the Discount Codes add-on, can 2 discounts be used simultaneously?
No, it is not possible to use 2 discount codes.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: How to Prevent Free Shipping if coupon is used?

by lecarlb » Fri Dec 01, 2023 9:21 am

raiwa wrote:
lecarlb wrote: In the Discount Codes add-on, can 2 discounts be used simultaneously?
No, it is not possible to use 2 discount codes.
Ok, thanks.
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Contact: