Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Icons on mobile menu
New Landing › How can we help? › Themeforest Theme Support › Dante › Icons on mobile menu
- This topic has 14 replies, 2 voices, and was last updated 10 years by
Mohammad – SUPPORT.
-
Posted in: Dante
-
April 11, 2014 at 11:34 pm #66520
Hi,
Is there any way to add icons to the mobile menu ? if not, is it possible to use another mobile menu plugin by disabling the dante one?
Last question : i want to change the link of the empty cart drop down which goes to the “shop” archive page. I tried by changing the PHP file related to it, but it’s not doing anything.
Can you give me the code to put in the child theme for this ? my link would be (http://www.fantasticook.fr/produit/plancha-gaz-fantasticook/) when you press that button.
thanks a lot
April 14, 2014 at 11:11 am #66813Hi,
1. Have you set Menus according the screenshot image http://dante.swiftideas.net/documentation/assets/images/menu-locations.png ?2. Please put this code at functions.php
function my_woocommerce_continue_shopping_redirect( $return_to ) {
return get_permalink( woocommerce_get_page_id( ‘shop’ ) ); // please change shop slug anyone page slug as you want
}
add_filter( ‘woocommerce_continue_shopping_redirect’, ‘my_woocommerce_continue_shopping_redirect’, 20 );
Thanks 🙂
With Best Regards
Swift IdeasApril 16, 2014 at 3:45 pm #677071. I’m using a special “mobile menu” that is a bit different of the main one. Why should i have the same menu config to get icons ?
2. It’s not working, i replace the “shop” by the page id “88” and it’s not working.
regards
April 17, 2014 at 12:45 pm #68023Hi,
1- Currently theme dont support mobile Menus with icons .2- Can you provide your code as you put at functions.php so i can check and give quick solution .
Thanks
April 17, 2014 at 12:55 pm #68032Hello,
1) OK
2) :
function my_woocommerce_continue_shopping_redirect( $return_to ) {
return get_permalink( woocommerce_get_page_id( ‘88’ ) ); // please change shop slug anyone page slug as you want
}
add_filter( ‘woocommerce_continue_shopping_redirect’, ‘my_woocommerce_continue_shopping_redirect’, 20 );April 17, 2014 at 2:12 pm #68061Hi,
Please remove that one and use this codefunction my_woocommerce_continue_shopping_redirect( $return_to ) { return get_permalink(88); // please change shop slug anyone page slug as you want } add_filter( 'woocommerce_continue_shopping_redirect','my_woocommerce_continue_shopping_redirect',20);
Thanks 🙂
With Best Regards
Swift IdeasApril 17, 2014 at 2:18 pm #68065it’s still not working.
Is there a way to put the URL directly ?regards
April 17, 2014 at 2:21 pm #68068Hi,
Please try to direct here
function my_woocommerce_continue_shopping_redirect( $return_to ) {
return get_permalink(‘FULL_URL’); // please change shop slug anyone page slug as you want
}
add_filter( ‘woocommerce_continue_shopping_redirect’,’my_woocommerce_continue_shopping_redirect’,20);April 17, 2014 at 2:23 pm #68072Still nothing.
I already tried those solution directly in the PHP file and it wasn’t working too
Any other idea ?Regards
April 17, 2014 at 2:27 pm #68077Hi,
Please provide website URL with wordpress admin login detail so i can check and fix the issue easily .
Thanks 🙂
With Best Regards
Swift IdeasApril 17, 2014 at 2:29 pm #68079This reply has been marked as private.April 17, 2014 at 2:37 pm #68084Hi,
I see that its working perfect at my side . Its redirecting at http://www.fantasticook.fr/produit/plancha-gaz-fantasticook/ . Please attach marked screenshot for your issue .Thanks 🙂
With Best Regards
Swift IdeasApril 17, 2014 at 2:40 pm #68088It’s still not working for me on safari, firefox and chrome.
When i click on the button on the cart drop down “découvrir notre plancha”it’s redirecting to the home page
Regards
April 17, 2014 at 2:45 pm #68089I’m not sure we are taking about the same thing.
My issue is about the button which is originally called “go to shop” in the cart drop down when you cart is empty.
When you hover it, a cart icon appearsregards
April 18, 2014 at 6:34 am #68250HI,
We are not at same point .Please open to edit sf-woocommerce.php at /themes/dante/Swift-frameworkFind this code at line 160 <?php $shop_page_url = get_permalink( woocommerce_get_page_id( 'shop' ) ); ?> Replace with <?php $shop_page_url = get_permalink(88); ?>
Thanks 🙂
With Best Regards
Swift Ideas -
Posted in: Dante
You must be logged in and have valid license to reply to this topic.