Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add UPS and FedEx maps to your shop


Jack_mcs

Recommended Posts

Posted

Both UPS and FedEx offer an option on their sites where you can enter in your shipping zip code and a color-coded map will be displayed showing the estimated delivery times. Both can be integrated into the code of your shop for real-time updates but there's really no need for all of that trouble since their delivery estimates seldom change. An easier way is to copy the image to your shop and display it directly.

 

To easily make use of this option for UPS, go to UPS maps , enter in the zip code you ship from and the map will be displayed. Right click on it and save the image to your computer (this is allowable by UPS) and then upload it to your images directory. Then find this code in shopping_cart.php

                <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>

and add this after it

<tr>
<td align="center"><img src="images/ups_map.gif" alt="UPS Estimated Delivery Times"></td>
</tr>

That's it. Add something to your cart and view that page. The map should be displayed. The procedure is the same for FedEx except you have to go to the FedEx site.

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

  • 1 year later...
Posted

I did this using the FedEx map instead since that's what I use and all that showed was "FedExEstimated Delivery Times"...no map. I changed the map name from UPS to FedEx....that is all the editing I did. Any ideas on why it's not showing?

Archived

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

×
×
  • Create New...