userFieldsCart['fields'] as $fields){ $cartfieldNames[] = $fields['name']; } foreach ($this->cart->BTaddress['fields'] as $item) { if(in_array($item['name'],$cartfieldNames)) continue; if (!empty($item['value'])) { if ($item['name'] === 'agreed') { $item['value'] = ($item['value'] === 0) ? vmText::_ ('COM_VIRTUEMART_USER_FORM_BILLTO_TOS_NO') : vmText::_ ('COM_VIRTUEMART_USER_FORM_BILLTO_TOS_YES'); } ?>
pointAddress){ $this->pointAddress = 'required invalid'; } ?>
cart->user->virtuemart_user_id==0){ echo vmText::_ ('COM_VIRTUEMART_USER_FORM_ST_SAME_AS_BT'); echo VmHtml::checkbox ('STsameAsBT', $this->cart->STsameAsBT,1,0,'id="STsameAsBTjs" data-dynamic-update=1') . '
'; } else if(!empty($this->cart->lists['shipTo'])){ echo $this->cart->lists['shipTo']; } if(empty($this->cart->STsameAsBT) and !empty($this->cart->ST) and !empty($this->cart->STaddress['fields'])){ ?>
cart->STaddress['fields'] as $item) { if($item['name']=='shipto_address_type_name') continue; if (!empty($item['value'])) { ?>
cart->lists['current_id'])) { $this->cart->lists['current_id'] = 0; } ?>