This needs a minor modification within the listing of the fields within
\components\com_onepage\themes\{your theme}\overrides\list_user_fields_shipping.tpl.php
with:
- Code: Select all
if (!empty($rowFields['fields']) && ((!empty($rowFields['fields']['address_1'])) || (!empty($rowFields['fields']['shipto_address_1'])))) {
if (!empty($current_userinfo_id) && ($current_userinfo_id === 'new')) {
$txt1 = OPCLang::_('COM_ONEPAGE_STORE_ST');
?><div class="agreed_wrap">
<center class="agreed_inner_wrap">
<input type="hidden" name="store_st_rendered" value="1" />
<input value="1" type="checkbox" id="store_st" name="store_st" <?php if (!empty($store_st)) echo ' checked="checked" '; ?> class="bottom_field" autocomplete="off" />
<label for="store_st" class="bottom_label"><span><span><?php echo $txt1;
?></span></span></label>
</center>
</div> <?php
}
best regards, stan