MultivendorX
-
AuthorPosts
-
-
March 15, 2023 at 7:26 PM #189346l.ganParticipant
Hello
Please tell me if you can implement a solution in the future / or suggest solutions now:One seller may have several brands for sale. (Distribution). But each brand needs to have its own store page.
And the store/brand management page should be one. (statistics, etc.)I mean, if the “Orion Company” sells Dior, Gucci, Chanel.
Chanel has a separate product page and a separate seller name (vendor store page Chanel )(fronted), Gucci has a separate product page and a separate seller name (vendor store page Gucci )(fronted), Dior has a separate product page and a separate seller name (vendor store page Dior)(fronted).But in the back end, they are all managed by “Orion Company”. And Orion enters his account and can manage all 3 brands at the same time. he does not need to re-login?
-
March 16, 2023 at 10:53 AM #189374Sangita Support SquadKeymaster
Thanks for the suggestion . I have forwarded this to the Product enhancement team. Depending upon mass request and availability of resources, the team would be in a situation to proceed further.
You can keep track of the enhancement from here https://github.com/multivendorx/MultiVendorX/issues/338 -
March 16, 2023 at 4:54 PM #189385l.ganParticipant
Hello
Thanks for the feedback. It would be great.
For now, could you give me a couple of pieces of code / solutions so that I can temporarily use them?
1.How can I disable the vendor store page? I need to hide vendor store for clients. (fronted).
2. How to hide the ability to go to the vendor’s store from the dashboard (backend)?
3. How to disable followers in the dashboard (backend)?
4. ORDERS:
4.1. How can I add a column with the attribute name “pa_brand” to the column in photo 1?.
4.2.Is it possible to filter by the “pa_brand” attribute – for example, so that the “Orion Company” can select only “Gucci” orders? in photo 2.5. PRODUCT MANAGER:
5.1. How can I add a column with attribute name “pa_brand” to the column in photo 3.
5.2. Is it possible to filter by the “pa_brand” attribute – for example, so that the “Orion Company” can select only “Gucci” orders? in photo 4.Thanks, sorry to bother you
-
March 16, 2023 at 10:06 PM #189396NerdySupportExpert MoumitaKeymaster
Our team will check and get back to you.
-
March 16, 2023 at 10:13 PM #189398l.ganParticipant
3. How to disable followers in the dashboard (backend)? – I turned this off.
Please help me with other questions. Thank you
-
March 17, 2023 at 5:30 PM #189482NerdySupportExpert MoumitaKeymaster
Hi, our replies are inline :
1.How can I disable the vendor store page? I need to hide vendor store for clients. (fronted).
>> Reffer to this link https://multivendorx.com/docs/code-snippet/hide-vendors-shop-page/
2. How to hide the ability to go to the vendor’s store from the dashboard (backend)?
>> Add this code in the function.php of the theme :
`add_action(‘wp_before_admin_bar_render’, ‘remove_toolbar_items’);
function remove_toolbar_items() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu(‘vendor_dashboard’);
}`4. ORDERS:
4.1. How can I add a column with the attribute name “pa_brand” to the column in photo 1?.
>> Use this filter to add the coloumn by adding your own code :
mvx_datatable_order_list_table_headers4.2.Is it possible to filter by the “pa_brand” attribute – for example, so that the “Orion Company” can select only “Gucci” orders? in photo 2.
>> Use this hook to add extra filter by adding your own code : mvx_vendor_order_list_add_extra_filters
5. PRODUCT MANAGER:
5.1. How can I add a column with attribute name “pa_brand” to the column in photo 3.
>> Use this filter to add the cloumn mvx_vendor_dashboard_product_list_table_headers5.2. Is it possible to filter by the “pa_brand” attribute – for example, so that the “Orion Company” can select only “Gucci” orders? in photo 4.
>> Use this hook to add extra filter by adding your own code :
mvx_products_list_add_extra_filters -
March 18, 2023 at 12:10 AM #189514l.ganParticipant
Thanks for your wonderful help!
Can you please tell me if you have examples with adding an attribute?
I searched for items 4-5, by the names of the hooks, but found only the addition of the SKU, and the delivery address. For example: https://multivendorx.com/support-forum/topic/orders-table-earnings-commissions-and-shipping-cost/
Can you give a code that is suitable for adding an attribute?
Thanks again for the great plugin support
-
March 18, 2023 at 10:16 PM #189527NerdySupportExpert MoumitaKeymaster
@l.gan, our team will check and get back to you.
-
March 29, 2023 at 9:49 AM #190030promitaKeymaster
Can you please explain this a bit more i.e. what are you referring as “Can you please tell me if you have examples with adding an attribute?”
-
March 30, 2023 at 9:35 PM #190145l.ganParticipant
Hello
thanks for the answer
I have added a Brands column, but I don’t understand how to get the value of the “pa_brand” attribute for each product in this column. Could I ask you to help me with this?
add_filter( ‘mvx_vendor_dashboard_product_list_table_headers’, function($headers) {
$headers[‘vendor_brands’] = __( ‘Brand’, ‘multivendorx’ );
return $headers;
} );
// For add that headers content
add_filter( ‘mvx_vendor_dashboard_product_list_table_row_data’,
function( $row, $product, $filterActionData, $requestData ) {
$row[‘vendor_brands’] = $product->????
return $row;
}, 10, 4 ); -
April 1, 2023 at 9:59 PM #190247NerdySupportExpert MoumitaKeymaster
Our dev will check and get back to you.
-
April 3, 2023 at 5:23 PM #190319promitaKeymaster
Hi l.gan, To get the value of the “pa_brand” attribute add this code in functions.php of your current active theme:
add_filter( 'mvx_vendor_dashboard_product_list_table_headers', function($headers) { $headers['vendor_brands'] = __( 'Brand', 'multivendorx' ); return $headers; } ); // For add that headers content add_filter( 'mvx_vendor_dashboard_product_list_table_rows', function( $row, $product ) { $row['vendor_brands'] = $product->get_attribute('brand'); return $row; }, 10, 2 );
Copy
-
-
AuthorPosts
The topic ‘How can one vendor sell several brands from 1 account?’ is closed to new replies.