Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Purnendu Dash

    (@purnendu)

    Hello,

    Apologies for the delayed response.

    “Remove capability to customer from refund request” – this option disables the capability of “Ask for refund” from the customer end. The screenshot you shared is the vendor can process their part of the refund.

    Regarding the tracking part, will get back to you at the earliest.

    Sumit Singh

    (@sumitsingh89612)

    Hi, We have fixed this issue and this will be fix in our next update.
    You can track status of issue by following link :
    https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/519

    • This reply was modified 4 years, 6 months ago by Sumit Singh.
    Thread Starter charliexstanford

    (@charliexstanford)

    Hello,

    I have resolved the following issues myself

    1) Removing the “refund button” by inserting the below code

    .wcmp-order-actions.wcmp-order-data-row-toggle {
        display: none;
    }

    2) Removing the “refund status” form by commenting these lines in dc-woocommerce-multi-vendor/templates/vendor-dashboard/vendor-orders/vendor-order-details.php

      <!-- Customer refund request -->
               <?php /*
                if( apply_filters( 'wcmp_vendor_refund_capability' ,true ) ){
                    $WCMp->template->get_template( 'vendor-dashboard/vendor-orders/views/html-order-refund-customer.php', array( 'order' => $order, 'vendor_order' => $vendor_order, 'vendor' => $vendor ) );
                }
               */ ?> 

    Can you please confirm is the above snippets are safe for other elements and future updates? if not, can you suggest a snippet for query (2) for functions.php?

    3) But I am still stuck at the third query – removing the tracking number. I understand that you are working on an update(github). But in the meanwhile can you please advise? I am not able to figure out resolve this. I tried this code below, it worked but it may remove all the blue buttons. That’s not a good thing.

    .wcmp-color-scheme-outer_space_blue .btn.btn-default {display: none; }

    I only need to hide this parthttps://prnt.sc/un5frl

    I have already removed the “mark as shipped” functionality by disabling the edit button. see here – https://prnt.sc/un5g4b

    Sumit Singh

    (@sumitsingh89612)

    Hi, We never prefer to edit the core plugin file and for tracking part kindly track the git link you will find the solution and that solution will be added in our next update.

    Thank you.

    Thread Starter charliexstanford

    (@charliexstanford)

    I am really not comfortable with using Github.

    I also don’t know when you will be releasing the update.

    Any filter to remove this meanwhile so that I can test the flow?

    Thank you so much!

    Sumit Singh

    (@sumitsingh89612)

    Hi, We will release our next update by tomorrow, you will get the solution in the latest update.

    Thank You.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Disable Refund and Tracking option not working’ is closed to new replies.