Questions tagged [dokan]

Microsoft Windows library to program file system drivers in user space Also Dokan is the front end multi-vendor marketplace on WordPress, powered by WC. It helps you to build your own marketplace similar to Amazon.

192 questions
1
vote
1 answer

Sort WooCommerce cart items by vendor when using Dokan plugin

We are working on a solution to sort the products in cart and checkout by the vendors store names. We found this here: Woocommerce sort cart products by product category but we have to extend this code for our case. Every product has a vendor. So we…
Nik7
  • 346
  • 2
  • 16
1
vote
2 answers

Woocommerce get sub order number in multi vendor orders

I'm using woocommerce and dokan plugin in wordpress. After I try to order product in multi vendor, I get the sub order number in thank you page. I try to get sub order number by running this code below but not work. //example order id $order =…
catLovers
  • 41
  • 7
1
vote
1 answer

Display vendor store-name (Dokan) on WooCommerce admin order preview

We add vendor information in the admin order details for each order via: WooCommerce show vendor store-name (Dokan) in admin order details overview Now I also want to add this information also in the order preview. I found this answer Display…
Nik7
  • 346
  • 2
  • 16
1
vote
1 answer

Show Dokan vendor country on WooCommerce product catalog

Can someone help me how can i fix this code instead of showing the country it shows the author can you guys tell me what i did wrong on this code? add_action( 'woocommerce_after_shop_loop_item_title','sold_by' ); function sold_by(){ …
1
vote
1 answer

WooCommerce show vendor store-name (Dokan) in admin order details overview

We want to show the vendor(s) from a order in the Admin order detail overview. We use some parts from the code below to display the vendor for each product in the invoice. Now we want to display which vendor are in the order actually for admin…
Nik7
  • 346
  • 2
  • 16
1
vote
1 answer

How to show uploaded image in frontend vendor dashboard?

I'm try to show vendor uploaded QR code in vendor dashboard.(Check screenshot 1) Screenshot 1 Source Code add_action( 'dokan_dashboard_right_widgets', array( $this, 'get_qr_code_widget' ), 10 ); public function get_qr_code_widget() { if ( !…
1
vote
1 answer

WooCommerce Dokan multivendor hide order for vendors with specific order status

We using Dokan multivendor and want to hide orders from vendor order overview dashboard with specific order status. Below is the whole code from Dokan to display orders to vendors in the order overivew. I'm able to filter the orders for one specific…
Nik7
  • 346
  • 2
  • 16
1
vote
1 answer

Mount MTP device on windows

I am attempting to mount an android device on a machine running Windows 10 for the purpose of accessing files via a Java application. I am aware that the consensus is one should use a WebDav or FTP server, but I would like to avoid this if possible.…
1
vote
2 answers

Programatically install Dokan with my C# app?

I have an app that requires Dokan. When the app starts, I wish to check whether Dokan is installed or not. If it's not, how do I install it? I have the installer file, but how do I silently install it? I don't want to bother the users with yet…
Vercas
  • 8,931
  • 15
  • 66
  • 106
1
vote
1 answer

Integrate custom checkboxes in dokan for Woocommerce product

I'm new in the code world and I'm using Woocommerce with the Dokan plugin. I added the code below to the add product page, but I need this code to be integrate with nexts pages in Woocommerce as edit page or single product page: add_action(…
1
vote
1 answer

How do I add extra fields in Dokan?

Good Day. I am developing a multivendor website for my client and I used Dokan. My client would like his vendors to add a (Sample Product Price) and (Bulk Product Price). Is there any way to add those fields? He also would like his vendors to add…
1
vote
2 answers

How to get vendor details from order inside woocommerce hooks - Dokan

How can I get vendor info/details from an order inside woocommerce hooks. So far I've been able to get standard woocommerce fields from the order like so: add_action('woocommerce_order_status_completed', 'wc_send_complete_notif'); function…
Redgren Grumbholdt
  • 1,115
  • 1
  • 19
  • 36
1
vote
1 answer

Woocommerce - Registration page no response on form submit

I'm trying to create a separate registration page for new customers, I successfully created one for the login page by creating a copy of the original file of form-login.php and access it using the following code in functions.php //create a new…
Polar
  • 3,327
  • 4
  • 42
  • 77
1
vote
1 answer

Custom fields to be displayed via code in woocommerce / dokan

Help would be great with this... pulling my hair out. So I use a multivendor plugin.( Dokan ) On the vendor add new item page, I would like to have a drop-down with options for them to choose. Then show that on the product page. Any way of doing…
pkjack
  • 21
  • 5
1
vote
1 answer

Woocommerce - Sort products in cart by Author/User in Multi-vendor setup

I have a multivendor Woocommerce shop using Dokan plugin and I'm trying to split out the shopping cart into sections based on who the vendor is. For example: Vendor 1 Product C Product B Vendor 2 Product A Dokan uses a custom role 'vendor'…
GLM
  • 31
  • 9