Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Need to insert some text over the "submit order" button?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-04-2007, 10:27 AM
 
premierbusiness premierbusiness is offline
 

Advanced Member
  
Join Date: Jun 2006
Location: New York - USA
Posts: 69
 

Default 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
__________________
XCart Gold v 4.1.5
---------------------------
Add-ons:
X-SpecialOffers
X-Magnifier
Reply With Quote
  #2  
Old 04-04-2007, 10:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Need to insert some text over the "submit order" button?

That would be customer/main/checkout.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-04-2007, 10:38 AM
 
premierbusiness premierbusiness is offline
 

Advanced Member
  
Join Date: Jun 2006
Location: New York - USA
Posts: 69
 

Default 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.
__________________
XCart Gold v 4.1.5
---------------------------
Add-ons:
X-SpecialOffers
X-Magnifier
Reply With Quote
  #4  
Old 04-04-2007, 10:41 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 04-04-2007, 11:05 AM
 
premierbusiness premierbusiness is offline
 

Advanced Member
  
Join Date: Jun 2006
Location: New York - USA
Posts: 69
 

Default 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}
__________________
XCart Gold v 4.1.5
---------------------------
Add-ons:
X-SpecialOffers
X-Magnifier
Reply With Quote
  #6  
Old 04-04-2007, 11:08 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Need to insert some text over the "submit order" button?

Hmm...are you using fast lane checkout or google checkout?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 04-04-2007, 11:12 AM
 
premierbusiness premierbusiness is offline
 

Advanced Member
  
Join Date: Jun 2006
Location: New York - USA
Posts: 69
 

Default Re: Need to insert some text over the "submit order" button?

Nope, neither.
__________________
XCart Gold v 4.1.5
---------------------------
Add-ons:
X-SpecialOffers
X-Magnifier
Reply With Quote
  #8  
Old 04-04-2007, 11:15 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Need to insert some text over the "submit order" button?

Try clearing your template cache, it may not be picking up the change.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 04-04-2007, 11:20 AM
 
premierbusiness premierbusiness is offline
 

Advanced Member
  
Join Date: Jun 2006
Location: New York - USA
Posts: 69
 

Default 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?
__________________
XCart Gold v 4.1.5
---------------------------
Add-ons:
X-SpecialOffers
X-Magnifier
Reply With Quote
  #10  
Old 04-04-2007, 11:22 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:14 AM.

   

 
X-Cart forums © 2001-2020