1
我需要刪除簡單產品從購物車。僅適用於配置產品如何刪除magento中的簡單產品車2.1
<a href="#"
title="<?php echo $block->escapeHtml(__('Remove item')); ?>"
class="action action-delete btn-remove btn-remove2 remove-btn"
data-post='<?php /* @escapeNotVerified */ echo $block->getDeletePostJson(); ?>'>
<i class="fa fa-times-circle" aria-hidden="true"></i>
<?php /* <span>
<?php /* @escapeNotVerified */echo __('Remove item')?>
</span> */ ?>
</a>
上面的代碼工作配置產品
- 如何從車中移除簡單的產品
刪除項目的選擇嗎?
將這項工作? https://magento.stackexchange.com/questions/141314/remove-items-from-cart-in-controller-magento2 – Joey