Chat with us, powered by LiveChat

WCMp bundle is available at a slashed price

Grab It Now

hide Advance and linked products tabs

hide Advance and linked products tabs2019-06-04T00:11:04-05:00

Home Support Forum WCMp Advanced Frontend Manager hide Advance and linked products tabs

WCMp Advanced Frontend Manager

hide Advance and linked products tabs Resolved

  • Author
    Posts
  • gionruno25
    Participant
    Post count: 89

    Hi there,
    i have tried to hide the Advance and linked products tabs from the vendor dashboard, without any luck.
    I copied the template in yourtheme/dc-product-vendor/vendor-dashboard/product-manager/edit-product.php and i add the code below:

    add_filter(‘wcmp_product_data_tabs’, ‘callback_wcmp_product_data_tabs’, 99);
    function callback_wcmp_product_data_tabs($tabs){
    unset($tabs[‘linked_product’]);
    unset($tabs[‘advance’]);
    return $tabs;
    }

    I also tried to add the tax class without luck, with:
    add_filter(‘wcmp_can_vendor_configure_tax’, ‘__return_false’);

    Can you help me, please?
    Thanks

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    @gionruno25, you need to add this code to the function.php of the current active theme :

    add_filter('wcmp_can_vendor_configure_tax', '__return_false');
    add_filter('wcmp_product_data_tabs', 'callback_wcmp_product_data_tabs', 99);
    function callback_wcmp_product_data_tabs($tabs){
    unset($tabs['linked_product']);
    unset($tabs['advance']);
    return $tabs;
    }
  • gionruno25
    Participant
    Post count: 89

    Yes, that’s exactly the code i put, but it does not work.

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    Hi @gionruno25, can you share a temporary admin, vendor and FTP access, so we can check.

    While sharing the access, don’t forget to mark the response as private.

  • gionruno25
    Participant
    Post count: 89
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    Hi @gionruno25, you were using the older version of WCMp Advance Frontend Manager, hence the issue.

    We have updated the plugin, now the tabs are removed.

    Please check and confirm.

  • gionruno25
    Participant
    Post count: 89

    Hi, yes it works but i find out again the same problem that i had few months ago. Basically the button “add Attribute” does not work. also please, pay attention when you log in as the vendor, you may notice that some fields are not translated.
    thanks again

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    @gionruno25, can we disable some plugin/theme for testing purpose?

    Also, please do let us know which strings are not translated, so we can help you out further.

  • gionruno25
    Participant
    Post count: 89

    Also, since you updated the plugin, i have now 2 folder for the wcmp_product_manager. see pic below

  • gionruno25
    Participant
    Post count: 89
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89

    Hi, thanks for the support. I will contact the TranslatePress – Multilingual support.

    however, i would like to know if it is possible to hide others strings?

    I would like to hide:
    – Calendar display mode on the “General” tab
    – Block cost, Display cost and the “add range” tab on “Cost” tab
    – Require a buffer period of
    – Adjacent Buffering?
    – Check rules against…
    – First block starts at…
    – Restrict start days?

    thanks a lot

  • Tech Tycoon Debleena
    Keymaster
    Post count: 492
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89

    Hi, i don’t have the access to the staging ftp.
    can you apply the change in the live website please?
    thanks

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 89

    hi. some strings are not hidden yet:
    – Block cost, Display cost, and the “add range” tab on “Cost” tab

    Also, the “person” tab does not work. it actually displays under the “availability” tab.
    Please check the pics attached.
    Although, it was a really good job.
    thanks a lot!
    Giovanni

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    @gionruno25, we have removed the Block cost, Display cost, and the “add range” tab on “Cost” tab fields.

    Also, we didn’t face the issue with Person: https://www.loom.com/share/76f2a8fd125b4d5f97fabeba8adee505

  • gionruno25
    Participant
    Post count: 89

    Hi, I watched the video you just sent to me. actually, the issue is still there. When you click on “Person” tab, it does not show up. what it displays is the “availability” tab. please have a look the video again.

    However thanks for removing the requested fields. it looks really good and perfect for what i need.
    thanks again for the fantastic work.

    Have a great day
    Giovanni

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    @gionruno25, our team is looking into this.

    I will keep you posted.

  • gionruno25
    Participant
    Post count: 89

    hi, everything works fine, but the button “add time range” in the availability tab does not work.
    can you check, please? thanks

    kind regards

  • gionruno25
    Participant
    Post count: 89

    Hi, did you have time to check my problem?
    Thanks
    giovanni

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    @gionruno25, as you can see, we haven’t face any such issue : https://www.loom.com/share/dd8962873252461e9ae1a069f3f41042

  • gionruno25
    Participant
    Post count: 89

    here the link for the video.
    https://www.loom.com/share/46582db58c7c49cfb806b28cd09ebb4f

    You have to click on the “add time range” button.
    Thanks

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    @gionruno25, as you shared before, we have removed this section and the other fields are working: https://prnt.sc/nw13q0

    Please check again and let us know if you need any further help.

  • gionruno25
    Participant
    Post count: 89

    I have been checking my website, and the button “Add Range” under AVAILABILITY tab does not work.
    I cannot add any time range.
    If i open the web developer tools, i got this error:
    https://sootasty.net/wp-content/plugins/dc-woocommerce-multi-vendor/lib/bootstrap/css/bootstrap.min.css.map

    i guess there are some mistakes or code errors since last time you have removed some fields as I requested.
    Can you check again please?
    Can you make sure that the button does not work in your side too?

    thanks a lot
    Have a good day
    Giovanni

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    Didn’t you want to remove this field, as shared here – https://prnt.sc/nw13q0

    If you want to keep this tab, I will make the adjustment as per that.

  • gionruno25
    Participant
    Post count: 89

    check the message on April 17:

    “hi. some strings are not hidden yet:
    – Block cost, Display cost, and the “add range” tab on “Cost” tab”. ”
    ___________

    i wanted to remove the time range from COST tab, and it’s been done. now we are good with that. you have removed all fields i have been requested.

    the only problem is the button “Add Range” under AVAILABILITY.
    Is that ok now?
    thanks a lot
    have a good week end
    Giovanni

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    @gionruno25, can you please check again.

    If you feel it needs any further modification, please do share some screenshots. It will be highly appreciated.

  • gionruno25
    Participant
    Post count: 89

    yes now it works fine! thanks a lot!

    Have a great day

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3848

    @gionruno25, great to know that.

The topic ‘hide Advance and linked products tabs’ is closed to new replies.