Tagged: ismael
-
AuthorPosts
-
May 2, 2017 at 12:55 pm #786309
Hi there,
i just can not figure out, why every product i add to my cart ist placed there in double number…
Any idea?
Thanks, Tobi
May 2, 2017 at 2:32 pm #786375Hey Tobias,
I have checked your site and I couldn’t any issue when I add to cart, can you give us a screenshot showing the issue? you can upload the screenshot in http://imgur.com/ and post the link here.
Best regards,
NikkoMay 2, 2017 at 3:56 pm #786464Hi Nikko,
Sorry, i was not completely clear:
The number on cart page is right. It’s the number next to the cart symbol in the breadcrumbs bar (right side).
It’s alway double than the items , that are really in cart.So only a visual problem.
Tobi
May 2, 2017 at 4:00 pm #786474Here a screenshot
May 3, 2017 at 5:48 am #786885Hi,
Can you try to deactivate all plugins except woocommerce? it might be caused by some plugin conflict. If that fixes the issue, try to activate the plugins one by one to determine which plugin causes the issue, if it doesn’t help, can you give us temporary admin access and permission to deactivate plugins?
Best regards,
NikkoMay 3, 2017 at 4:24 pm #787228Hi Nikko,
i deactivated all of them, without succes. See admin acces data below.
Check out Custom CSS. I added somes code to set the cart symbol inside breadcrumbs bar. Maybe there is something wrong…
Tobi
May 5, 2017 at 10:02 am #788283Hi,
The “add to cart” button is missing on every products. Could you please provide a link to the product that we can use to test the issue?
Best regards,
IsmaelMay 8, 2017 at 9:18 am #789351Right, there are still no prices set. Only here:
Tobi
May 8, 2017 at 1:26 pm #789550Hi,
Thank you for the update. I just noticed that the site is still using an old version of the theme, 3.7.1. Please update to version 4.0.5.
Best regards,
IsmaelMay 9, 2017 at 4:51 pm #790451Hi Ismael,
ok, all updates done. WP, Theme and Woocommerce.
Problem with the cart count remains.Thanks for having another look.
Tobi
May 9, 2017 at 5:10 pm #790463Also, my product/category images and the titles below are now way too big and also i removed the number at the end of the category title (see link below). Thought this was adjusted in Quick CSS, but obviously not.
Any idea where i lost these settings during update?
Thanks, Tobi
May 10, 2017 at 9:08 am #790922Hi,
Please add this code to fix the title.
.woocommerce-loop-category__title { font-size: 15px; padding: 10px 10px; }
We are still not sure sure what’s causing the cart number issue. We’ll update you here once we found a solution.
NOTE: The login credentials above are not working. Please check it carefully.
Best regards,
IsmaelMay 10, 2017 at 11:05 am #790980Hi Ismael,
seems that the password did not work anymore. Created a new one. See below.
And i added your code to quick CSS. No effect. Please habe a look, too, when you are logged in.
Thnaks, TObi
May 10, 2017 at 11:09 am #790985Please note, that all my quick CSS code concerning shop product titles doesn’t seem not to work anymore…
like this one:
.product-category.product a h3 mark.count{
display:none !important;
}May 10, 2017 at 6:05 pm #791248Hi,
The reason it’s not working is because woocommerce doesn’t use h3 on it anymore but h2. I have changed this code you have:
.product-category.product a h3{ background:#d9d9d9 !important; } .product-category.product a h3 mark.count{ display:none !important; }
to:
.product-category.product a h2{ background:#d9d9d9 !important; } .product-category.product a h2 mark.count{ display:none !important; }
And it does work properly. As for the cart counter issue, can you give us ftp access? so we can check it further.
Best regards,
NikkoMay 11, 2017 at 9:45 am #791561HI Nikko,
Great. Knew it must have to do with the update…
Changed h3 to h2 on 3 other places and adjusted font size. looks better again now.
Thanks for that.
As for the cart count. Seems to be a real strange thing…
Created you an FTP access, see in private data:Good luck!
May 11, 2017 at 6:15 pm #791806Hi,
It seems like this code which moves the dropdown to the breadcrumbs causes the issue:
function cart_in_breadcrumbs(){ ?> <script> jQuery(document).ready(function(){ var htmlString = jQuery('.cart_dropdown').html(), movehtmlStringto = jQuery('.title_container'); movehtmlStringto.prepend('<div class="cart_dropdown">' + htmlString + '</div>'); }); </script> <?php } add_action('wp_head', 'cart_in_breadcrumbs');
Try to comment this code and then display the cart in its proper location, and you should see the right quantity.
Best regards,
NikkoJune 1, 2017 at 2:25 pm #802553Hi Nikko,
ok, i commented this code in functions.php (deacitivated it) and also commented/deactivated this code in quick css:
#header_main > .cart_dropdown {
display:none;
}That works, but i am there where i was in the beginning, the symbol is above the bar in the very upper right corner. But i really want to place the cart symbol inside the breadcrumbs bar.
Is there no way to find out, why it always displays the double number?Tobi
June 6, 2017 at 4:48 am #804279Hi,
I still can’t figure out why it doubles the number, but I’ll try to fix it for you.
Best regards,
NikkoJune 6, 2017 at 10:59 am #804437Yes, this is really strange. I’d really appreciate if you find this out for me.
Should I go back to the state with the symbol in the breadcrumbs bar (and the doubled number)?
Thanks, Tobi
June 9, 2017 at 6:01 am #805850Hi,
Please replace the filter in the functions.php file with the following code.
function cart_in_breadcrumbs(){ ?> <script> jQuery(document).ready(function(){ jQuery('.cart_dropdown').insertAfter('.avia-breadcrumbs'); }); </script> <?php } add_action('wp_head', 'cart_in_breadcrumbs');
Best regards,
IsmaelJune 12, 2017 at 3:01 pm #806906Hi Ismael,
great. this works fine.
one more tiny thing:
i realized, there are some thin lines close to the cart symbol.
(one veritical above and one horizontal to the right)
any suggestion, how to get rid of them?Thanks, Tobi
June 14, 2017 at 9:19 am #807858Hi,
Please look for the following css modification in the Quick CSS field and remove it.
.cart_dropdown_first { list-style: none; position: absolute; top: 45%; transform: translateY(-50%); }
Add this code instead.
.cart_dropdown { top: 46px; }
Best regards,
IsmaelJune 14, 2017 at 3:53 pm #808055Hi Ismael,
great. Had to adjust the code a bit more as it was a border that caused the lines:
.cart_dropdown {
top: 44px;
border:none;
}But now i am happy and you can close this very long thread.
Thanks so much. You are my favourite support guys…. :-)
Tobi
June 14, 2017 at 9:02 pm #808207Hi,
Glad we could help and thanks for using Enfold :)
Best regards,
Nikko -
AuthorPosts
- The topic ‘Woocommerce Shopping Cart Item Count’ is closed to new replies.