Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Remove link to product on Orders page

WCMp Advanced Frontend Manager

Resolved
Viewing 6 reply threads
  • Author
    Posts
    • #118576
      redilson
      Participant

      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?

    • #118578
      redilson
      Participant

      To clarify, it would be within each order itself to remove the product links: /dashboard/vendor-orders/XXX/

    • #118584

      Hello,

      Can you please explain me the issue with the help of screenshot/video clip so that we can help you more efficiently.

    • #118602
      redilson
      Participant

      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!

    • #118604
      redilson
      Participant

      Odd, the jpg didn’t upload. Here’s another upload.

    • #118652

      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() ); ?>
      Copy

      Done. 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,

    • #122493

      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.

Viewing 6 reply threads

The topic ‘Remove link to product on Orders page’ is closed to new replies.