Monday, 15 April 2013

php - Save Bag for Later in Magento 1.8? -



php - Save Bag for Later in Magento 1.8? -

there default button - clear shopping bag in magento 1.8,

but don't need button, need button 'save handbag later' - possible in magento?

below code frontend\mystore\default\template\checkout/cart.phtml

<div class="row box-cart-control"> <ul class="items-button-cart pull-right"> <li class="col-lg-4"><button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('update shopping bag'); ?>" class="btn-update btn btn-primary button-cart-control"><?php echo $this->__('update shopping bag'); ?></button></li> <?php if($this->getcontinueshoppingurl()): ?> <li class="col-lg-4"><button type="button" title="<?php echo $this->__('continue shopping') ?>" class="btn-continue btn btn-primary button-cart-control" onclick="setlocation('<?php echo $this->getcontinueshoppingurl() ?>')"><?php echo $this->__('continue shopping') ?></button></li> <?php endif; ?> <li class="col-lg-4"><button type="submit" name="update_cart_action" value="empty_cart" title="<?php echo $this->__('clear shopping bag'); ?>" class="btn-empty btn btn-primary button-cart-control" id="empty_cart_button"><?php echo $this->__('clear shopping bag'); ?></button></li> </ul> </div>

what should utilize 'save handbag later' replace below?

button type="submit" name="update_cart_action" value="empty_cart"

php magento magento-1.8

No comments:

Post a Comment