Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding UPS map to shipping.php...Please help


jwsfun

Recommended Posts

I've attempted adding a UPS Ground Shipping map to my shipping page (includes/languages/english/shipping.php) by adding the following:

 

define(DIR_WS_IMAGES . 'UPSGroundShippingMap.gif');

 

However, it's NOT working. Am I adding this wrong? In the wrong .php? I've added it directly above the ?> at the end of the file but it's still a no-go...Please help! Thanks!

Link to comment
Share on other sites

Well, yes you are doing it wrong....but why in the world would you want to define an image in the first place?

 

All you have to do to show the image is this:

 

echo teo_image(DIR_WS_IMAGES . 'your_image_filename.extenstion', 'Your ALT text');

Chris Sullivan

Link to comment
Share on other sites

Chris...Aside from having to correct the typo in "echo_teo" to "echo_tep" (no biggie), the image is now all the way up in my header! How do I get it just below the text (shipping policy)? Don't I have to define or maybe add a table here to do this?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...