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

How to add a line of text somewhere in the cart.php page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-16-2011, 07:55 PM
 
Morningcoffee Morningcoffee is offline
 

Senior Member
  
Join Date: Jun 2011
Posts: 139
 

Default How to add a line of text somewhere in the cart.php page

Hello All,

I would like to add the following line, somewhere in the
cart.php page (where people click on view cart)
"All Prices are in U.S. Dollars"

Is this a language variable or template ?

Can I simply add the text "All Prices are in U.S. Dollars" to the text that shows by default:
Please note: 1) Delivery Method is ignored if you are ordering Gift Certificates or electronically distributed products. 2) Gift Certificates are redeemed during Checkout process.

Where can I edit that text?
__________________
X-Cart 4.4.5 Gold

Add-On Modules/Extras:

- Bundle Products

- Create Orders In Back-End

- Previously Ordered Products

- Product Options/Variants On Products List

- Remember Me

- Hidden Categories

- Testimonials

- On Sale Module

- Other Custom Programming by Qualiteam Software
Reply With Quote
  #2  
Old 06-17-2011, 04:41 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: How to add a line of text somewhere in the cart.php page

You don't add something like this to php files, you add it to template files. You can create new language or use the one with the delivery note - search the language variables in admin/contents/languages
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 06-17-2011, 07:22 AM
 
Morningcoffee Morningcoffee is offline
 

Senior Member
  
Join Date: Jun 2011
Posts: 139
 

Default Re: How to add a line of text somewhere in the cart.php page

Quote:
Originally Posted by cflsystems
You don't add something like this to php files, you add it to template files. You can create new language or use the one with the delivery note - search the language variables in admin/contents/languages

Hi Steve,

Which language variable do I have to search for to edit for the above?

Thank you!
__________________
X-Cart 4.4.5 Gold

Add-On Modules/Extras:

- Bundle Products

- Create Orders In Back-End

- Previously Ordered Products

- Product Options/Variants On Products List

- Remember Me

- Hidden Categories

- Testimonials

- On Sale Module

- Other Custom Programming by Qualiteam Software
Reply With Quote
  #4  
Old 06-18-2011, 07:32 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: How to add a line of text somewhere in the cart.php page

If you use "webmaster mode" in the admin section you can open a customer version of your site and click on the text of any language variable to edit it. Be careful adding html to any of it because it may break it.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #5  
Old 06-18-2011, 03:58 PM
 
Morningcoffee Morningcoffee is offline
 

Senior Member
  
Join Date: Jun 2011
Posts: 139
 

Default Re: How to add a line of text somewhere in the cart.php page

thank you!
__________________
X-Cart 4.4.5 Gold

Add-On Modules/Extras:

- Bundle Products

- Create Orders In Back-End

- Previously Ordered Products

- Product Options/Variants On Products List

- Remember Me

- Hidden Categories

- Testimonials

- On Sale Module

- Other Custom Programming by Qualiteam Software
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 05:46 AM.

   

 
X-Cart forums © 2001-2020