Home Forums Theme Support Dokan Side-widgets

This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Gustav 4 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22443

    Gustav
    Member
    Post count: 8

    Hello,

    I have 2 questions:

    1. Under “Product Categories” if I click on one category for exemple Electronics or Clothing. How can I change the sidebar-widget that are on the left side? On your demo page it is “Best seller”. I want to remove that and add the categorylist so it looks like the start page.

    2. On the Sellers Dashboard, how can I remove the category “Coupons”

    Thanks! ๐Ÿ™‚

    #22544

    Gustav
    Member
    Post count: 8

    The first question is resolved.

    Any ideas how I can remove the coupons? I dont want to use coupons at all. Thanks!

    #22577

    Sekander Badsha
    Member
    Post count: 2067

    Hi Gustav,
    When you need to change something in a theme, editing the theme file is really a bad idea. Creating child themes are cool. So make a child theme for Dokan. Here's how to: http://docs.wedevs.com/category/themes/dokan/developer-documentation-dokan/child-theme/
    Or you can read WordPress's official documentation about child theme here: http://codex.wordpress.org/Child_Themes

    Make a file named functions.php and paste the codes written below:

    add_filter( 'dokan_get_dashboard_nav', 'dokan_set_seller_dashboard_nav' );
    
    function dokan_set_seller_dashboard_nav( $urls ) {
        unset($urls['coupon']);
        return $urls;
    }

    Hope this helps. Don't hesitate to comeback if you have some more issues.

    #22589

    Gustav
    Member
    Post count: 8

    Thank you very much it worked! ๐Ÿ™‚
    Best regards
    Gustav

    2014-06-29 9:07 GMT+02:00 weDevs Team :

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

The topic ‘Side-widgets’ is closed to new replies.