![]() |
Just a thought as well Jon, i know that there is the "store link" back to the main shop but it might be and idea to put a link back from the logo gfx to the main site, just because thats the usual thing, i know it's easy enough to do but you may want to include it in you dox.
|
To change the gift certificate redirect, and to give them a message.
This is 4.0, may be just slightly different for 3.5.x branch. 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.txt_giftcertapplied}</p>{/if} Then add the language variable through your admin txt_giftcertapplied - Your gift certificate has been applied. Please select a secondary payment method to complete your order. |
Ok i'll just go and do that, one question though (and i know i shouldnt ask this before i've tried it out - but what they hey :D ).
How does it affect if the gift certificate covers the full amount owed, will it still redirect back to choose payment method to cover? |
Quote:
Good suggestion. I'd like to try and keep as much of the suggestions on this forum as possible, so that people without x-cart licenses aren't getting assistance, so I'll post this here as well. Find: Code:
Replace with: |
Quote:
No, there's an if/else statement in the code. If it covers the amount it will redirect to the confirmation. If the order is not complete it will redirect them back. I'd suggest putting the message on their too, otherwise it's still confusing. |
Quote:
Thanks for posting up. Site look is very customized, looks good. |
ok made changes and works fine, I cant post my site where it is at the moment as it's only a test site, im having someone do so mods on it as we speak, once finished I will post it.
|
Jon,
It was an easy process to installed the mod. It looks so much simpler to finalize purchases. A side note the one who must be obey (the wife) try to see if she can break the checkout precess and she said this is much better. Jon, I am missing the variable name that goes between the Tabs named Your Cart and Method. I look all over the instructions for that variable name and I can't find it. Question, I just notice the check-out process is not in secure site. How can me move the checkout process to the secure site. Thank you once more for the mod. Kind regards, Ricky |
^ Odd, I thought the variable was built into x-carts. Possible it was deleted?
The missing variable is a label: lbl_login - Login I'm on your site now, and after viewing the cart and clicking checkout I'm being taken to a secure server just fine. |
^ Your also missing the password label:
lbl_password - Password |
All times are GMT -8. The time now is 05:42 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.