在Magento 1.8中稍后保存袋子?

时间:2014-06-24 11:43:06

标签: php magento magento-1.8

Magento 1.8中有一个默认按钮 - 清除购物袋

但是我不需要这个按钮,我需要一个“稍后保存袋”的按钮 - 在Magento有可能吗?

以下是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>

我应该将“稍后保存袋”用于替换以下内容?

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

0 个答案:

没有答案