Try it again ...
What happens on a new account that does not follow the email link, is that you enter the code on the checkout_payment page ... if a payment module is selected then it will apply the Gift Certificate to the customer's GV account, but it has NOT applied any of that amount to the Order ...
Unless the customer enters an amount in the
Apply Amount:
input box, nothing is applied to the Order itself, it is just added to the Customer's Gift Certificate balance ...
What is happening is, the
Apply Amount:
input box is not showing as there isn't a balance in the Customer's Account when they get to the checkout_payment ...
Unfortunately, they add the GV code and, having selected a Payment choice, go on to the checkout_confirmation ... and do not have the amount applied to the order ...
One method to help the customer out is to ALWAYS show the
Apply Amount:
input box, regardless of whether or not they have a GV balance ...
In the Gift Certificate order total module
/includes/modules/order_total/ot_gv.php
you could customize this by changing the line:
Code:
$this->checkbox = $this->user_prompt . '<input type="text" size="6" onkeyup="submitFunction()" name="cot_gv" value="' . number_format($_SESSION['cot_gv'], 2) . '" onfocus="if (this.value == \'' . number_format($_SESSION['cot_gv'], 2) . '\') this.value = \'\';" />' . ($this->user_has_gv_account($_SESSION['customer_id']) > 0 ? '<br />' . MODULE_ORDER_TOTAL_GV_USER_BALANCE . $currencies->format($this->user_has_gv_account($_SESSION['customer_id'])) : '');
Currently, that tests is there a GV Balance for the customer, and if there is, the input box is shown ... if there is not a GV Balance then the input box is not shown ...
Change that line so that it always shows ...
Now the customer can enter the GV code and amount to apply to the order ...
Bookmarks