The cart icon does not remain visible in the mobile version.
In the mobile version, the cart icon appears inside the hamburger menu instead of next to the hamburger menu.
Is possible that the icon cart is always visible on the mobile version, right next to the hamburger menu?
Many thanks for your help
.wpmenucartli {
vertical-align: center !important;
}
Help would be appreciated! Thanks. Jade
]]>This isn’t device or browser specific but does seem to effect the same users consistently. I have only been able to recreate once. But, refreshed my browser and have since been unable. Nor has my service provider.
Important to remember it only happens to SOME users, not all.
I’m on Godaddy managed wordpress with a woocommerce site.
Cart- WPMenu cart pro
Just recently found out this seems to have been an issue since my site first went live(Aril 2018)
recently removed object-cache.php from wp-content folder, advanced-cache is inactive.
Godaddy has server side caching, still trying to find out if they cache cart, checkout,myaccountpages. But for those with knowledge, why would that effect just SOME?
also, just reading about cart updating via php vs ajax. Seems in some instances it alternates…is this possible? Just with godaddy or what?
Any help appreciated.
]]>I want to remove the word ¨productos¨ and leave 0,1,2..etc. See picture:
Thanks in advance!
]]>What needs to be done?
]]>I noticed you have function wpmenucart_menu_item()
On the condition where it’s an empty cart you don’t have a filter available to filter the menu item content.
I was able to use wpmenucart_menu_item_a filter for when there are items but this isn’t possible when its an empty cart as per line 569.
Could you either add a filter there OR fix the issue I’m having which is that your <a>
tag doesn’t have a href=”#”. This causes issues with SEO because its an unlinked anchor.
Thanks
Josh
I made a function to add products to the cart without having to reload the whole page, and I’m trying to make the cart icon update, but my function is not making the cart icon reload properly, there is a delay and sometimes it even doesn’t updates until I reload the page manually.
Is there a function I can use in order to reload the cart icon with the items and number of items properly without having to reload the whole page?
Here is the code to my function:
jQuery(document).ready(function( $ ){
$(‘#featureTrackLicense .line1’).click(function(e) {
e.preventDefault();
prodId = $(this).attr(“data-prod-id”);
addToCart(prodId);
console.log(prodId);
$(‘#mainMenuBanner’).load(‘https://joemexican.com/beats/?elementor_library=main-header #mainMenuBanner > *’); /*This is the code that updates the cart icon but it fails to update sometimes and is very slow, the rest of the code add the product to the cart*/
lastP = $(this).parent();
lastP = $(lastP).children().last();
$(“<p class=’addedCartMsgFeatureTrack’>Your beat has been added to the cart.</p>”).insertAfter(lastP);
return false;
});
function addToCart(p_id) {
$.get(‘?add-to-cart=’ + p_id, function() {
// call back
});
}
});
somewhen with the last versions of either ‘Woocommerce’ or ‘WooCommerce Menu Cart’ I started to encounter a strange bug which I’m not able to find the source for.
The problem is as follows:
1. I visit my page (https://wamiki.de/shop). You can see the menu cart working in the top right corner. It is configured to only show the current value of the cart. When you have nothing in your cart it correctly shows 0,00 €.
2. I add a product to my cart. The product is added correctly to the cart, BUT the menucart will still show 0,00 €
Now in debugging I encountered all of the following Informations which might help find the source of this bug:
a) when you have products in your cart and the page starts loading, the menu cart will show the correct amount in the menu, but at some point (after a few milliseconds) some javascript kicks in and resets the amount to 0,00 € and also changes the href for the menu cart from /cart to /shop.
b) I disabled all other plugins (only Woocommerce and Woocommerce Menu Cart are running)
c) I switched the theme to twentytwenty and others, still same bug.
d) I can reproduce the problem in the latest versions of Firefox and Google Chrome
e) If I open a new browser window! (not tab!) to browse to wamiki.de suddenly all tabs in all windows will show the correct amount in the menu cart.
f) when doing e) there will be an xhr post to https://wamiki.de/?wc-ajax=get_refreshed_fragments on all tabs in all windows
please help
]]>The number followed by the word “items” always appears in my case “productos”.
Is there a way that only the number would appear? For example 13
Thank you.
]]>