ok, I tired this change to the code to effect how xcart redirects after a gift certificate has been made and found I was still only redirected to the recomends page and not where I was supposed to go and see the message (applied or applied and choose payment for additional funds)
Code:
Open /payment/payment_giftcert.php
Find:
Code:
func_header_location($current_location.DIR_CUSTOMER."/cart.php?mode=checkout&paymentid=".@$paymentid);
Replace with:
Code:
func_header_location($current_location.DIR_CUSTOMER."/cart.php?mode=checkout&giftcertapplied=Y");
Open cart.php
After
Code:
require "./auth.php";
Add:
Code:
if ($giftcertapplied) { $smarty->assign("giftcertapplied", "Y"); }
Open skin1/customer/main/checkout.tpl
Find:
Code:
{elseif $payment_methods ne ""}
After put:
{if $giftcertapplied ne ""}
{$lng.lbl_gift_cert_applied}</p>{/if}
Then add the language variable through your admin
lbl_gift_cert_applied - Your gift certificate has been applied. Please select a secondary payment method to complete your order.
So, my question is, how is this different for version 4.0.11 than it was for the earlier 4.0.x branch.
also noticed that the points payment methid needs the same style of redirect as the gift certificate due to possibly only having partial payment with points and partial with what ever, cc, money order, check etc.
Anyone have and input on this?
I also still need to know how to change boarder to another color besides white. I changed the background color in the tpl file and it still shows all white. I am guessing it is being overridden in the css, but do not know where. Could use a lil help on that also.
Thanks to those in advance that take the time...