Home / Forums / WoodMart support forum / Cart badge after update
Home › Forums › WoodMart support forum › Cart badge after update
Cart badge after update
- This topic has 6 replies, 2 voices, and was last updated 6 years, 1 month ago by
Artem Temos.
-
AuthorPosts
-
September 16, 2019 at 3:43 pm #144350
rahmankhahParticipantHello.
Thanks for your great work and support with the new updates.
After installing, I got an issue on mobile navigation cart badge which is disappear and when I checked I realized that the display att. set to none and even changed to block the location is not right. Check the attached image-1.Also, there is a suggestion on back-end theme dashboard which this feature was before update 4. Thats useful on mobile screens. check the attached image-2.
September 17, 2019 at 1:20 am #144396
rahmankhahParticipantAlso, on mobile menu after new update I realized that the login disappeared on iPhone while showing on Android phones. Have a look on these two attached images.
September 17, 2019 at 6:51 am #144452
Artem TemosKeymasterHello,
Try to add the following PHP code snippet to the child theme functions.php file
function woodmart_sticky_toolbar_cart_template() { if ( ! woodmart_woocommerce_installed() || ( ! is_user_logged_in() && woodmart_get_opt( 'login_prices' ) ) ) { return; } $settings = whb_get_settings(); $opener = false; $classes = ''; if ( isset( $settings['cart']['position'] ) ) { $opener = $settings['cart']['position'] == 'side'; } if ( $opener ) { $classes .= ' cart-widget-opener'; } ?> <div class="woodmart-shopping-cart woodmart-cart-design-5 woodmart-cart-alt wd-tools-element<?php echo esc_attr( $classes ); ?>" title="<?php echo esc_attr__( 'My cart', 'woodmart' ); ?>"> <a href="<?php echo esc_url( wc_get_cart_url() ); ?>"> <span class="woodmart-cart-icon wd-tools-element"> <?php woodmart_cart_count(); ?> </span> <span class="woodmart-toolbar-label"> <?php esc_html_e( 'Cart', 'woodmart' ); ?> </span> </a> </div> <?php }As for the my account link, we tested both on android and ios and see that the link is there.
Regards
September 19, 2019 at 8:08 pm #145376
rahmankhahParticipantThanks for the solution on cart icon. It’s working now.
However, the login menu still not showing on ios for me.September 20, 2019 at 6:19 am #145456
Artem TemosKeymasterTry to add the following code snippet to the Custom CSS area in Theme Settings.
.browser-Safari .menu-item-register { visibility: visible; } .browser-Safari .menu-item-register.sub-menu-dropdown { visibility: hidden; }This issue will also be fixed in the next theme update.
Regards
September 21, 2019 at 3:31 pm #145810
rahmankhahParticipantThat’s helped.
Many thanks.September 21, 2019 at 6:05 pm #145833
Artem TemosKeymasterYou are welcome.
-
AuthorPosts
The topic ‘Cart badge after update’ is closed to new replies.
- You must be logged in to create new topics. Login / Register