Arron Brown Posted June 23, 2009 Posted June 23, 2009 Hi, How would i go about adding text to the following pages - shipping & returns - conditions of use - privacy policy becuase i have now placed these pages as links in the footer, im not sure how to add text to the pages www.pawspetsupplies.co.uk/catalog
♥14steve14 Posted June 23, 2009 Posted June 23, 2009 Text is added to these pages by altering the text in your includes/what ever your language/shipping.php file. The origial shipping file looks something like <?php /* $Id: shipping.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.'); ?> You need to delete the folowing text so it ends up looking like define('TEXT_INFORMATION', ''); Now add whatever text you require where you deleted the text from. define('TEXT_INFORMATION', 'YOUR TEXT GOES HERE.'); its the same for the other files you want to modify. REMEMBER BACKUP, BACKUP AND BACKUP
Arron Brown Posted June 23, 2009 Author Posted June 23, 2009 thanks for the reply my shipping.php file looks differnet to that, is this the code i need to alter? <td class="main"><?php echo define TEXT_INFORMATION; ?></td> </tr>
♥14steve14 Posted June 23, 2009 Posted June 23, 2009 Make sure that you are loking at the file in the languages/what ever your lang/shipping.php, and not the one in your root or catalog REMEMBER BACKUP, BACKUP AND BACKUP
barbovergaard Posted June 11, 2010 Posted June 11, 2010 Text is added to these pages by altering the text in your includes/what ever your language/shipping.php file. The origial shipping file looks something like <?php /* $Id: shipping.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.'); ?> You need to delete the folowing text so it ends up looking like define('TEXT_INFORMATION', ''); Now add whatever text you require where you deleted the text from. define('TEXT_INFORMATION', 'YOUR TEXT GOES HERE.'); its the same for the other files you want to modify.
barbovergaard Posted June 11, 2010 Posted June 11, 2010 Steve, I have the same question as Aaron but am totally lost. How do i even get to the place where I can edit the text in the first place? If I go to the online catalog, and click on "Shipping and Returns" it will not let me change anything. If I go to the Admin backend, I have searched everywhere with NO luck to find out where I can modify that particular text. Can you help me? Confused in Colorado...
TshirtBoy Posted June 29, 2010 Posted June 29, 2010 Steve, I have the same question as Aaron but am totally lost. How do i even get to the place where I can edit the text in the first place? If I go to the online catalog, and click on "Shipping and Returns" it will not let me change anything. If I go to the Admin backend, I have searched everywhere with NO luck to find out where I can modify that particular text. Can you help me? Confused in Colorado... it should be in /catalog/includes/languages/ "the language you want to edit" english or german for example. look for a file called shipping.php, then download it and edit it in a free php.editor before reuploading it to the same location.
chrisdunn Posted March 15, 2012 Posted March 15, 2012 I have a few web sites and am reasonably familiar with altering things, but have to say that I find this difficult. The Admin part of the shop is very good, but could do with a simple way of altering these policy statements. Is that a possibility in the development?
Mort-lemur Posted March 15, 2012 Posted March 15, 2012 Just the way it is with OSC - you have to get used to altering files. There are modifications that let you modify the files you mention from admin - but again you would need to modify the files to install the mods. Personally I use Filezilla to download and upload files and Notepad ++ to modify the php files - both are free and easy to use. Thanks Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.
♥14steve14 Posted March 16, 2012 Posted March 16, 2012 If your hosts have cpanel installed you can also edit files there, but it is better to copy the files to your computer, edit them and then upload then back. Before editing any files create a backup first. REMEMBER BACKUP, BACKUP AND BACKUP
Josh Hardisty Posted March 17, 2012 Posted March 17, 2012 It's like this, so you can load a different file for each language, if it was an admin front-end, it would have to include every other text change, such as footer, welcome text etc... It's nice that they are all in a simple folder.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.