Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Feature Request › Few Modification | Some field request
- This topic has 19 replies, 2 voices, and was last updated 6 years, 3 months ago by WCFM Forum.
- AuthorPosts
- July 25, 2018 at 3:38 am #26890wwsAdminParticipant
Hello Team i have few request,
1. On vendor registration page of wcfm, can we make First name and Last name mandatory.
2. Is it possible to add One more phone number ? Store number and Personal Number. And can we have some check ? on it it is taking Text as well (IMG Attached).
3. In near future is there possibility to to verify phone number similar to email verification.
4. Vacation mode: Disable Purchase During Vacation to be made True / Enabled as soon as vendor enable Vacation mode and remove/hide Disable Purchase During Vacation from page.
5. Under wcfm/messages/ we have two section, To store admin (message system) and Notifications. Can we separate it ?
6. Can we have different icon for wcicon-variable and wcicon-simple. it’s already different but not differentiable by looking.
7. Under profile section can we have confirm password, as there is only one box it will reset password or we can use lost password again instead of input box. And phone number can we have some check ? on it it is taking Text as wellThat’s it for now, let me know what effort is required and charges if any.
- July 29, 2018 at 6:52 am #27090wwsAdminParticipant
Regarding 4. extended
can we disable Vendor message as well. We want generic message to be displayed for every vendor.So requirement is like this: Disable Purchase During Vacation to be made True / Enabled as soon as vendor enable Vacation mode is also enable with generic message.
Vendor can only enable and select effectiveness - July 31, 2018 at 10:58 am #27353WCFM ForumMember
Hi,
1. On vendor registration page of wcfm, can we make First name and Last name mandatory.
– It requires a small custom code, I will give you that2. Is it possible to add One more phone number ? Store number and Personal Number. And can we have some check ? on it it is taking Text as well (IMG Attached).
– Yeah sure, just add that using Registration custom field from Membership Setting panel. You just add a same kind of User Field using “Toolset” and then it will be available every where, vendor profile and wp-admin -> users-> profile3. In near future is there possibility to to verify phone number similar to email verification.
– It will be there as WCfM SMS notification module will be there very soon4. Vacation mode: Disable Purchase During Vacation to be made True / Enabled as soon as vendor enable Vacation mode and remove/hide Disable Purchase During Vacation from page.
– We will add a prohibition to override vendor vacation message in next update5. Under wcfm/messages/ we have two section, To store admin (message system) and Notifications. Can we separate it ?
– You mean, two section in two separate page? Actually, direct message will move to WCfM Chat section very soon6. Can we have different icon for wcicon-variable and wcicon-simple. it’s already different but not differentiable by looking.
– You can tweak this very easily using some CSS7. Under profile section can we have confirm password, as there is only one box it will reset password or we can use lost password again instead of input box. And phone number can we have some check ? on it it is taking Text as well
– What kind of check you want to add, only number?Thank You
- August 1, 2018 at 2:19 am #27371wwsAdminParticipant
HI team,
1. Thats sounds great 🙂
2. Sure will try.
3. Sounds like plan.
4. looking forward. And also can we make Disable Purchase During Vacation true as soon as vendor enable Vacation mode and remove Disable Purchase During Vacation.?
5.Yeah separate kind of.
6. will look into it
7. A) Under profile section can we have confirm password, as there is only one box it will reset password, else we can use Confirm password again to revalidate what are we adding. Usually When we are logged in any system we get 3 box (• Old Password •New Password •Confirm New password) to reset password.
B) Input box such as Phone Number , Price, sale price, Stock qty etc expects input in number , so we should have number type input parameter. in Plugin it is Text so check only number - August 1, 2018 at 7:16 am #27395WCFM ForumMember
Hi,
1. Here is your code –
function wcfm_membership_registration_custom_fields( $registration_fileds ) { global $WCFM; if( isset( $registration_fileds['first_name'] ) ) { $registration_fileds['first_name']['custom_attributes'] = array( 'required' => 1 ); } if( isset( $registration_fileds['last_name'] ) ) { $registration_fileds['last_name']['custom_attributes'] = array( 'required' => 1 ); } return $registration_fileds; } add_filter( 'wcfm_membership_registration_fields', 'wcfm_membership_registration_custom_fields' );
4. There already has a checkbox for disabling purchase during vacation. What you want here, i am not getting clearly?
7 (A). I understand your point but we kept this simple. User already logged in and browsing this page, then again asking for “Old Password” has no meaning. Confirm password can be added but in wp-admin -> user -> profile -> no confirm password so we leave that here as well. Well you may disable password update from here by adding this code –
add_filter( 'wcfm_is_allow_update_password', '__return_false' );
7 (B). Here is your code for the purpose –
function wcfm_profile_custom_fields_phone( $profile_fileds ) { global $WCFM; if( isset( $profile_fileds['phone'] ) ) { $profile_fileds['phone']['type'] = 'number'; } return $profile_fileds; } add_filter( 'wcfm_profile_fields_phone', 'wcfm_profile_custom_fields_phone' );
Thank You
- August 3, 2018 at 2:00 am #27517wwsAdminParticipant
Hi Team,
Thanks for impromptu reply. Really appreciate your help and support.
4. vacation mode:
So what i am looking for only two box i.e. Enable Vacation Mode and Vacation Type.
Once Vacation mode is enabled (Checked) that means Purchase is also disabled by default. (Vendor cannot enable purchase during vacation.)
For message you said in future update u will add box to override.Attachments:
You must be logged in to view attached files. - August 4, 2018 at 5:46 am #27567WCFM ForumMember
Hi,
Ok, we will add prohibition for this in next update.
Thank You
- August 5, 2018 at 3:50 am #27662wwsAdminParticipant
When ever i add input type as number or any field which should accept input as number only such as: phone number, Price, sale price, Stock qty, pincode etc. is taking input as text also. Snippet u gave didnt worked either. so can make change in core files ? or any custom field where input type i select is number also taking text
- August 6, 2018 at 5:50 am #27738WCFM ForumMember
That’s strange.
Is there any CSS or JS in your site which manipulating this?
Any idea!
- August 6, 2018 at 6:01 am #27739WCFM ForumMember
Between, for phone number we never applied “number” fields as user may add other call number rather than phone number.
Thank You
- August 6, 2018 at 6:43 am #27747wwsAdminParticipant
Ohh u mean 1234/234/67 kind off
- August 6, 2018 at 10:34 am #27763WCFM ForumMember
Yeah, may be.
Sometimes phone number contains extension no. or Skype no is also can be inserted here.
Thank You
- August 12, 2018 at 2:26 am #28267wwsAdminParticipant
Hello team,
Input field such as price , pincode are having text. it should be number ?
Can validate what’s wrong with it?
PFA
Thanks
- August 12, 2018 at 5:12 am #28289WCFM ForumMember
Hi,
We have already changed this in latest update, check this – https://ibb.co/n4be89
If you are using any caching or HTML minification plugin then clear those and take a look.
Off course, be sure your are using WCFM 4.2.4
Thank You
- August 12, 2018 at 6:57 am #28303wwsAdminParticipant
Hi Not using any caching or Minification.
Do let me know how can we resolve ? or is it because of theme dependent ?
- August 12, 2018 at 7:02 am #28304wwsAdminParticipantThis reply has been marked as private.
- August 12, 2018 at 7:30 am #28317wwsAdminParticipant
Hello Team,
Its working when i disabled wcfm which is copied in theme folder.
But thing is i have modified few codes in copied in theme folder.
So everytime plugin gets updated how should i retain my changes and get update also.
Thanks
Attachments:
You must be logged in to view attached files. - August 13, 2018 at 10:12 am #28422WCFM ForumMember
Hi,
Then just use copied-modified code and change Price, Sale price field type to “number” from “text”
Thank You
- August 13, 2018 at 6:14 pm #28434wwsAdminParticipant
Hello team,
Thanks will look into it.
- August 14, 2018 at 2:28 am #28462WCFM ForumMember
Sure 🙂
- AuthorPosts
- The topic ‘Few Modification | Some field request’ is closed to new replies.