Skip Navigation

[Resolved] Why i can’t add custom field with exist “field slug”?

This thread is resolved. Here is a description of the problem and solution.

Problem:

Why i can't add custom toolset field with this exist “field slug”?

Solution:

I assume you have already create a custom field with slug "_wc_wholesale_price", if you need put it in another field group, please edit the field group, click the button "Add New Field", in the following dialog window, click button "Choose from previously created fields", find and click the field "_wc_wholesale_price", and test again.

Relevant Documentation:

This support ticket is created 6 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 6 replies, has 2 voices.

Last updated by MOHO 6 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1074236
2018-08-05_181448.jpg
2018-08-05_175338.jpg

I create field meta "_wc_wholesale_price"

Why i can't add custom toolset field with this exist “field slug”?

I want to provide user "wholesale_price" to fill the number at frontend.

How could i solve it?

By Moho

#1074747
previously-created-fields.JPG

Hello,

I assume you have already create a custom field with slug "_wc_wholesale_price", if you need put it in another field group, please edit the field group, click the button "Add New Field", in the following dialog window, click button "Choose from previously created fields", find and click the field "_wc_wholesale_price", and test again. see screenshot previously-created-fields.JPG

#1075162

Thanks your support.

#1075195

You are welcome

#1075197
2018-08-07_092329.jpg

When i save product, and i find out meta both add "wpcf" prefix

Could no add this? keep the original meta i set ?

Current: wpcf-_wc_cost_price

Change: _wc_cost_price ( what i want )

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/split-why-i-cant-add-custom-field-with-exist-field-slug/

#1075615

I assume the original question has been resolved, for the new question, please check the new thread here:
https://toolset.com/forums/topic/split-why-i-cant-add-custom-field-with-exist-field-slug/

#1079449

thanks you could close it