Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


jwsfun

Recommended Posts

Posted

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!

Posted

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

Posted

I made the mistake that the image had to be defined...I guess I'm an php/css idiot or something, but thanks for your help. I appreciate it! :lol:

Posted

Chris...You're more than da bomb, ur dabombtrack...Just thought I'd let ya know that I greatly appreciate your help... :lol: Thank you.

Posted

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?

Archived

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

×
×
  • Create New...