Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping & Returns


Yoman

Recommended Posts

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

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

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

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

: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

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

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

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

  • 2 weeks later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...