Simple custom text field does not save??
Support › Meta Box AIO › Simple custom text field does not save??Resolved
- This topic has 6 replies, 2 voices, and was last updated 3 weeks, 4 days ago by
Sebastian.
-
AuthorPosts
-
March 28, 2025 at 3:57 PM #47950
Sebastian
ParticipantSETUP
I'm using latest stable Breakdance (BD) and Woocommerce. All running on localWP.
All other plugins are now deactivated.I've created a text field and want it to appear for one specific product category. So this is what I did - only showing changes made:
GENERAL TAB
Label: TE-S
ID: te_s
Type: TextADVANCED TAB
No changes hereSETTINGS
Location: Taxonomy => Category (product_cat)
Advanced location rules: Category (product_cat) => TE-S // the name of my product_catThe field shows up in the right product category but when inserting text and saving, the text content disappears.
I have successfully been using Metabox together with BD on other sites.
What do you guys think about this? It's driving me mad!Thank you
March 28, 2025 at 10:57 PM #47952Peter
ModeratorHello,
Can you please export the field group to a JSON file and share it with me? I will import the field group to my demo site, check the field settings and see how it works on my site.
Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
March 29, 2025 at 1:05 PM #47956Sebastian
ParticipantHi Peter,
Here's the link to pastebin: https://pastebin.com/SFNra8kR
And just to clarify, since the text disappears I checked the database and in the postmeta table I can see 2 rows. One with meta_key => meta_box and another meta_key => fields. Both hold data.
Thank you
March 30, 2025 at 10:44 PM #47962Peter
ModeratorHello,
I import the field group to my demo site, edit a category, add a value to the field and save. It is saved properly to the database without any issues.
Can you please deactivate all other plugins (including Breakdance) and switch to a WordPress theme then check the issue again?March 31, 2025 at 2:18 PM #47964Sebastian
ParticipantHi,
I did deactivate everything, switched to using the default theme. No change I'm afraid - the field still does not save. I moved location for the same field, to a post type 'product' instead, and instantly it works like it's supposeed to!?
I was starting to believe there were something wrong in my database but considering the custom field shows up when switching location, I don't know anymore.Is there a limit to how many levels down this can work on a product category, considering this is the 4th level down from the parent?
March 31, 2025 at 9:01 PM #47969Peter
ModeratorHello,
Please upload your site to an online hosting and share the admin account by submitting this contact form https://metabox.io/contact/
I will take a look.
April 8, 2025 at 8:06 PM #48016Sebastian
ParticipantThank you for going the extra mile here, but I actaully solved this in another way, thanks to the shortcomings of Breakdance. They aren't that many but still as annoying.
-
AuthorPosts
- You must be logged in to reply to this topic.