How could i hide the option fee of Product addons atproduct manage page?

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM How could i hide the option fee of Product addons atproduct manage page?

Viewing 19 reply threads
  • Author
    Posts
    • #37058
      MOHO
      Participant

      I enable product addons plugin, but i want to hide the option fee.

      The store vendor could add what kind of addon they want.

      But no fee could add, thanks.

      Attachments:
      You must be logged in to view attached files.
    • #37180
      WCFM Forum
      Member

      Hi,

      Kindly add this code snippet for the purpose –

      add_action( 'end_wcfm_products_manage', function() {
      	?>
        <script>
      	jQuery(document).ready(function($) {
      		$( document.body ).on( 'init_tooltips', function() {
      			$('#product_addons_data').find('.wc-pao-addon-content-price-type').css( 'display', 'none' );
      		  $('#product_addons_data').find('.wc-pao-addon-adjust-price-select').css( 'display', 'none' );
      		});
      	});
        </script>
      	<?php
      }, 210 );

      Thank You

    • #37228
      MOHO
      Participant

      The price field also display
      http://mall2.sites.moho.tw/admin/products-manage/

      Attachments:
      You must be logged in to view attached files.
    • #37245
      WCFM Forum
      Member

      Hi,

      Please use this revised code –

      add_action( 'end_wcfm_products_manage', function() {
      	?>
        <script>
      	jQuery(document).ready(function($) {
      		$( document.body ).on( 'init_tooltips', function() {
      			$('#product_addons_data').find('.wc-pao-addon-content-price-type').css( 'display', 'none' );
      		  $('#product_addons_data').find('.wc-pao-addon-adjust-price-select').css( 'display', 'none' );
      		});
      		$( document ).ajaxComplete(function() {
      			setTimeout(function() {
      				$('#product_addons_data').find('.wc-pao-addon-content-price-type').css( 'display', 'none' );
      				$('#product_addons_data').find('.wc-pao-addon-adjust-price-select').css( 'display', 'none' );
      			}, 10 );
      		});
      	});
        </script>
      	<?php
      }, 210 );

      Thank You

    • #37254
      MOHO
      Participant

      I still see price field

      Attachments:
      You must be logged in to view attached files.
    • #37285
      WCFM Forum
      Member

      Hi,

      Do you have deleted and added my new code?
      Please clear caches and take a look.

      Thank You

    • #37332
      MOHO
      Participant

      Yes i put in child theme function.php

      Attachments:
      You must be logged in to view attached files.
    • #37336
      WCFM Forum
      Member

      Really strange!

      Look there is number “10” at line 667, change that to 100 and check once.

      Thank You

    • #37339
      MOHO
      Participant

      I use Product Add-Ons 3.0.3 the new version.

      No change now

    • #37340
      WCFM Forum
      Member

      So, you are still getting this – https://wclovers.com/wp-content/uploads/2018/11/2018-11-20_203147-1.jpg

      Kindly add this CSS to child theems’s style.css –

      #product_addons_data .wc-pao-addon-content-price-type {display:none !important;}

      Thank You

    • #37342
      MOHO
      Participant

      I change back version 2.9.6

      and add your css code, but the same.

      Attachments:
      You must be logged in to view attached files.
    • #37344
      WCFM Forum
      Member

      Hi,

      Don’t revert version, use latest once.

      Actually, in 3.0 WC Product Addons changed totally.

      In which site you have added this, I will check there and please keep latest version.

      Thank You

    • #37346
      WCFM Forum
      Member

      One more thing, which browser you are using for testing this?
      Google Chrome or something else!

    • #37353
      MOHO
      Participant

      I use Google Chrome
      yes 3.0 change all

    • #37617
      WCFM Forum
      Member

      Can you please update WC Product Addons to 3.0+

      I have to check that issue.

      Thank You

    • #37831
      MOHO
      Participant

      I update WC Product Addons to 3.0.4

      you could check it, thanks.

    • #37842
      WCFM Forum
      Member

      Great .. I am checking this.

      Thank You

    • #37851
      WCFM Forum
      Member

      Hi,

      Just checked and it works perfect for me – https://www.useloom.com/share/2064989ffda2444484f679d56dbc1b98

      Possibly you are having caching issue.

      Thank you

    • #38103
      MOHO
      Participant

      Is this option fee?

      Attachments:
      You must be logged in to view attached files.
    • #38286
      WCFM Forum
      Member

      Hi,

      DO you want to hide “Price” field?
      Then how WC Addons will work?

      Thank You

Viewing 19 reply threads
  • The topic ‘How could i hide the option fee of Product addons atproduct manage page?’ is closed to new replies.