I tried to test the gift voucher and it went as far as the shopping cart, but when checkout is selected the page just refreshes and goes no where.
What's up?
What's up?
Last edited by creativec on Fri Oct 07, 2011 4:24 am, edited 1 time in total.
I'm having exactly the same issue, here is what i'm doing (this is a new install totally unmodded BTW)
From the front end - Basically if i click "gift vouchers" under EXTRA in the footer it takes me to purchase a gift voucher where i can fill in the fields, click to agree T&C's and it adds it to the cart. (Top of cart shows 0.00kg). If i click chcekout nothing happens it just remains in the cart.
Now if i add another product, say canon eos 5D I can proceed to the checkout fine and it'll let me purchase the canon and the gift vouchers. It will not let me just purchase gift vouchers though.
Now I did buy a voucher by adding another product so I have a voucher code to try. If I add gift vouchers again to the cart I can use the gift voucher code against the purchase but again I can not proceed to checkout.
I have also noticed that coupon codes can not be used against gift vouchers, so the default code (already installed) 2222 for 10% discount won't appear if just gift vouchers are in the cart. If I add another product the coupon code will appear but it will only deduct 10% from the item amount, not including the gift voucher.
From the front end - Basically if i click "gift vouchers" under EXTRA in the footer it takes me to purchase a gift voucher where i can fill in the fields, click to agree T&C's and it adds it to the cart. (Top of cart shows 0.00kg). If i click chcekout nothing happens it just remains in the cart.
Now if i add another product, say canon eos 5D I can proceed to the checkout fine and it'll let me purchase the canon and the gift vouchers. It will not let me just purchase gift vouchers though.
Now I did buy a voucher by adding another product so I have a voucher code to try. If I add gift vouchers again to the cart I can use the gift voucher code against the purchase but again I can not proceed to checkout.
I have also noticed that coupon codes can not be used against gift vouchers, so the default code (already installed) 2222 for 10% discount won't appear if just gift vouchers are in the cart. If I add another product the coupon code will appear but it will only deduct 10% from the item amount, not including the gift voucher.
This is what is happening for me. Would be great to have a fix so people can purchase these for others especially with holidays coming up.pitkin2020 wrote: From the front end - Basically if i click "gift vouchers" under EXTRA in the footer it takes me to purchase a gift voucher where i can fill in the fields, click to agree T&C's and it adds it to the cart. (Top of cart shows 0.00kg). If i click chcekout nothing happens it just remains in the cart.
I'll pop this on the bug list
to fix, try the following:
open: catalog/controller/checkout/checkout.php
find
change to
to fix, try the following:
open: catalog/controller/checkout/checkout.php
find
Code: Select all
if ((!$this->cart->hasProducts() && !empty($this->session->data['vouchers'])) || (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout'))) {
Code: Select all
if ((!$this->cart->hasProducts() && empty($this->session->data['vouchers'])) || (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout'))) {
This is proper operation. It is natural not to discount the purchase of a gift voucher, as this would allow a customer to come back and use that voucher to purchase his next voucher. If you were to allow that you could end up selling your merchandise for well under your cost. For example:pitkin2020 wrote:I have also noticed that coupon codes can not be used against gift vouchers, so the default code (already installed) 2222 for 10% discount won't appear if just gift vouchers are in the cart. If I add another product the coupon code will appear but it will only deduct 10% from the item amount, not including the gift voucher.
Purchase the first $100 voucher for $90 (using a 10% coupon). You've paid $90 and have $100.
Use that voucher to purchase a $111.11 voucher for $100 (using the same 10% coupon from a different customer account). You've still paid only $90, but now have $111.11.
Use that voucher to purchase a $123.46 voucher for $111.11.
Use that voucher to purchase a $137.17 voucher for $123.46.
Use that voucher to purchase a $152.42 voucher for $137.17.
Use that voucher to purchase a $169.35 voucher for $152.42.
Use that voucher to purchase a $188.17 voucher for $169.35.
Use that voucher to purchase a $209.08 voucher for $188.17.
Use that voucher to purchase a $232.31 voucher for $209.08.
Use that voucher to purchase a $258.12 voucher for $232.31.
Use that voucher to purchase a $286.80 voucher for $258.12.
Use that voucher to purchase a $318.66 voucher for $286.80.
Use that voucher to purchase a $354.07 voucher for $318.66.
Use that voucher to purchase a $393.41 voucher for $354.07.
Use that voucher to purchase a $437.12 voucher for $393.41.
Use that voucher to purchase a $485.69 voucher for $437.12.
Use that voucher to purchase a $539.66 voucher for $485.69.
Use that voucher to purchase a $599.62 voucher for $539.66.
Use that voucher to purchase a $666.25 voucher for $599.62.
Use that voucher to purchase a $740.27 voucher for $666.25.
Use that voucher to purchase a $822.53 voucher for $740.27.
Use that voucher to purchase a $913.92 voucher for $822.53.
Use that voucher to purchase a $1,015.46 voucher for $913.92.
Give your family a thousand dollars worth of gifts for only $90.
How many times can your store afford to accommodate that?
Please use proper English at all times, so that all members may understand you.
ok finally got around to redoing this, I have made the change with the ! and I can now succesfully add and pay for just gift vouchers, but I now have another slight problem with this lol.
Ok so i ordered a £25 gift voucher, received this email for the order,
I still haven't received the email for the gift voucher either?? I have set the order to complete aswell from the dashboard end.
EDIT, I did a second order for a gift voucher, i still got the same error in the email but i did receive the voucher code for the 2nd order but not the 1st?
Ok so i ordered a £25 gift voucher, received this email for the order,
Code: Select all
Notice: Undefined variable: invoice_no in /home/content/26/7445626/html/savvysigns/catalog/view/theme/default-black/template/mail/order.tpl on line 96 Order ID: 1
Date Added: 30/10/2011
Payment Method: Cash On Delivery
EDIT, I did a second order for a gift voucher, i still got the same error in the email but i did receive the voucher code for the 2nd order but not the 1st?
Im having the same problem, after updating from 1.5.1 to 1.5.1.3 this problem has cropped up. I can not purchase a gift voucher on its own. Is there a fix for this?
When I generated an invoice # and set order to complete I received the coupon. (not sure which generated it)
https://www.lotnllc.com is your one stop shop for all your computer needs!
now works, but the voucher code provided once inout into the cart is null:Demon5 wrote:When I generated an invoice # and set order to complete I received the coupon. (not sure which generated it)
Warning: Gift Voucher is either invalid or the balance has been used up!
any fixes at all??
I'm totally new to Open Cart (version 1.5.1.3) as of a couple of days ago and I was very happy to find this thread (my OC version is 1.5.1.3) and uksitebuilder's solution of
Any ideas?
That got me to the checkout/checkout page OK. Unfortunately, that page is caught in an endless loop of redirecting to itself once it loads. When I load a product (non-voucher) into the cart, this doesn't happen and I can go on to the next page.uksitebuilder wrote: change toCode: Select all
if ((!$this->cart->hasProducts() && empty($this->session->data['vouchers'])) || (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout'))) {
Any ideas?
I am now having this same problem i can add the voucher and pay for it, however when the customer tries and uses the voucher i get the same error: Warning: Gift Voucher is either invalid or the balance has been used up!
i am using the latest version upgrade from 1.4.8b and upgraded by Q.
Any ideas as to how to fix this??
PLEASE HELP!! lol
i am using the latest version upgrade from 1.4.8b and upgraded by Q.
Any ideas as to how to fix this??
PLEASE HELP!! lol
To those of you having the following error:
Warning: Gift Voucher is either invalid or the balance has been used up!
The problem is likely because the status of the order that purchased the voucher has not been set to Complete. The system checks to make sure that the order that bought the voucher has been completed before allowing the voucher to be redeemed. Setting my order status to "Complete" solved this for me. Of course, if you have modified what your default complete status is, you must set the status to the modified one you selected instead.
Warning: Gift Voucher is either invalid or the balance has been used up!
The problem is likely because the status of the order that purchased the voucher has not been set to Complete. The system checks to make sure that the order that bought the voucher has been completed before allowing the voucher to be redeemed. Setting my order status to "Complete" solved this for me. Of course, if you have modified what your default complete status is, you must set the status to the modified one you selected instead.
OpenCart Extensions, Technical Support & Custom Development | Have I helped you?
Who is online
Users browsing this forum: No registered users and 125 guests