lindascott121 Posted April 8, 2008 Posted April 8, 2008 Looking for any feedback concerning my logic - I want to provide shipping only within one country, but allow others to download, so I have inserted this bit of code into checkout_shipping, around line 60: if (($order->content_type != 'virtual') &&($order->delivery['country_id'] !== STORE_COUNTRY)){ tep_redirect(tep_href_link(FILENAME_SHIPPING_FACTS)); } Seems to work - the redirect is to a new page I made for this purpose - could have easily been an error message, but wanted to provide a link back to the shopping cart.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.