New Landing How can we help? Themeforest Theme Support Dante Icons on mobile menu

Viewing 15 posts - 1 through 15 (of 15 total)
  • Posted in: Dante
  • #66520
    etienneg01
    Member
    Post count: 22

    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

    #66813
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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 Ideas

    #67707
    etienneg01
    Member
    Post count: 22

    1. 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

    #68023
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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

    #68032
    etienneg01
    Member
    Post count: 22

    Hello,

    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 );

    #68061
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove that one and use this code

    function 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 Ideas

    #68065
    etienneg01
    Member
    Post count: 22

    it’s still not working.
    Is there a way to put the URL directly ?

    regards

    #68068
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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);

    #68072
    etienneg01
    Member
    Post count: 22

    Still nothing.

    I already tried those solution directly in the PHP file and it wasn’t working too
    Any other idea ?

    Regards

    #68077
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide website URL with wordpress admin login detail so i can check and fix the issue easily .
    Thanks 🙂
    With Best Regards
    Swift Ideas

    #68079
    etienneg01
    Member
    Post count: 22
    This reply has been marked as private.
    #68084
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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 Ideas

    #68088
    etienneg01
    Member
    Post count: 22

    It’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

    #68089
    etienneg01
    Member
    Post count: 22

    I’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 appears

    regards

    #68250
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    HI,
    We are not at same point .Please open to edit sf-woocommerce.php at /themes/dante/Swift-framework

    Find 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

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register