wcfm-santa

A deal you can't resist! Get upto 35% Off on this entire cyber week.

CLAIM OFFER
02Day 00Hr 07Min 21Sec
wcfm-santa

Remove Step attribute from price field

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 – Ultimate Remove Step attribute from price field

Viewing 5 reply threads
  • Author
    Posts
    • #121637
      Henriette
      Participant

      Hi,

      Is it possible to remove the Step attribute from the price field in Vendor dashboard when adding a product?
      If cursor is still in the field when vendor scrolls down the price scrolls lower also.
      It’s easy to miss if you’re busy with adding a product.

      Thank you

      Attachments:
      You must be logged in to view attached files.
    • #121676
      Sushobhan
      Keymaster

      Hi,
      Please use the following snippet to change this behavior-

      add_filter('wcfm_product_manage_fields_pricing', function($general_fields) {
          if(isset($general_fields['regular_price'])) {
              $general_fields['regular_price']['type'] = 'text';
          }
          if(isset($general_fields['sale_price'])) {
              $general_fields['sale_price']['type'] = 'text';
          }
          return $general_fields;
      });

      Add this code to your child theme’s functions.php. In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
      Let me know how it goes.
      Thanks!

    • #122409
      Henriette
      Participant

      Hi Sushobhan,
      Sorry for my late reply. Somehow I missed the notification in my mailbox.
      I placed the code in my child theme and it works.

      Thank you very much.

    • #122502
      Sushobhan
      Keymaster

      You are always welcome ๐Ÿ™‚
      Let me know if there’s anything else we can help you with.
      Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

    • #122513
      Henriette
      Participant

      Hi,

      Let me know if thereโ€™s anything else we can help you with.

      Well, as a matter of fact there is. At the moment I have two other issues (undoubtedly more in the future ๐Ÿ˜‰ )
      I bumped this topic about Vendor payment info : https://wclovers.com/forums/topic/vendor-buyer-direct-payment/
      Please look at the bottom of the topic.

      And I have a problem translating the notice in Single Vendor Checkout: https://wclovers.com/forums/topic/translate-notice-single-vendor-checkout/

      I also had a problem with Store Invoice; Make Shipment Tracking Not Required. But if the problem with adding Bank Details is solved than I don’t need store invoice anymore so you can ignore that topic.

      Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace.

      Done! ๐Ÿ˜€

    • #122516
      Henriette
      Participant

      Oh and sorry, one more thing:

      Translating the wonderful new option of Local Pickup in my language.

      https://wclovers.com/forums/topic/how-to-translate-local-pickup-pickup-from-store/

      Thank you

Viewing 5 reply threads
  • You must be logged in to reply to this topic.