Example #1
0
                <?php 
echo $form->error($billingAddress, 'zipcode');
?>
        
                <?php 
echo $form->textField($billingAddress, 'city', array('size' => 32, 'maxlength' => 45));
?>
                <?php 
echo $form->error($billingAddress, 'city');
?>
            </div>
        
				
            <div class="row">
							<?php 
echo Shop::getCountryChooser($form, $billingAddress);
?>
	
            </div>
		</div>
   </fieldset>
<br />
<hr />  
<h3> <?php 
echo Shop::t('Payment method');
?>
 </h3>
<p> <?php 
echo Shop::t('Choose your Payment method');
?>
 </p>
Example #2
0
?>
		<?php 
echo $form->error($address, 'zipcode');
?>

		<?php 
echo $form->textField($address, 'city', array('size' => 32, 'maxlength' => 45));
?>
		<?php 
echo $form->error($address, 'city');
?>
	</div>

	<div class="row">
		<?php 
echo Shop::getCountryChooser($form, $address);
?>
	
	</div>

	<?php 
if (Shop::module()->useWithYum && $customer->isNewRecord) {
    ?>

	<?php 
    echo CHtml::label(Shop::t('Register an account'), 'register');
    ?>
	<?php 
    echo CHtml::checkbox('register', true);
    ?>
Example #3
0
<div class="row">
<?php 
echo $form->labelEx($deliveryAddress, 'city');
echo $form->textField($deliveryAddress, 'zipcode', array('size' => 10, 'maxlength' => 45));
echo $form->error($deliveryAddress, 'zipcode');
?>

<?php 
echo $form->textField($deliveryAddress, 'city', array('size' => 32, 'maxlength' => 45));
echo $form->error($deliveryAddress, 'city');
?>
</div>

<div class="row">
<?php 
echo Shop::getCountryChooser($form, $deliveryAddress);
?>
	
</div>
</div>
</fieldset>
<br />
<hr />  
<h3> <?php 
echo Shop::t('Shipping Method');
?>
 </h3>
<p> <?php 
echo Shop::t('Choose your Shipping method');
?>
 </p>