Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Limit data entry fields when using Simple Auction
Tagged: simple auction
- This topic has 7 replies, 2 voices, and was last updated 5 years, 1 month ago by WCFM Forum.
- AuthorPosts
- November 3, 2019 at 9:16 pm #90474CommunityCoralsParticipant
Hello,
I would like to clean out the auction tab from data entry fields that aren´t useful for my auctions. Can you let me know which template and which lines have to be commented out to make the fields disappear I marked in the screenshot?
Thanks
DominiqueAttachments:
You must be logged in to view attached files. - November 3, 2019 at 9:17 pm #90476CommunityCoralsParticipant
Ah, I forgot to mention that it is not possible to choose a time as indicated in the screenshot.
BR
Dominique - November 6, 2019 at 4:58 pm #91123WCFM ForumMember
Hi,
Please add this code to your site –
add_filter( 'wcfm_product_manage_wcsauction_fields', function( $auction_fileds, $product_id ) { $auction_fileds = wcfm_hide_field( '_auction_item_condition', $auction_fileds ); $auction_fileds = wcfm_hide_field( '_auction_type', $auction_fileds ); $auction_fileds = wcfm_hide_field( '_regular_price', $auction_fileds ); $auction_fileds = wcfm_hide_field( '_auction_reserved_price', $auction_fileds ); return $auction_fileds; }, 50, 2 );
Thank You
- November 8, 2019 at 1:12 am #91346CommunityCoralsParticipant
Thank you – Works perfectly fine. How about the time setting issue. I now realized that it is possbile to change time with arrow buttons on keyboard. Any chance to make this more intuitive?
Thanks
Dominique - November 8, 2019 at 1:15 am #91347CommunityCoralsParticipant
Just checked on mobile. There it is not possible to change time at all. You think you can fix this please?
BR
Dominique - November 12, 2019 at 9:35 am #91907WCFM ForumMember
Well, there should be datepicker for date-time fields.
Please check in Google Chrome Browser console, is there any JavaScript error happening to the add product page or not!
(What is browser console – https://support.airtable.com/hc/en-us/articles/232313848-How-to-open-the-developer-console) - November 12, 2019 at 1:54 pm #91950CommunityCoralsParticipant
Hi,
I have the calendar and the date works fine. But for the time I have no slider. Just a grey box. Check attached screenshot. Same on mobile. Seems like the box is the slider. Completely compressed to this small area.
The console shows attached messages
BR
DominiqueAttachments:
You must be logged in to view attached files. - November 17, 2019 at 8:54 am #92620WCFM ForumMember
We already discussing this over email, closing here.
- AuthorPosts
- The topic ‘Limit data entry fields when using Simple Auction’ is closed to new replies.