dokan

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

♀尐吖头ヾ 提交于 2021-02-11 05:53:17
问题 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' to extend the user class, so to get the ID of the vendors, I should be able to use something like: $post_data = get_post( $cart_item['product_id'] ); $vendor_id = $post_data->post_author; This does work, but it will only get the first vendor ID and simply

Displaying custom Select field in Dokan Vendor Dashboard

不羁的心 提交于 2021-02-08 11:37:52
问题 This is question have already been asked here How Add Custom Meta Fields to Dokan in New Product But no one answered that question. What I am trying to achieve is following: Need to display custom field in Dokan Vendor Dashboard, plugin author have answer with this "You have to customize Dokan plugin to add an extra field on the product upload form. Please open dokan-lite/templates/products/new-product.php and in this file, you have to add an extra field. As we do not provide support to

Displaying custom Select field in Dokan Vendor Dashboard

你。 提交于 2021-02-08 11:37:43
问题 This is question have already been asked here How Add Custom Meta Fields to Dokan in New Product But no one answered that question. What I am trying to achieve is following: Need to display custom field in Dokan Vendor Dashboard, plugin author have answer with this "You have to customize Dokan plugin to add an extra field on the product upload form. Please open dokan-lite/templates/products/new-product.php and in this file, you have to add an extra field. As we do not provide support to

Assign Dokan vendor shipping address to store address in Woocommerce

坚强是说给别人听的谎言 提交于 2021-01-24 13:22:22
问题 I am using Dokan and Woocommerce plug-in for my wordpress site. I want all vendors ship their products to store address not customer address. After that I want to ship products from store to their address. But always shipping address is shown to vendors, is customer address and not mine address. I have disabled vendor shipping in Dokan but still shipping address is customers address and not mine. How can I change shipping address shown to vendors to my store address? I checked Woocommerce

Assign Dokan vendor shipping address to store address in Woocommerce

这一生的挚爱 提交于 2021-01-24 13:22:08
问题 I am using Dokan and Woocommerce plug-in for my wordpress site. I want all vendors ship their products to store address not customer address. After that I want to ship products from store to their address. But always shipping address is shown to vendors, is customer address and not mine address. I have disabled vendor shipping in Dokan but still shipping address is customers address and not mine. How can I change shipping address shown to vendors to my store address? I checked Woocommerce

How stable is dokan sshfs?

半城伤御伤魂 提交于 2020-01-13 03:17:36
问题 People have reported BSOD on windows 7 (64bit) http://dokan-dev.net/en/2009/04/06/the-next-release-of-dokan-library/. For some reason unknown to me, my explorer on winxp sp3 (32bit) gets shaky and at time freezes if I do lots of browsing via doken SSHFS drive. Have you faced any issues lately with sshfs doken driver? Just wanted to get your opinion on its stability? 回答1: Yes, BSOD on x64 in general, with 100% certainty on my Windows Vista x64, everytime ! The shaky is because it continuously

How Add Custom Meta Fields to Dokan in New Product

故事扮演 提交于 2019-12-23 18:05:19
问题 i Created New Field Called Version with this Tutrial http://www.remicorson.com/mastering-woocommerce-products-custom-fields/ i show it in product page i want to Add this field to Dokan, New Product Create Page and Seller Set the Version on New Product Create Page 来源: https://stackoverflow.com/questions/41985106/how-add-custom-meta-fields-to-dokan-in-new-product

Display dokan vendor name on Woocommerce single product pages

被刻印的时光 ゝ 提交于 2019-12-13 00:16:56
问题 With woocommerce I am using Dokan plugin and I am trying to display the vendor name, rating and vendor location on single product pages. I tried this code to display vendor name but no luck: //show store name add_action( 'woocommerce_single_product_summary', 'show_store_name', 20 ); function show_store_name() { printf( '<b>Seller Name:</b> <a href="%s">%s</a>', dokan_get_store_url( $author->ID ), $store_info['store_name'] ); } Any help is appreciated. 回答1: I don't use dokan plugin. Here is

wordpress , problems with text blocks, they dissapear

南笙酒味 提交于 2019-12-11 03:53:45
问题 I'm a beginner in wordpress,recently I installed the dokan plugin for my online shop, gave me problems and I read that the solution was add this code add_action('wp_enqueue_scripts', 'mgt_dequeue_stylesandscripts',99); function mgt_dequeue_stylesandscripts() { if ( class_exists( 'woocommerce' ) ) { wp_dequeue_style( 'select2' ); wp_deregister_style( 'select2' ); wp_dequeue_script( 'select2'); wp_deregister_script('select2'); } } I am using the handy store template, so I put the code in the

Add custom fields to existing form on Dokan (wordpress/woocoomerce)

≯℡__Kan透↙ 提交于 2019-12-10 11:58:53
问题 I am trying to add custom fields on Dokan (woocommerce plugin - http://demo.wedevs.com/dokan/) seller settings to edit values from the user address on woocommerce. Dokan has a form on frontend for sellers to edit his store settings. I changed my themes functions.php with this code: <?php function endereco() { $user_id = get_current_user_id(); ?> <div class="gregcustom dokan-form-group"> <label class="dokan-w3 dokan-control-label" for="setting_address"><?php _e( 'Cidade', 'dokan' ); ?></label>