Wrapper for shipping method

Wrapper for shipping method

Postby admin » Mon Jul 18, 2011 4:08 pm

If you shipping method does not have it's own styling or you are using shipping in the select drop down box, please edit your OPC template files here:
/components/com_virtuemart/themes/default/templates/onepage/YOURSELECTED_THEME_FROM_DISPLAY_TAB/onepage.unlogged.tpl.php
and
/components/com_virtuemart/themes/default/templates/onepage/YOURSELECTED_THEME_FROM_DISPLAY_TAB/onepage.logged.tpl.php

THIS IS FOR TEMPLATES WHICH USE FIELDSETS TO WRAP DATA

search for:

Code: Select all
<div id="ajaxshipping">
<?php echo $shipping_method_html; // this prints all your shipping methods from checkout/list_shipping_methods.tpl.php ?>
</div>


and replace it with this:
Code: Select all
<fieldset><legend class="sectiontableheader">Shipping method</legend>
<div id="ajaxshipping">
<?php echo $shipping_method_html; // this prints all your shipping methods from checkout/list_shipping_methods.tpl.php ?>
</div>
<br style="clear: both;" />
</fieldset>
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Return to One Page Checkout for Virtuemart 1.1.x