magento list 页面 add to cart 设置产品数量
  
  
   时间:2014-06-22 18:18来源:未知 作者:最模板zuimoban 点击:
   
   次
  
  
  magento list 页面 add to cart 设置产品数量 form action=?php echo $this-getAddToCartUrl($_product) ? method=post id=product_addtocart_form_?php echo $_product-getId()??php if($_product-getOptions()): ? enctype=multipart/form-data?php
  
  
   
    
     | 
       
	magento list 页面 add to cart 设置产品数量 
 
	- 
		<form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form_<?php echo $_product->getId()?>"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
 
	- 
		<?php if(!$_product->isGrouped()): ?>
 
	- 
		<label for="qty"><?php echo $this->__('Qty') ?>:</label>
 
	- 
		<input type="text" class="input-text qty" name="qty" id="qty" maxlength="12" value="<?php echo ($this->getMinimalQty($_product)?$this->getMinimalQty($_product):1) ?>" />
 
	- 
		<?php endif; ?>
 
	- 
		<button type="button" class="button" onclick="this.form.submit()"><span><span><span><?php echo $this->__('Add to Cart') ?></span></span></span></button>
 
	- 
		</form>
 
 
      
      (责任编辑:最模板) | 
    
   
   
  
  
  
  
   ------分隔线----------------------------