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
0
votes
0 answers

How to cache products and categories based on Dokan pro stores in wordpress?

I have wordpress e-commerce store and there are two vendors in my store. I have implemented custom logic to make orders after selection of vendor (dokan pro) on store-listing page. I installed wp-cache plugin to cache pages. if we are on store-1 and…
0
votes
3 answers

Show/Hide div if fields as been populated

So I have a form with a repeater field...
'', 'name' => '', …
Ashley Young
  • 37
  • 1
  • 6
0
votes
0 answers

Display some products without the VAT on woocommerce

I'm seeking some help regarding the display of some products without the VAT. Context : I have a multi vendor marketplace (using DOKAN), so all the products are displayed and sold VAT included. In the cart, the prices are displayed with the total…
0
votes
0 answers

wp dokan plugin where do I modify product category page?

There is a wordpress site using woocommerce and dokan plugin. I am trying to remove some inline styles added directly in product categories page. I am not being able to find the file/template where the code is written. The site is build on Astra…
Homaira S
  • 21
  • 9
0
votes
1 answer

how to modify store name in dokan multivendor plugin using filters?

in developing a wordpress plugin i that, i want to modify the vendor name (store name, not the user name) by filters just like wordpress filters: function modify_name( $display_name ) { return $display_name. '-test'; } add_filter( 'the_author',…
K1-Aria
  • 1,093
  • 4
  • 21
  • 34
0
votes
0 answers

How is the tsclient share created (in terms of Windows API)?

Using the Windows RDP Client (mstsc.exe), I can share local resources with the host I'm connecting to. For example if I share C:\, I can use it in the RDP session in \\tsclient\c. What Windows API does the server side use to create the \\tsclient…
Fidel
  • 7,027
  • 11
  • 57
  • 81
0
votes
0 answers

Adding a custom field to Dokan shipping settings

I'm trying to add a custom field to the dokan shipping settings... I've tried this code but it breaks the site. add_filter( 'dokan_shipping_settings_form_top', 'extra_fields', 10, 2); function extra_fields( $current_user, $profile_info…
0
votes
0 answers

Set default WooCommerce shipping class cost

I'm building a marketplace using Dokan, I've setup a shipping class 'free-shipping' so that I can display a product badge. I would like to set the default cost of this shipping class to 0 so the vendors do not have to enter this themselves and to…
Ashley Young
  • 37
  • 1
  • 6
0
votes
0 answers

How do i set the products of my featured vendors as featured in woocommerce?

I'm looking at a way to try to set the products of featured stores in Dokan as featured in Woocommerce, but i'm unsure about how to go about this. function set_featured_products() { $args = array( 'featured' => 'true' ); $featured =…
Leo Cooper
  • 37
  • 5
0
votes
0 answers

Replace the "add to cart" link in WooCommerce to redirect to vendor's store

I have a multivendor marketplace on Wordpress using Dokan and WooCommerce. We no longer want the sales to be done on our website but directly on our vendors websites. How can I replace the "add to cart" link in order to redirect the customer to the…
0
votes
0 answers

My code to redirect after login is not working

I have a website with Woocommerce and Dokan and im trying to change redirect on login behaviour I have the following code: function filter_woocommerce_login_redirect( $redirect) { if ( !is_checkout()) { $redirect = home_url(); } else…
Leo Cooper
  • 37
  • 5
0
votes
0 answers

PHP/Dokan/WooCommerce. Change input type="text" to input="checkbox"

We have a WordPress site using Dokan. I'd like to add a checkbox where the user can check whether the product should be a donation. I got this snippet that I'm trying to modify. My PHP is a bit too basic. Please help. /* * Adding extra field on New…
0
votes
0 answers

How make a Rank Math sitemap to listing Dokan stores urls?

Is there any way to add Dokan stores urls to Rank Math sitemap? (for example make a stores-sitemap.xml included Dokan stores urls) Thanks a lot Regard We can add custom urls to Rank Math sitemap by adding following filter to…
Morteza
  • 1
  • 1
0
votes
0 answers

How to edit the Dokani theme to add random vendor section

The Dokani theme comes with a section on the front page with NEW vendors, I am unable to find the function, but i´d like to modify it to give me a random vendor from the id, maybe? vendor->all( array(…
0
votes
0 answers

In dokan plugin how to add a image/file custom field in vendor registration form

I am using Dokan Multivendor plugin for my wordpress e-commerce website. I want to add a custom upload image/file field in the vendor registration form so that the vendors can upload their Pan & Aadhar card photos on the website while registering…