WCMp bundle is available at a slashed price

Grab It Now

hide Advance and linked products tabs

hide Advance and linked products tabs2019-03-29T10:23:40-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 Open

  • Author
    Posts
  • gionruno25
    Participant
    Post count: 76

    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: 3031

    @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: 76

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

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3031

    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: 76
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3031

    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: 76

    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: 3031

    @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: 76

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

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

    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: 472
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 76
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3031
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3031
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 76
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3031
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 76

    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: 3031
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 76
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3031
    This reply has been marked as private.
  • gionruno25
    Participant
    Post count: 76

    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

Please LOGIN to reply to this topic