WCMp Advanced Frontend Manager
-
AuthorPosts
-
-
March 31, 2021 at 6:41 PM #118576redilsonParticipant
Hi WCMP team,
Is there a way to remove the link for the product within the Order view so it doesn’t take them away from the order screen?
-
March 31, 2021 at 6:42 PM #118578redilsonParticipant
To clarify, it would be within each order itself to remove the product links: /dashboard/vendor-orders/XXX/
-
March 31, 2021 at 7:14 PM #118584MVX Support NinjaKeymaster
Hello,
Can you please explain me the issue with the help of screenshot/video clip so that we can help you more efficiently.
-
March 31, 2021 at 10:40 PM #118602redilsonParticipant
Sure. I want to make the product in this Order page, in this example it’s the “Rewind Candle Snuffer – Gold”. I don’t want it to be a link that takes them to the edit product page. I just want it to be text without a link. Thanks!
-
March 31, 2021 at 10:42 PM #118604redilsonParticipant
Odd, the jpg didn’t upload. Here’s another upload.
-
April 1, 2021 at 6:35 PM #118652MVX Support NinjaKeymaster
Hi , in order to add these changes, you have to follow this :
To Removing product link from vendor order details
– via ftp access goto dc-woocommerce-multi-vendor/templates/vendor-dashboard/vendor-orders/view, here you will get 4 template. You need to override each template html-order-item.php , html-order-items.php , html-order-shipping.php , html-order-item-meta.php– Now create folder called ‘view’ in your theme by following this folder structure yourtheme/dc-product-vendor/vendor-dashboard/vendor-orders/views
create all those 4 file via this theme override and paste the code for each template html-order-item.php , html-order-items.php , html-order-shipping.php , html-order-item-meta.php
– Now open html-order-item.php for overriding, and remove line no 20.
-add below code after line no 19<?php echo wp_kses_post( $item->get_name() ); ?>
CopyDone. Now you can go to order details of vendor dashboard and you can see product link has been removed.
[Note: we did not override html-order-shipping.php, html-order-items.php and html-order-item-meta.php
But we must have to have these file in views folder, else multiple errors will occur.]Regards,
-
June 2, 2021 at 6:08 PM #122493MVX Support NinjaKeymaster
Hi, we haven’t heard back from you for a while. We presume this issue has been fixed.
Please open another thread if you need any further help.
-
-
AuthorPosts
The topic ‘Remove link to product on Orders page’ is closed to new replies.