Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Add UPS and FedEx maps to your shop


1 reply to this topic

#1 Jack_mcs

  • Community Member
  • 24,449 posts
  • Real Name:Jack
  • Gender:Male

Posted 24 October 2009, 03:01

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.

#2 broadstreetbully

  • Community Member
  • 69 posts
  • Real Name:jason

Posted 30 November 2010, 17:07

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?