alamgircsebd
Forum Replies Created
-
Hello @nijatmursali
I see you want get vendor information, here have simple way to get the information’s.
simply pass vendor ID to this function
dokan_get_store_info()
Example:$seller_id = 99; $store_info = dokan_get_store_info( $seller_id );now here will return all kinds of seller information’s with this array
$store_infoif you want to show street address then print :
$store_info['address']['street_1']if you want to show zip then print :
$store_info['address']['zip']If you have still confusion let me know, i will be here.
Thanks!
- This reply was modified 5 years, 6 months ago by alamgircsebd.
Hello @ilanb
you using
add_filterwhich is wrong. here you should useadd_actionuse this codes, here different only
add_filtertoadd_actionfunction delete_product_pharma_whendisabled( $user_id ) { global $wpdb; $wpdb->get_results($wpdb->prepare("DELETE FROM {$wpdb->prefix}geo_location WHERE user_id = '%d'", $user_id)); $wpdb->get_results($wpdb->prepare("DELETE FROM {$wpdb->prefix}postmeta WHERE user_id = '%d'", $user_id)); $wpdb->get_results($wpdb->prepare("DELETE FROM {$wpdb->prefix}posts_users WHERE user_id = '%d'", $user_id)); } add_action( 'dokan_vendor_disabled', 'delete_product_pharma_whendisabled' );Hello @mohitbd
I see you getting some issue with earning balance, can you confirm me 2 things here.
- What was payment methods for those orders? is that Cash on Delivery (COD)?
- Did you enable Exclude COD Payments from WP admin Dokan Settings (See screenshot http://prntscr.com/u9rore)?
Hello @shaar7
I see your site have some issue with media responsive cause of css optimized. Here have some css codes, can try to use this css on this location Appearance => Customize => Additional CSS
@media only screen and (max-width: 768px) { .woocommerce ul.products.columns-6 li.product, .woocommerce-page ul.products.columns-6 li.product { width: 100%; } }- This reply was modified 5 years, 9 months ago by alamgircsebd.
Hello @verdeguru as per your scenario here not getting any issue, when we try to visit vendor dashboard without login then it redirecting to my account page, and after login it going to vendor dashboard properly.
Here what you mean “proper configuration”, Dokan have setup wizard option where vendor can configuration some settings and it only show after register 1st time login and it’s one time showing.
Thanks!