Nazmul Hassan
Forum Replies Created
-
Forum: Plugins
In reply to: [Redux Framework] Error on the admin dashboardNo further action required, it has been resolved. It was conflicting with another plugin called Quad Menu.
Forum: Plugins
In reply to: [Redux Framework] Error on the admin dashboard@kprovance You could wait before resolving this. However, I have switched to a default WordPress theme like as Twenty-twelve, but still the error shows up. I had followed the ticket instructions and re-installed the plugin but no luck.
Hello @existdigital1,
You can add the below snippet to your child-theme
functions.php
file or you can use a Code snippet plugin –function dokan_add_seller_nav_url($urls) { $urls['products']['title'] = 'Items'; return $urls; } add_filter( 'dokan_get_dashboard_nav', 'dokan_add_seller_nav_url', 11);
Hello @bigcheef,
You can easily add multiple tab but you have to write the code like below example:
add_filter('dokan_store_tabs', function($tabs, $store_id) { $tabs = [ 'products' => [ 'title' => __( 'Products', 'dokan-lite' ), 'url' => dokan_get_store_url( $store_id ), ], 'terms_and_conditions' => [ 'title' => __( 'Terms and Conditions', 'dokan-lite' ), 'url' => dokan_get_toc_url( $store_id ), ], ]; return $tabs; }, 100, 2);
Thanks!
@cousinr, You can check these files –
wp-content/plugins/dokan-lite/templates/products/tmpl-add-product-popup.php
wp-content/plugins/dokan-lite/templates/products/new-product.php
wp-content/plugins/dokan-lite/templates/products/new-product-single.php
Also, you can get some help from this post.
Thanks!
Hello @cousinr,
This plugin only works with WooCommerce. If you want those fields to work with the Dokan product upload form then you may require custom development.
You have to add extra fields similar to WooCommerce FAQ plugin providing and then you have to save the field value with the same meta key as like WooCommerce FAQ plugin.
As this process require customization for that reason, I am unable to provide more instruction.
Thanks!
Hello @adnan0061,
By default, there is no such option to add avatars from the account but you can use as @metalsunny suggested. It might solve your problem.
Thanks!
Hello @kalidarn,
Thanks for asking a nice question and surprising too! We maintain quality even in the free version of Dokan. If you need to check the quality of the plugin then you are free to check our coding standards and functionality of the plugin. Kindly note that this forum does not allow us to discuss anything related to paid version either on an issue or pre-sales.
However, Dokan PRO is 100% translatable with Loco-translate even most of our users are using LOCO to translate their website.
Before translating, you need to make sure that you have set the textdomain to
dokan
notdokan-pro
from Advance settings of loco. Here is a tutorial for the entire process.If you are still facing any issue then kindly contact our own forum/contact form where we provide support for the paid version.
Thanks!
Hello @hafaa10,
You can get it by doing a little modification on –
wp-content/plugins/dokan/templates/store-lists-loop.php
and then change the line #1 class<div id="dokan-seller-listing-wrap" class="grid-view">
to<div id="dokan-seller-listing-wrap" class="list-view">
If you want then you can override this
store-lists-loop.php
file through your child theme.Thanks!
Hello @sashakor,
The screenshot you have provided is from the backend vendor profile and this page has been developed with Vue.js and this file has the minified version into our plugin. So, it is not possible customize the part which you are referring ??
Cheers!
Hello @bmasson,
If you want to show store randomly on the store-page on each page load then you can use the below codes on your child-theme functions.php file –
function dokan_store_listing_orderby_ramdom_filter( $seller_args ) { $seller_args['orderby'] = 'dokan_store_rand'; return $seller_args; } add_filter( 'dokan_seller_listing_args', 'dokan_store_listing_orderby_ramdom_filter', 99 ); function dokan_store_listing_orderby_filter_query( $query ) { if ( $query->query_vars['orderby'] === 'dokan_store_rand' ) { $order_by = [ 'ID', 'user_login, ID', 'user_email', 'user_registered, ID', 'user_nicename, ID' ]; if ( false === ( $selected_orderby = get_transient( 'dokan_store_listing_random_orderby' ) ) ) { $selected_orderby = $order_by[ array_rand( $order_by, 1 ) ]; set_transient( 'dokan_store_listing_random_orderby', $selected_orderby, MINUTE_IN_SECONDS * 10 ); } $query->query_orderby = "ORDER BY $selected_orderby"; } } add_action( 'pre_user_query' , 'dokan_store_listing_orderby_filter_query' );
This will show the store thumbnail randomly on the store-list page after each page load by the customer. Please note that if you need more modification then feel free to use my given code and extend as you need.
Hello @alanfrys,
You can re-try the below codes –
/** * Validation add for product cover image * * @param array $errors * @return array $errors */ function dokan_can_add_product_validation_customized( $errors ) { $postdata = wp_unslash( $_POST ); $featured_image = absint( sanitize_text_field( $postdata['feat_image_id'] ) ); if ( isset( $postdata['feat_image_id'] ) && empty( $featured_image ) && ! in_array( 'Please upload a product cover image' , $errors ) ) { $errors[] = 'Please upload a product cover image'; } return $errors; } add_filter( 'dokan_can_add_product', 'dokan_can_add_product_validation_customized', 35, 1 ); add_filter( 'dokan_can_edit_product', 'dokan_can_add_product_validation_customized', 35, 1 ); function dokan_new_product_popup_validation_customized( $errors, $data ) { if ( isset( $data['feat_image_id'] ) && ! $data['feat_image_id'] ) { return new WP_Error( 'no-image', __( 'Please select AT LEAST ONE Picture', 'dokan-lite' ) ); } } add_filter( 'dokan_new_product_popup_args', 'dokan_new_product_popup_validation_customized', 35, 2 );
Hi @webdesign8287,
In Dokan we have used
woocommerce_register_form
filter to extend and now, if you want to add any new radio button then you can use this hookdokan_registration_form_role
which you can find on/dokan-lite/templates/global/seller-registration-form.php
.I hope this will help you to modify further.
Thanks!
Hello @raghadmadwar,
Your mentioned query might require customization on the product upload form of Dokan but by default, we do not have any pre-made solution for it by now.
As it will require custom development for that reason, I am unable to provide further assistance but you can modify the file here-
dokan/wp-includes/category-template.php
Thanks!
Hello @freelylw,
You are correct, Non-adaptive stripe plugin like as WooCommerce Stripe won’t show as a withdrawal method but the customer will be able to complete the purchase within it. Later the vendor might need to be paid through Bank or PayPal.
If you want then you can add your current Stripe as a withdraw method by following this blog post.
Cheers!