I want to remove edit and delete button from mini-cart and cart page for specific product only. How can I do this? Any help would be appreciated. Thanks.

  • Can you please share on which criteria you want to hide edit/delete option for specific product? I mean conditions for specific product. – Dhara Bhatti Jun 6 '19 at 6:55
  • @DharaBhatti if i have multiple products in minicart/cart then i want to hide or remove edit/delete button for specific product only – Ambrish Maradiya Jun 6 '19 at 7:07
  • You can use jquery like : if added 4 or more products then .minicart-items .product.actions{display:none;} – Payal Patel Jun 6 '19 at 7:09
  • @DharaBhatti If "ABC" product in minicart/cart then i want to remove or hide edit/delete button from "ABC" product only. – Ambrish Maradiya Jun 6 '19 at 7:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.