Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Information Box links


Rolo86

Recommended Posts

Posted

Hi all,

 

This may sound silly and be ridiculously easy to solve, however, I am not sure how to do this, which is why I would really appreciate any help given.

 

It has recently been brought to my attention that my site has no Privacy or Cancellation Policies and I would like to add these. I realise that these are built into the site from the start, however, for some reason-and I cannot remember now why- I got rid of these links and now I am not sure how to add them again.

 

I have checked in the Admin, File Manager to check if the PHP files are still there and they seem to be, so now the only problem I have is not knowing how to activate the links to show in the "Information" box again.

 

Any help given would be much appreciated, so thank you in advance.

Posted

I have checked in the Admin, File Manager to check if the PHP files are still there and they seem to be, so now the only problem I have is not knowing how to activate the links to show in the "Information" box again.

 

Any help given would be much appreciated, so thank you in advance.

 

First you will need to enter this into includes/boxes/information.php

                                         '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

Just renamed condition to the correct name of your file.

 

Then you need to add define('FILENAME_PRIVACY', 'privacy.php'); to includes/filenames.php -

 

and then follow what you see your langauage/english.php file under // information box text in includes/boxes/information.php around line 122 of an vanilla OSC.

Archived

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

×
×
  • Create New...