Yoman Posted February 4, 2004 Share Posted February 4, 2004 Hello, I'm a new user of OSC. Can anyone tell me how to modify the "shipping & returns"? I opened the shipping.php file, but it seems not the right file to modify. :( Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2004 Share Posted February 4, 2004 It depends what you want to do. There is more that one shipping.php file. Look under \catalog\includes\classes \catalog\includes\languages\english Link to comment Share on other sites More sharing options...
Yoman Posted February 4, 2004 Author Share Posted February 4, 2004 How can I add, remove or change the terms titles from the "Information" box? Let's say to change the "Conditions of Use" to "Other Terms". Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2004 Share Posted February 4, 2004 i'm not too sure but i just looked in the conditions of use file in includes/languages/english/conditions.php and it seems that you can change it in each file. so navbar title would, i presume, be what is in the infobox and the heading title is what is at the top of the file when you open it up. but to check put two different words in each and see what happens. don't forget to keep the '); at the end of your title define('NAVBAR_TITLE', 'Conditions of Use'); define('HEADING_TITLE', 'Conditions of Use'); define('TEXT_INFORMATION', 'Put here your Conditions of Use information.'); ?> Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2004 Share Posted February 4, 2004 Use the define languages option in the admin function. Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2004 Share Posted February 4, 2004 The actual english text that appears in the Information box is contained in the file /includes/languages/english.php. So if you want to change the wording of the menu item in the information box do it there. If you want to change the heading in the page that loads as a result of clicking on the menu item, change it in the admin module. Link to comment Share on other sites More sharing options...
Yoman Posted February 4, 2004 Author Share Posted February 4, 2004 If you want to change the heading in the page that loads as a result of clicking on the menu item, change it in the admin module. Which admin module I should change and how to add a new title in the Information box? Link to comment Share on other sites More sharing options...
justnelenasmom Posted February 4, 2004 Share Posted February 4, 2004 :blink: Frustrated here....I too am fairly new to OSCommerce, and have been plugging along at filling in items on my site. My question is, when I tired to fill in my terms for shipping and returns, and uploaded it to my site, the entire PHP ended up in one very long narrow column. I revamped the privacy.php file, with no problems. I talked to my web hosting guru and he told me to add <BR> after each paragraph, but that didn't work. Any suggestions?? Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2004 Share Posted February 4, 2004 OK the systems has two parts Catalog and Admin. The Catalog runs the shopping cart and the Admin maintains the files. In the admin function there is a tools menu option and within tools there is a define languages option. When you select the define languages option it displays all the language files and they can be changed and updated through this functionality. Go into admin,tools,define languages pick any old file and see how the wording relates to the corresponding page in the catalog. Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2004 Share Posted February 4, 2004 Hi Frustated! If you go into the admin function as described in the previous reply and choose privacy.php from the list you will see it contains the text from your privacy page. You will be able to do the same with the shipping file. If your still stuck lets see the code for the page your having probs with Link to comment Share on other sites More sharing options...
justnelenasmom Posted February 4, 2004 Share Posted February 4, 2004 Thanks everyone! I was able to fix it, looks great! Glad to have this forum to come to, to get answers. I've been racking my brain for over a week on this!!! LOL Jewls Link to comment Share on other sites More sharing options...
Yoman Posted February 6, 2004 Author Share Posted February 6, 2004 jap, do u mean I can add a php file, such as payment.php, into the catalog>includes>languages>english folder. Then, everyone can see the "Payment" title in the "Information" box automatically? Link to comment Share on other sites More sharing options...
Guest Posted February 7, 2004 Share Posted February 7, 2004 I think this is what you are asking:- If you want to add a new menu option to the information box let's say Company Profile, then the text that you want to see on the Company Profile page will be in a file called company_profile.php which you will place in the catalog>includes>languages>english folder. Once the file has been added to the english folder it can be viewed or changed via the Admin>Tools>Define Languages option if you want. Have a look at the catalog/includes/languages/english/shipping.php file and see how that relates to the page that you see when you click on the Shipping & Returns option in the information box. OK we've got the text for the page now we need to add the option to the information box. First off amend the file catalog>includes>filenames.php by adding a Define for your new company_profile.php file. Next add a define into the file catalog>includes>languages>english.php. This define will begin BOX_INFORMATION_ and will be the text for the menu option that will appear in the information box. You see the other defines they all begin BOX_INFORMATION. Lastly add a line into the $info_box_contents array in catalog>includes>boxes>information.php using the two variables that we previously define. I think that's all! Link to comment Share on other sites More sharing options...
mattwho Posted February 20, 2004 Share Posted February 20, 2004 How do you format the text in the shippig returns or privacy notice pages to look something like this SHIPPING At this time Items in stock will be sent out 2 - 3 business days from order date. If your items are out of stock, you will be notified via email with an expected delivery date. Otherwise, most items will be received within 7-14 business days. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.