Questions tagged [basket]
The basket tag has no usage guidance.
4
questions
0
votes
1
answer
207
views
Magento shopping - existing cart items removed when new product added
Hopefully someone can help as we can't find anyone else having the same issue that we are. We have just gone live with our new Magento 2 website. We noticed that if we add an item to the cart and ...
0
votes
1
answer
329
views
Show empty price-label (£0.00) in minicart when empty
I want to show the price next to the minicart icon even if it is zero/empty. I have added this code to Magento_Checkout/templates/cart/minicart.phtml
<span class="price-label" data-bind=&...
0
votes
1
answer
64
views
Hide add to cart based on cart items
I need to be able to hide the add to cart button of certain products are already in the cart.
I have Full Page Cache turned on so it seems to cant access the checkout session.
What would be the best ...
0
votes
1
answer
124
views
Getting a list of basket items in Magento 2.3
I am trying to get a list of products in the basket. I have the following in my class
public function __construct(\Magento\Quote\Api\Data\CartInterface $cartInterface)
{
$this->...