Skip Navigation

[Resolved] Create fields for only the WooCoommerce products of a category.

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

Problem:
Create fields for only the WooCoommerce products of a category.

Solution:
On custom field group edit page as you can see with the following screenshot:
=> https://toolset.com/wp-content/uploads/2019/08/1307519-bugproductosribbon01.png

What if you try to checkmark another radio button that contains the "ALL" text available just under the "Edit" button and save the custom field group and try to resolve your issue.

You can find the proposed solution in this case with the following reply:
=> https://toolset.com/forums/topic/create-fields-for-only-the-woocoommerce-products-of-a-category/#post-1307623

Relevant Documentation:

This support ticket is created 5 years, 4 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 13 replies, has 3 voices.

Last updated by Francisco Ramón Molina Busquiel 5 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1293801

Hello,

In Woocommerce you can create many types of products and not necessarily all of them will need new fields created with types.
How can you create fields with types only for a category of woocommerce products and that are not shown in all the products?

Thank you very much for the help.
Regards,
Francisco R.

#1294325
appear-on.JPG

Dear Francisco R.

Yes, it is possible, you can try these:
Edit the custom field group, in section "Settings for YOUR FIELD GROUP", click "Edit" button after "Appears on", click tab "Taxonomies", there you can setup the specific term. see screenshot appear-on.JPG

Then after you save the post with specific term, your custom field group will be able to display in admin side.

#1294423
sc01.png
sc02.png
sc03.png

Hi Luo,

I have done what you have told me, I have assigned my group "ProductosRibbon" only to the product category "Ribbon", but my group of fields "ProductosRibbon" continues to be shown in the products in which that category is not selected.
I attached some screenshots in which you can see the problem.

That could be happening?

Thanks for your help.

Regards,
Francisco R.

#1294569

Thanks for the details, I can duplicate the same problem in my localhost, and have escalate this issue, will update here if there is any news.

#1294691

Ok. Thanks Luo.

#1294731

This issue is in our to-do list as a bug report, our developers will take care of it, I am not sure when it can be fixed, but I can update here if there is any news.

#1297077

Okay. Please, keep me informed.
Thanks.

#1297611

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Luo is on vacation. This is Minesh here and I'll take care of this ticket. Hope this is OK.

I do not have any updates to share with you yet but I will keep you posted here as soon as I know more.

#1306619

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I would like to update you that the fix for this issue has been shipped with Views 2.9.1 and Types 3.3.4 release.

*** Please make a FULL BACKUP of your database and website.***
Could you please update ALL Toolset plugins to it's latest officially released version. You can download the latest plugin release from your accounts page and try to resolve your issue.
=> https://toolset.com/account/downloads/

#1307519
bugproductosribbon01.png
bugproductosribbon02.png
bugproductosribbon03.png
bugproductosribbon04.png

Hi Minesh,

I have installed the new versions of Views, Types and WooCommerce Views, but it seems that the problem is still there.
I create a product, I put a different category to that of the field group "ProductosRibbon" and the group continues to be shown in the new product.

Do I have to do something else to make it work properly?

Look at the screenshots.

Thanks for your help.

Regards,
Francisco R.

#1307623

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

On custom field group edit page as you can see with the following screenshot:
=> https://toolset.com/wp-content/uploads/2019/08/1307519-bugproductosribbon01.png

What if you try to checkmark another radio button that contains the "ALL" text available just under the "Edit" button and save the custom field group and try to resolve your issue.

#1307625

Wow, it's true, you're a crack. 🙂
Now it works perfectly.
Thank you very much Minesh.

#1307627

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Glad to know the solution I shared help you to resolve your issue.

Would you mind to mark resolved this ticket 🙂

#1307787

My issue is resolved now. Thank you!