X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to Change Button Text (https://forum.x-cart.com/showthread.php?t=42769)

chiactivate 10-03-2008 04:58 PM

How to Change Button Text
 
I'm trying to change the button text "modify" into "modify shipping"

at check out screen (step 2 of 2).

This is the code: button_title=$lng.lbl_modify

I've also found this source code

catalogs.skin = "/~chiactiv/sdcart/skin1";
var lng_labels = new Array();
lng_labels['lbl_additional_information'] = 'Additional information';
lng_labels['lbl_address'] = 'Address';
lng_labels['lbl_and'] = 'and';
lng_labels['lbl_anonymous'] = 'anonymous';
lng_labels['lbl_applied_giftcerts'] = 'Applied Gift Certificates';
lng_labels['lbl_arb_account'] = 'DHL/Airborne account';
lng_labels['lbl_authentication'] = 'Authentication';
lng_labels['lbl_billing_address'] = 'Billing Address';
..
..
lng_labels['lbl_information'] = 'Information';
lng_labels['lbl_items'] = 'Items';
lng_labels['lbl_last_name'] = 'Last Name';
lng_labels['lbl_logoff'] = 'Log out';
lng_labels['lbl_modify'] = 'Modify';

Where can I change the value of these var lng_labels?

balinor 10-03-2008 05:02 PM

Re: How to Change Button Text
 
Open up your 'languages' area in the admin. Select english, and type 'lbl_modify' in the filter box. Edit the word 'Modify' in the box that appears below and save. Warning - this variable is used in quite a few places in the store, so be careful as it will overwrite all of them.

chiactivate 10-03-2008 05:08 PM

Re: How to Change Button Text
 
thanks! It works


All times are GMT -8. The time now is 01:20 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.