Simple custom text field does not save??

Support Meta Box AIO Simple custom text field does not save??Resolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #47950
    SebastianSebastian
    Participant

    SETUP
    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: Text

    ADVANCED TAB
    No changes here

    SETTINGS
    Location: Taxonomy => Category (product_cat)
    Advanced location rules: Category (product_cat) => TE-S // the name of my product_cat

    The 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

    #47952
    PeterPeter
    Moderator

    Hello,

    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

    #47956
    SebastianSebastian
    Participant

    Hi 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

    #47962
    PeterPeter
    Moderator

    Hello,

    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?

    #47964
    SebastianSebastian
    Participant

    Hi,

    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?

    #47969
    PeterPeter
    Moderator

    Hello,

    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.

    #48016
    SebastianSebastian
    Participant

    Thank 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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.