Side-widgets

This topic contains 3 reply and 2 voices, and was last updated by Gustav 9 years, 10 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
June 25, 2014 at 8:20 pm 22443
Gustav 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! :)
June 27, 2014 at 11:37 pm 22544
Gustav Gustav

The first question is resolved.

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

June 29, 2014 at 1:07 pm 22577
Sekander Badsha Sekander Badsha

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.

June 30, 2014 at 12:06 am 22589
Gustav Gustav

Thank you very much it worked! 🙂
Best regards
Gustav

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

Viewing 3 Posts - 1 through 3 (of 3 total)