Online companies must inform customers about shipping, returns, and other policies. Instead of having disclaimers at checkout you may rather have a "Read Me" link that will open a pop-up window with details about your company's policies. Here is how you program a link at the first checkout page (where customers choose shipping methods):
File name and location (1/3):includes/languages/english/checkout_shipping.php
Modification:
Replace:define('TEXT_CHOOSE_SHIPPING_METHOD', 'Please select the preferred shipping method to use on this order.');
With:define('TEXT_CHOOSE_SHIPPING_METHOD', '<span style="font-family:Verdana;font-size:85%;">Please select the preferred shipping method to use on this order.</span> <p>Read Me: <a href="javascript:openWindow(\'height=350,width=500,status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes\')">Shipping Policy</a></p>');
Create Page (2/3):shipping_policy.html
Upload to:Store's root folder.
Add the following Script (3/3):<script language="javascript" type="text/javascript"> function openWindow(url, name, attrs) { popWin = window.open(url, name, attrs); popWin.focus(); }</script>
Location:...\includes\templates\template_default\common\html_header.phpbefore </head> tag.
You may test it now.
No comments:
Post a Comment