![]() |
Need to insert some text over the "submit order" button?
Hi there all...
X-cart tends to run a bit slow for me... my pages all take a while to load and all, and so when you go to process an order on my site (as in, when you click the "submit order" button) and it passes the CC info to the merchant gateway, it takes an extra long time - and I want to put a little line of text either above or below the "submit order" button saying "Please only click the Submit Order button once" - blah blah blah. The submit order button is in the standard place that X-Cart put it, I haven't changed it at all. Anyone able to help me out? Thanks a mil. Brannon |
Re: Need to insert some text over the "submit order" button?
That would be customer/main/checkout.tpl
|
Re: Need to insert some text over the "submit order" button?
Thanks Padraic. I'm in there, but not quite sure where to put it in. I'm figuring at the end, but not quite sure what/where to put it in. Thanks again.
|
Re: Need to insert some text over the "submit order" button?
Just insert your text above this line of code:
{include file="buttons/button.tpl" button_title=$lng.lbl_submit_order style="button" href=$button_href} |
Re: Need to insert some text over the "submit order" button?
I have this, and I saved it - but it's not showing up. Do I need to do something else? Many thanks.
{if $payment_data.processor_file eq 'ps_gcheckout.php'} {include file="buttons/gcheckout.tpl" onclick=$button_href} {else} Payment processing can sometimes take several moments - however, please only press the Submit Order button ONCE. Pressing the button more than once will process your order more than once. {include file="buttons/button.tpl" button_title=$lng.lbl_submit_order style="button" href=$button_href} {/if} |
Re: Need to insert some text over the "submit order" button?
Hmm...are you using fast lane checkout or google checkout?
|
Re: Need to insert some text over the "submit order" button?
Nope, neither.
|
Re: Need to insert some text over the "submit order" button?
Try clearing your template cache, it may not be picking up the change.
|
Re: Need to insert some text over the "submit order" button?
Surely... I know how to empty my browser's cache (which I did) - could you tell me how to empty the template cache?
|
Re: Need to insert some text over the "submit order" button?
Go to your 'Summary' screen in your admin area and click on 'Tools'. It is about halfway down the page.
|
Re: Need to insert some text over the "submit order" button?
Okay, cleared it out, went back, double checked the other template had still been changed (the checkout one), but it's still not showing up. It still just has the "by clicking submit you agree to the terms & conditions" bit...
|
Re: Need to insert some text over the "submit order" button?
Ok, try putting it right after the terms & conditions bit:
<center> {$lng.txt_terms_and_conditions_note} </center> |
Re: Need to insert some text over the "submit order" button?
Nope, just tried that too. :(
|
Re: Need to insert some text over the "submit order" button?
You SURE you aren't using fast lane checkout?
|
Re: Need to insert some text over the "submit order" button?
Positive.
|
Re: Need to insert some text over the "submit order" button?
Just for the heck of it, tell me every place I would have to check to ensure I'm not in Fast Lane enabled checkout to be sure I'm not overlooking anything.
|
Re: Need to insert some text over the "submit order" button?
Don't know what to tell you, that is the correct template, it just isn't picking up your changes for some reason. Try commenting out the 'terms' text...if it still shows you have a caching issue.
|
Re: Need to insert some text over the "submit order" button?
could you just remind me where to check for fast lane again even though I'm fairly certain I'm not in fast lane mode?
|
Re: Need to insert some text over the "submit order" button?
modules/Fast_Lane_Checkout
|
Re: Need to insert some text over the "submit order" button?
Well, son of a gun - I was in Fast Lane mode. My apologies. Of course, now I hate the way that checkout looks. It's really ugly. There's no way to insert my text and still keep the way it used to look?
|
Re: Need to insert some text over the "submit order" button?
I suspected as much :) Sure, insert it in the fast lane templates. Unfortunately I can't help you there, as I don't use that module.
|
Re: Need to insert some text over the "submit order" button?
Ugh, I feel like a dodo! Thanks for your patience. I'll take my question to the fast lane template forum, if such a thing exists. Thanks again for your help - neighbor! ;)
|
Re: Need to insert some text over the "submit order" button?
Na, this is the right forum as it is part of X-Cart. No need to double post it. Try this template:
checkout_3_place.tpl |
Re: Need to insert some text over the "submit order" button?
Padraic - you da man! Perfecto my good buddy. Thank you, and not a moment too soon, my launch is on Friday. Many many thanks. :)
|
Re: Need to insert some text over the "submit order" button?
Whew, glad we got that sorted! Good luck with your launch!
|
All times are GMT -8. The time now is 06:35 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.