getShipping()->getShippableLocations(true);
if (count($shippableLocations) > 0) { ?>
formElement('hidden', 'enableSelection', $this->enableSelection)
->render();
?>
formElement('hidden', 'ids', $this->listingId)
->setAttributes(array('class' => 'ids'))
->render();
?>
- _('Select Country'); ?>
- formElement('select', 'locationId', $this->locationId)
->setAttributes(array('class' => 'form-control input-medium'))
->setMultiOptions($shippableLocations)
->render();
?>
- _('Zip/Post Code'); ?>
- formElement('text', 'postCode', $this->postCode)
->setAttributes(array('class' => 'form-control input-small'))
->render();
?>
- _('Quantity'); ?>
- formElement('text', 'quantity', $this->quantity)
->setAttributes(array('class' => 'form-control input-mini qty'))
->render();
?>
formElement('hidden', 'quantity', $this->quantity)
->setAttributes(array('class' => 'qty'))
->render();
?>
-
formElement('button', 'button', $this->_('Get Shipping Rates'))
->setAttributes(array(
'class' => 'btn btn-default',
'id' => 'calculate-postage',
'data-loading-text' => $this->_('Please wait ...')))
->render();
?>