You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
Is there a way to check for a discount code in a shipping script?
Basically I've got a custom shipping script setup with 3 shipping methods free, regular, expedited. In order to qualify for free, you need to spend at least x amount of dollars. I want to set it up so that if someone uses for a discount code for x% off the subtotal, it'll disable that shipping option and force a flat fee.
Offline
I've asked a similar question before, and the answer was basically no.
The shipping script is run before you get to checkout and therefore the discounts are not known at that point.
You can run through the shopping cart contents in the shipping script to work out if any discounts are applicable, and if so do what ever you need to do. The problem then is you are assuming the customer will actually enter the discount code in the box.
Offline
Pages: 1