Questions tagged [mini-cart]

denotes questions related to Magento mini cart

Filter by
Sorted by
Tagged with
3
votes
2answers
2k views

How to move Checkout button to the bottom of minicart

I've been trying to move the "Go to check button" to the bottom of the minicart, as this example but I have had no success. I've done this kind of changes in ver.1.9.1 with no problem. What am I ...
1
vote
2answers
5k views

Magento 2 Mini Cart is not working with production version

I have developed custom theme on the top of local installation of https://github.com/magento/magento2 version and it works fine. I installed magento production version (2.0.2) https://www....
2
votes
2answers
2k views

Magento2 Knockout js - issue on cart

I tried to reposition my cart block to a other header location. Since then I am getting this javascript error which is annoying since I only repositioned a block. Uncaught TypeError: Unable to ...
0
votes
1answer
501 views

Show item discount in top cart (mini cart)

We have set up few shopping cart price rules which gives discount on entire category. When customer adds some products from this category to their cart, our mini cart shows inconsistency where it ...
2
votes
1answer
8k views

Magento 2: minicart checkout button and cart subtotal display after item list

How to modify minicart in magento 2. Minicart content display like: Item list subtotal shopping-cart link go to checkout button
0
votes
1answer
195 views

mini cart pushes the header down, pulls wrong item render sidebar/default.phtml, instead of mini-cartpro/default.phtml?

So The theme has a mini cart feature... It works, and updates the cart via ajax on addItem and remove item. When your NOT logged in, the feature works exactly how I want. The user add a product to the ...
2
votes
1answer
3k views

Magento 2 - Minicart display subtotals incl. tax

When I adjust the option in Magento to display subtotals including tax the minicart breaks. I get this error in my console: Uncaught ReferenceError: Unable to process binding "if: function (){return ...
2
votes
0answers
389 views

Magento 2 Cart Breaking When Copying minicart.phtml into Template

I want to make some style changes to the mini cart in Magento 2. Mainly move it up with my search bar and change the background color. I have tried using the exact code from the minicart.phtml in the ...
1
vote
1answer
1k views

Items in shopping cart disappear

I am having a big problem on our websites. When I add something to the shopping cart it works good. But if I navigate to say the homepage the product disappears. But when I add another product ...
1
vote
3answers
262 views

Using local helper to get thumbnails in minicart

