How to hide vender name on product details
-
im using dokan multivendor plug in so i want hide vendor name
-
Hello @srikanth1122,
You can follow the procedure on the video to hide the tab on the single product page
Thank you 🙂
sir am using WordPress themes and dokan plugins for multi vendor in this cart page
cart totals tab
subtotal some amount
shipping Vendor name
Flat rate some amount
shipped to some region
total amounti want hide the shipping vendor name and shipping to some region
am hide this in website
but not hidden in mobile versionif the code enter in CSS
@media (max-width: 767px){
.cart-collaterals .cart_totals table.shop_table.shop_table_responsive tr th {
display: none;
}
}hidden shipping vendor name and shipping to region.
here on problem is amount is showing but AMOUNT CAPTION(SUBTOTAL & TOTAL) Names not showing
Hello @srikanth1122 ,
I am not too sure about your query but from your screenshot, it looks like you want to hide vendor name from checkout page & cart which can be done using this code in your functions.php file –
remove_action( 'woocommerce_order_item_meta_start', 'dokan_attach_vendor_name', 10, 2 ); remove_filter( 'woocommerce_get_item_data', 'dokan_product_seller_info', 10, 2 );
Thank you 🙂
were can i paste this code plz tell me sir
Hello @srikanth1122 ,
You can paste this under your current active theme’s functions.php file at the very last.
Thank you 🙂
Not working but am solved that problem and finally one problem is in order received details in product nane and vender name shows how can I hide that
Hello @srikanth1122 ,
Please provide a screenshot to illustrate your request so that I can understand it before suggesting anything.
Thank you.
Hello @srikanth1122 ,
I can assure you that this code I shared will work to remove the vendor name from the checkout page’s vendor name –
remove_action( 'woocommerce_order_item_meta_start', 'dokan_attach_vendor_name', 100, 2 ); remove_filter( 'woocommerce_get_item_data', 'dokan_product_seller_info', 100, 2 );
I just tested & it works properly.
Thank you 🙂
were can i paste this code
Hello @srikanth1122 ,
You can paste this under your current active theme’s functions.php file.
If you are not comfortable with these changes, please consult with an expert who can guide you to add the changes.
Thank you 🙂
sir working this code
remove_action( ‘woocommerce_order_item_meta_start’, ‘dokan_attach_vendor_name’, 10 );thank you sir
- The topic ‘How to hide vender name on product details’ is closed to new replies.