Home › Forums › Themes Support › Claue › Wishlist menu icon
- This topic has 5 replies, 2 voices, and was last updated 5 years, 7 months ago by Harry.
-
AuthorPosts
-
-
September 9, 2018 at 11:15 pm #24595
Hello Harry,
I am using WooCommerce Wishlist Plugin and replaced YITH wishlist plugin because it is way better in performance and functionality.
Everything is fine except I can’t add the heart icon in the menu like the same way for YITH plugin.
they call the icon counter in the documentation and it has a shortcode [ti_wishlist_products_counter] but I don’t know where or how to use it.Can you please help me add the icon in the menu?
Kind regards
-
September 10, 2018 at 7:43 am #24600
Hi Sprado,
Please copy layout-x.php in claue > views > header to claue-child > views > header as header layout running on your site
change the code
if ( class_exists( 'YITH_WCWL' ) ) { global $yith_wcwl; echo '<a class="cb chp hidden-xs" href="' . esc_url( $yith_wcwl->get_wishlist_url() ) . '" title="' . esc_html__( 'View your Wishlist', 'claue' ) . '"><i class="pe-7s-like"></i></a>';}
with
echo do_shortcode('[ti_wishlist_products_counter]');
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
September 10, 2018 at 7:59 am #24602
Hi Harry,
Thank you for providing the code.
I added the code but it only showed the icon on mobile menu, but the main menu still missing.
Do I need to add more code?
Thank you
-
September 10, 2018 at 8:07 am #24603
-
September 10, 2018 at 9:17 am #24605
Hi Harry,
I fixed the issues, I managed to display on desktop and hide on mobile.
Thank you for helping me
Good luck
-
September 10, 2018 at 1:07 pm #24607
Glad to hear you solved issue.
Feel free contact us again if you need more help.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.