This is my code that imports the images from the server <?php class Bundle_LocalHelpers_Helper_Basic extends Mage_core_Helper_Abstract { public function getImageUrl($product) { $storeId =...
3
votes
1answer
1k views

Adding bundle product to basket - prices are zero

I know this problem is common, but the answers on the internet has not helped me, so I turn to you. I'm adding simple products to my basket and that works fine, but I also want to be able to add ...
0
votes
1answer
2k views

How to add minicart to custom block

My intention is to create something close to rwd from 1.9 but I'm on 1.8.1 and it's difficult to update as there have been so many changes on this magento. I've successfully added something from the ...
0
votes
1answer
252 views

Mini Cart Close jQuery

Where is jQuery function written for closing mini cart button in Magento. I want to implement it while clicking "Continue Shopping" link present in the same mini cart. Currently my cart fades in ...
4
votes
2answers
6k views

How can I get discount amount and grand total amount in mini cart ? (Magento 1.9)

I would like to display discount amount and grand total (including discount) in mini cart with Magento 1.9 instead of sub total. I didn't find out how to display discount (cart price rule without ...
0
votes
1answer
922 views

How to update the remove item in checkout/cart section?

I am new user of Magento and added remove_item link near quantity block at grouped product section at each product in grouped product. The item get removed at grouped product page but when i proceed ...
0
votes
1answer
3k views

Minicart in header is cached by FPC

I am trying to display Minicart in header but FPC (Magento Enterprise default FPC) is caching it and Minicart is not updated when I am navigating to category or CMS pages. <reference name="...
1
vote
3answers
738 views

Ajax cart image based on product image

I have a problem of changing the image of configurable product in ajax cart based on product image. I want to have product image in ajax cart after selection. Here is the controller code which should ...
1
vote
1answer
826 views

How can I add the shipping estimate fields from the cart page on the mini cart?

In a theme based on rwd (magento ce 1.9.1), how can I add the shipping estimate from the cart page on the mini cart? I already searched a lot and still couldn't find if that's possible or what's the ...
0
votes
3answers
2k views

Open header cart when product added to cart

I'd like to know how I can automatically open the header mini cart when a product is added to the shopping cart. At present if you add a product to the cart the default Magento message appears which ...
6
votes
7answers
7k views

Form Key Error when removing a product from Mini cart

So this is a problem that I have been trying to solve for a few days now. I'm not an expert at this, but I manage quite a bit through googling and testing myself. My website is more or less ready to ...
2
votes
1answer
902 views

AJAX cart displaying parent image instead of product image

I have the same problem as described here: Mini-Cart displaying Parent Product Image instead of Product Image. However, I cannot get the accepted solution to work. The problem is that when I add a ...
1
vote
1answer
707 views

How to add a subtotal for separate products in mini-cart?

I am using a slightly modified modern theme for my store. Most of my store is using a 3 column layout with a mini-cart in the right column. By default the products in the mini-cart have a thumbnail, ...
0
votes
1answer
2k views

Reload page when deleting a product from mini-cart

I was trying to make an script to reload the page when i delete a product from mini-cart. The reason is because when i delete a product from it, if i am on the onestepcheckout, my summary don´t get ...
0
votes
0answers
975 views

Problem with mini-cart ajax not displayed

yesterday i make an update to ajax-cart. With no reason, now, there is no mini-cart been displayed. As normally, i have this ok header.phtml <div class="nav-right span3"> <...
3
votes
2answers
4k views

On hover instead of 'click' for mini cart and top account buttons in Magento RWD theme

Where do i have to change the jQuery functionality to show the drop downs from the 'mini cart' and the 'top-account' on hover instead of click on the desktop versions? Thanks!
1
vote
1answer
754 views

Bundle-price is shown as 0 in minicart

if I put a bundled product into my cart, I do get displayed this correctly in the minicart-preview but the pricing is always on "0". On the other hand, if I head forward to the carts' summary-page (...
2
votes
0answers
830 views

Retrieve updated mini cart (cart_sidebar) block - not cached version

I'm using Magento EE 1.13.2 and use jQuery to add products to the cart: var url = "/checkout/cart/add?product=" + productId + "&qty=" + qty + "&form_key=" + formKey; $j.get(url, "", function(...
0
votes
1answer
2k views

setting all active quotes to inactive , for the logged user

This is the code I use, which is not working, in order to make all of active quotes for the logged user to inactive, but it keeps taking only one quote. $quote = Mage::getSingleton('sales/quote'); $...
0
votes
2answers
986 views

Get last 3 added products from cart

How can i get last 3 added products of cart in magento. I am using $session->getQuote()->getAllVisibleItems() for that. Please Provide me if any other feasible solution
2
votes
1answer
209 views

Strange characters appear in admin category and header cart.

I am facing a very strange problem: Whenever I go to catalog/category in admin area: "c" letter is appear at the first, I know it cause this problem but I don't know how it was appeared. Otherwise,...
4
votes
1answer
3k views

Magento and Varnish (Turpentime) Mini Cart is being cached

I've just configured correctly the Varnish cache, finally, but now I ran into some issues... I've notices, at the moment one important error and can't get to fix it. The thing is that the Mini Cart ...
1
vote
2answers
3k views

Reload mini-basket after item delete

I am trying to reload the topCart after an item has been deleted in order to list the remaining contents of the cart. When removing an item from the mini basket no further data is requested so if ...
2
votes
1answer
1k views

Move cart & compare blocks to top links - Problem with dynamic/lazy block

I'm trying to move the cart & compare blocks to top links and when the user goes over the li the cart/product compare appears: it works. Minicart <reference name="header"> <reference ...
1
vote
1answer
502 views

Apply base shipping cost for all orders to show in header_minicart

I am looking for a way if possible to apply a base shipping cost to all orders that will display in the mini cart in the header then when the customer goes to checkout they can get a more accurate ...
3
votes
1answer
2k views

How do I get the discount amount in the minicart for 1.9?

In the minicart of 1.9, the total is produced by $this->getSubtotal(). See file app/design/frontend/rwd/default/template/checkout/cart/minicart/items.phtml. That total does not subtract any potential ...
1
vote
1answer
1k views

cart vs. mini cart issue … rwd theme

I use the rwd theme (slightly modified but not this part) and my cart (before checkout) shows a strange behaviour. The part with the "item-options" is only shown on some items. I mean the part <...