Page 1 of 2
Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Tue Jun 21, 2011 3:50 pm
by ronnieb
Please Please can some one give us the coding to make the gift / discount vouchers part of the checkout process instead of leaving it in the cart.
My customers just aren't seeing it, even redirecting them isn't working.
Thanks
Ron
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Thu Jun 23, 2011 8:30 pm
by daniel2008
Hi,
I'm also looking for this solution.
I've found that a gift voucher or a coupon can ONLY be added
after you've bought successfully a gift voucher and continue the
check out process.
Otherwise there is no place for a gift voucher or coupon adding
in the normal check out process of v1.5x, at least I couldn't find
from the demo v1.5.
Why? It's funny.
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Tue Jun 28, 2011 5:02 am
by dbhawkins
ronnieb wrote:Please Please can some one give us the coding to make the gift / discount vouchers part of the checkout process instead of leaving it in the cart.
My customers just aren't seeing it, even redirecting them isn't working.
Thanks
Ron
I placed it in the welcome message and the description. I think it should probaly be in the checkout as well. Maybe the checkout process should start with view cart so they can apply the coupons. It is confusing a lot of people.
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Tue Jun 28, 2011 5:21 am
by Xsecrets
daniel2008 wrote:Hi,
I'm also looking for this solution.
I've found that a gift voucher or a coupon can ONLY be added
after you've bought successfully a gift voucher and continue the
check out process.
Otherwise there is no place for a gift voucher or coupon adding
in the normal check out process of v1.5x, at least I couldn't find
from the demo v1.5.
Why? It's funny.
well the problem is that the checkout button from the top shopping cart goes to the checkout instead of the shopping cart page and the coupon is on the shopping cart page. But it's there weather or not you've purchased a voucher.
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Thu Jun 30, 2011 6:53 pm
by pierrelejohn
I can't understand the reasoning from admin "that there isn't room for it in the checkout page"
its in the checkout page of 1.4 so whats the difference.
This is the reason Im not using 1.5 and sticking with 1.4, I rely heavily on discount coupons
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Thu Jun 30, 2011 9:09 pm
by Xsecrets
pierrelejohn wrote:I can't understand the reasoning from admin "that there isn't room for it in the checkout page"
its in the checkout page of 1.4 so whats the difference.
This is the reason Im not using 1.5 and sticking with 1.4, I rely heavily on discount coupons
well that's not the only reason. payment methods like paypal express and google checkout go from the shopping cart page and skip the checkout procedure all together how would you allow those people to use a discount code? No matter where you put it someone is not going to like it. We know it's been in pretty much every position possible. The biggest problem is that in 1.5 Daniel made the checkout button skip the cart.
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Thu Jun 30, 2011 10:04 pm
by pierrelejohn
I use neither of those payment providors, it a shame that its not an option to either have it on the cart or the checkout, or even simpler - add it to both, then if customers use one or the other - EVERYONE can find it !!
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Fri Jul 08, 2011 5:39 am
by sofaking
For the coupon fix:-
Could you not just change the Checkout link to actually just take people to the Cart page?
It involves changing on line of code in the header file
catalog/view/theme/default/template/common/header.tpl around line 107
Code: Select all
<div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist_total"><?php echo $text_wishlist; ?></a><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
to
Code: Select all
<div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist_total"><?php echo $text_wishlist; ?></a><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a><a href="<?php echo $cart; ?>"><?php echo $text_checkout; ?></a></div>
Basically the second last
checkout changed to
cart
Just a though....
Cheers,
Michael
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Wed Aug 03, 2011 5:01 am
by mattQuest
I agree. The gift cert/voucher should actually be a form of payment. This is the only really out of place component on opencart. If it is not in the next update I will be attempting to modify this myself.
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Sun Aug 07, 2011 5:06 am
by jprknight
Hi all,
I have made the change to my header.tpl as described. My only thought now is the Checkout button on what I can only describe as the mini cart still points directly to checkout instead of the shopping cart. Does anyone know how to change this? I am not sure.
Thank you,
Jeremy.
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Wed Aug 10, 2011 4:04 pm
by uksitebuilder
There is a free vQmod in the vQmods section of the Free Contributions that warns users if they click the Header checkout link.
Just going to update it so it applies to the MiniCart Drop down as well.
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Sat Aug 13, 2011 11:03 pm
by jprknight
Hi,
I'm not using vQmod right now. Does anyone know how this can be changed without?
Thanks,
Jeremy
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Sat Aug 13, 2011 11:16 pm
by uksitebuilder
download the vqmod files anyway and look at their contents
search = code to find and replace
if offset exists as part of the search tag = also replace this number of lines after the search tag
BACKUP BACKUP BACKUP
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Sun Aug 14, 2011 1:55 am
by jprknight
Thanks I have now installed vqmod and added the mods you mention. These work great. Thank you!

Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Sun Sep 11, 2011 11:20 pm
by Rabbitdigital
I added a message on the Checkout page with a link to the Shopping Cart page :
http://www.flowershopputney.co.uk/index ... t/checkout
Its a bit crude but at least it gives people who have a coupon or voucher code a chance to redeem it and if not they can just continue with the checkout process!
Let me know if you have a better way of doing this please, I'd be quite happy to pay for an extension etc as usual.
Cheers
Warren
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Mon Sep 12, 2011 3:00 am
by amcitsolutons
Rabbitdigital wrote:I added a message on the Checkout page with a link to the Shopping Cart page :
http://www.flowershopputney.co.uk/index ... t/checkout
Its a bit crude but at least it gives people who have a coupon or voucher code a chance to redeem it and if not they can just continue with the checkout process!
Let me know if you have a better way of doing this please, I'd be quite happy to pay for an extension etc as usual.
Cheers
Warren
Hi Warren, I would like to do the same as you, very new to all this, which file did you edit and what code did you add in.
Many Thanks,
Lee
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Thu Jan 19, 2012 10:17 pm
by emilygraham
Does anyone know what this vqmod is called - can't find it :-)
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Mon Jan 30, 2012 6:34 pm
by cocoamedia
I have added a message and link at the top of the checkout page prompting anyone with a voucher on a clients site:
If you have a discount or gift voucher please redeem it by going to the Shopping Cart and entering your code - click here
You can see it here:
http://www.dorchestersaddlery.co.uk/ind ... t/checkout
FYI - I did this by going to modules --> welcome
Then I added new module (module2) and positioned it [Content Top] on the [Checkout] page using the drop downs.
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Mon Feb 20, 2012 11:19 pm
by sunriser
cocoamedia wrote:I have added a message and link at the top of the checkout page prompting anyone with a voucher on a clients site:
If you have a discount or gift voucher please redeem it by going to the Shopping Cart and entering your code - click here
You can see it here:
http://www.dorchestersaddlery.co.uk/ind ... t/checkout
FYI - I did this by going to modules --> welcome
Then I added new module (module2) and positioned it [Content Top] on the [Checkout] page using the drop downs.
When I try to buy a voucher on your site I get:
Fatal error: Call to undefined function filter_var() in /home/.sites/137/site24/web/catalog/controller/checkout/voucher.php on line 228
Rgds,
Re: Gift / Discount Vouchers - checkout NOT cart 1.5
Posted: Fri Mar 30, 2012 10:46 pm
by NotionJohn
Just wanted to add my voice to the need for coupon codes at checkout. It's standard on most every site that supports coupons. This being the case, people are going to be confused until it's there in OC.
Thanks to everyone who's supplying patches in the mean time.