Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Links to Information Box


webmaste

Recommended Posts

Sorry about this everyone. I lost my thread that I had for all my questions so I had to open a new thread for this new question. If someone could explain it to me that would be helpful. I seen on someone elses thread where someone sent them to another post and it didn't help me. It caused me more problems than I already had. I am wanting to add a link or two to the Information Box on the right hand side of my online store. How do I go about doing this? One page is already listed in english.php file but I dont know what else I have to do to it. Advertise is the name of the link I'm wanting to add so when your refereing to links or folders or whatever please place that in there so I can better understand what your talking about. Thanks bunches to all!

 

 

 

Constance Muller

Constance Muller

c/o WebmasterDesigns

[email protected]

Link to comment
Share on other sites

Constance - open the catalog/includes/boxes/information.php file and find this code

  $info_box_contents[] = array('text' => '<center>'.'We Accept'.'</center>'.'<br>'.
                                       '<img border="0" src="images/creditcards_all.gif" width="120" height="60" alt="We accept credit cards">' . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                                       '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

Then add your link in where you want it. Something like

  $info_box_contents[] = array('text' => '<center>'.'We Accept'.'</center>'.'<br>'.
                                       '<img border="0" src="images/creditcards_all.gif" width="120" height="60" alt="We accept credit cards">' . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                                       '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .

'<a href="' . tep_href_link('advertise.php') . '">' . 'Advertise' . '</a><br>' .


                                        '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

You can place it where you like but if you make it the last one, be sure to change the last characters as required.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Sorry about this everyone. I lost my thread that I had for all my questions so I had to open a new thread for this new question. If someone could explain it to me that would be helpful. I seen on someone elses thread where someone sent them to another post and it didn't help me. It caused me more problems than I already had. I am wanting to add a link or two to the Information Box on the right hand side of my online store. How do I go about doing this? One page is already listed in english.php file but I dont know what else I have to do to it. Advertise is the name of the link I'm wanting to add so when your refereing to links or folders or whatever please place that in there so I can better understand what your talking about. Thanks bunches to all!

Constance Muller

 

If you are wanting to add a link to a new page in your osC store you will need to also create the page. You can find out how to add a new page with a link in the info box HERE

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...