Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Remove Step attribute from price field
- This topic has 5 replies, 2 voices, and was last updated 4 years, 8 months ago by Henriette.
- AuthorPosts
- April 22, 2020 at 10:37 am #121637HenrietteParticipant
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. - April 22, 2020 at 1:28 pm #121676SushobhanKeymaster
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! - April 24, 2020 at 11:23 am #122409HenrietteParticipant
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.
- April 24, 2020 at 4:23 pm #122502SushobhanKeymaster
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. - April 24, 2020 at 4:43 pm #122513HenrietteParticipant
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! ๐
- April 24, 2020 at 4:50 pm #122516HenrietteParticipant
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
- AuthorPosts
- You must be logged in to reply to this topic.