Forum Replies Created
-
AuthorPosts
-
March 6, 2023 at 6:03 PM in reply to: Overriding Templates for the Marketplace Membership Module Does Not Work #187524
promita
ModeratorHi @Justin Harrison, Sorry for the inconvenience. Actually, there was an issue with the overriding instruction. I have added the proper folder structure in your site, please check the modification now.
promita
Moderator@2ki, In order to remove those types you can override the shopfront.php file in your current active theme and remove line no 32 and 33.
promita
ModeratorHi a.dalcamo, to remove the mapbox from checkout page add this code in the functions.php of your current active theme.
add_filter( 'mvx_is_allow_checkout_user_location', '__return_false' );
CopyFebruary 9, 2023 at 6:00 PM in reply to: Emails not sending to Admin and User when order is created. #180130promita
ModeratorHi Jacinta Thomas, we show the wholesaler price using woocommerce filter.
so you need to use ‘woocommerce_get_price_html’ filter to add your checking. For reference you may see this link https://sarathlal.com/display-product-price-for-logged-in-users-only-woocommerce/February 7, 2023 at 5:47 PM in reply to: Vendor cannot change order status + High-Performance Order Storage compatibility #168433promita
ModeratorHi l.gan, Yes this is the correct code to display the field in the storefront.
February 3, 2023 at 6:34 PM in reply to: Vendor cannot change order status + High-Performance Order Storage compatibility #150094promita
ModeratorThis reply has been marked as private.January 28, 2023 at 3:51 PM in reply to: Vendor cannot change order status + High-Performance Order Storage compatibility #149882promita
ModeratorHi l.gan, you saved the data in post meta but you need to save this in user meta. You also need to use ‘mvx_save_custom_store’ hook for this.
January 25, 2023 at 3:03 PM in reply to: Vendor cannot change order status + High-Performance Order Storage compatibility #149734promita
Moderator@l.gan, can you please confirm exactly where do you want to display the extra field?
I have checked the storefront page the custom field is there.
So, please do explain what further modification are you looking for so we can assist you accordingly.December 28, 2022 at 6:35 PM in reply to: Vendor cannot change order status + High-Performance Order Storage compatibility #148593promita
ModeratorHi @l.gan, thanks for your access. I have added the code in your code-snippets.
Here is the code that I have added already.//Add a bulk action to Orders bulk actions dropdown add_filter('mvx_bulk_actions_vendor_order_list', 'mvx_add_bulk_options_vendor_order_list', 10, 2); function mvx_add_bulk_options_vendor_order_list( $list, $vendor ) { $add_bulk = array( 'mark_delivery' => __( 'Change status to delivery', 'multivendorx' ), ); return array_merge( $list, $add_bulk ); }
CopyDecember 10, 2022 at 5:31 PM in reply to: The prohibition of deleting and editing the name and url of the product. #147655promita
ModeratorHappy to help @i.gan
December 8, 2022 at 8:31 PM in reply to: The prohibition of deleting and editing the name and url of the product. #147520promita
ModeratorThis reply has been marked as private.November 24, 2022 at 4:04 PM in reply to: Code for Customer adresses and product detail in the vendor dashboard #146703promita
ModeratorHi James, use this code in your functions.php file.
add_filter('mvx_datatable_order_list_table_headers', 'test_callback', 10, 2); function test_callback($orders_list_table_headers, $current_user_id) { $orders_list_table_headers['billing_name'] = array('label' => __( 'Noms et Adresses', 'multivendorx' )); $orders_list_table_headers['products'] = array('label' => __( 'Articles', 'multivendorx' )); return $orders_list_table_headers; } add_filter('mvx_datatable_order_list_row', 'test_function', 10, 2); function test_function($vendor_rows, $order) { $item_name = array(); foreach ($order->get_items() as $item_key => $item_values) { $item_name[] = $item_values->get_name(); } $vendor_rows['billing_name'] = $order->get_billing_first_name() . ' ' . $order->get_billing_last_name() .'</br></br><b>Ship To:</b></br>'. $order->get_formatted_shipping_address(); $vendor_rows['products'] = implode(" ", $item_name); return $vendor_rows; }
CopyLet us know if you have any further query.
promita
ModeratorHi luanne, In order to remove customer questions submenu from the vendor dashboard, you can add this code in functions.php of your child theme :
//Delete customer questions submenu from Vendor Dashboard add_filter('mvx_vendor_dashboard_nav', 'callback_mvx_vendor_dashboard_nav', 99); function callback_mvx_vendor_dashboard_nav($vendor_nav){ unset($vendor_nav['store-settings']['submenu']['products-qna']); return $vendor_nav; }
CopyLet us know if you have any further query.
promita
ModeratorHi Klaus Thomas Russ, In order to hide those order status add this code in functions.php of your child theme :
//hide order status from vendor dashboard add_filter('mvx_vendor_order_statuses','hide_status'); function hide_status($status) { unset($status['wc-on-hold']); //remove on-hold unset($status['wc-failed']); //remove failed unset($status['wc-checkout-draft']); //remove draft return $status; }
CopyLet us know if you have any further query.
-
AuthorPosts