Jump to content

Using a Coupon (Voucher?) Code at checkout?


Recommended Posts

Is there a way to provide a coupon for $100 off via a voucher code that is entered right at the first stage of the checkout. Currently I cant see any location for entering a coupon or voucher code on our site at all - and yes, the vouchers and turned 'on'


What am I missing?





John

Link to comment
Share on other sites

The voucher code must be entered on the "Shopping cart summary" page. See the bottom of the screenshot. If you click the "Checkout" button on the cart block, you will miss it completely. You must click the Cart button to see it.

If you are using a third-party theme, try switching to the default PrestaShop theme to check whether it is a theme issue.

29163_kGWA7eV7a2yi4oRG99Cx_t

Link to comment
Share on other sites

Thank You!

I found it exactly where you siad it would be..... What I am trying to accomplish is to have a landing page for special items that helps our conversion rates, and have that landing page contain the Voucher Code. I want to offer a fixed dollar amount off the promotion item and have the landing page pass the user right to the shopping cart summary screen and have a the enter promo code be emphasized. I assume this is possible? Any suggestions on where I can look to find such a solution?


Thanks again,


John

Link to comment
Share on other sites

To add the option to emphasise the voucher box, you could change the voucher code on lines 226-235 of shopping-cart.tpl from:

<form action="{$base_dir_ssl}order.php" method="post" id="voucher">

{l s='Vouchers'}


{l s='Code:'}
           <input type="text" id="discount_name" name="discount_name" value="{if $discount_name}{$discount_name}{/if}" />


<input type="hidden" name="submitDiscount" /><input type="submit" name="submitAddDiscount" value="{l s='Add'}" class="button" />

</form>



to:

<form action="{$base_dir_ssl}order.php" method="post" id="voucher">

{l s='Vouchers'}


{l s='Code:'}
           <input type="text" id="discount_name" name="discount_name" value="{if $discount_name}{$discount_name}{/if}" />


<input type="hidden" name="submitDiscount" /><input type="submit" name="submitAddDiscount" value="{l s='Add'}" class="button" />

</form>



You could then create a link to the shopping cart summary like order.php?special=1 to make the "Vouchers" and "Code" text bold. You could come up with a better idea to emphasise the voucher.

Link to comment
Share on other sites

  • 2 weeks later...

Hi friends,

I have test order using voucher code creation from BO and succes payment accepted but i have problem how to put money back inside my account member area.

Sample:
You Pay for $35
And put the voucher value $40
------------
$ 5

I dont see $5 balance inside member area. Did you have solution for me.. maybe good for other developer presta.
Thank you before.

Link to comment
Share on other sites

  • 2 months later...
Hi friends,

I have test order using voucher code creation from BO and succes payment accepted but i have problem how to put money back inside my account member area.

Sample:
You Pay for $35
And put the voucher value $40
------------
$ 5

I dont see $5 balance inside member area. Did you have solution for me.. maybe good for other developer presta.
Thank you before.

Yeah, I need a solution for this as well! If the voucher used is worth more than the products cost, a new voucher should be created for the customer with the rest of the value to be used at a later time. If I was to implement this myself, should I put the code in the order.php? Any ideas?
Link to comment
Share on other sites

  • 5 months later...

Is there already a solution for the "money back in Members area?

BTW, I have put the code in the order-adress.tpl and now all the customers can see the voucherbox. So, if they checkout, there are 2 ways to add a vouchercode, the normal way, and if they don't see this, of forget, than you have a second one in order-adress.tpl and it works.

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...