You should always take the opportunity to make the checkout process smoother for your customers. The smoother the process, the more sales you make! This modification does that by automatically adding a coupon code to an order using a specific URL. This makes it easier to run promotions since your customers only have to click on a link to receive their discount as opposed to filling out a form and entering the coupon code manually.
Follow the instructions below to install the modification.
Login to your control panel and navigate to Design -> Theme Files/Edit HTML & CSS and open the Panels/SideCouponCodeBox.html file.
Add the following code to the bottom of the file after the last </div> tag:
Save the changes to the file.
How It Works
To automatically apply the coupon code to the order you will need to pass a parameter called coupon to the cart.php file. The URL should look like this: http://www.your-store.com/cart.php?coupon=COUPON-CODE-HERE
You have to replace COUPON-CODE-HERE with your own coupon code. The script will take the coupon code from the URL parameter, fill in the coupon field and then automatically submit the form to the cart.
If you need help installing the modification or need to make some changes to it then contact us. We'll be happy to help.