• Resolved KatrineDS

    (@katrineds)


    Hi,

    I just switched theme and the new theme doesn’t show the metabox.
    I need to export it from the old site, so I can import the content from the metabox to
    the long description field in Woocommerce on the new site. How can I do that?

    /Katrine

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Chances are that the code used to register the metaboxes are in the theme that you were using. You’ll need to locate where in the theme that was happening so that you can re-use in perhaps a more theme-independent location like a custom plugin.

    The content saved by the metaboxes should all still be in your database as post meta, so as long as it’s still the same database, there’s nothing needing exported there.

    Thread Starter KatrineDS

    (@katrineds)

    The new theme author are not much of a help – so export/import would be a lot easier. I have space for the content in long description. Just need the data extracted.

    Is it not possible to export it somehow – with the SKU. That would be awesome!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    CMB2 doesn’t have any import/export functionality in it directly, as it’s just a library to register the metaboxes to use. You’ll need something like WordPress’ built in tools or perhaps tools like WP Migrate DB and similar for actual processing of that. We also don’t have import/export in the fashion that you may be thinking of for Advanced Custom Fields, since CMB2 is strictly a code-level library, with no metabox configuration saved in the database.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Export field’ is closed to new replies.