We are currently on vacation until 13th May 2024, ticket responses maybe be longer than normal during this period, sorry for any inconvenience.

Incompatibilities with JetEngine Checkbox Type meta field

Closed

Import WP Addon - JetEngine Updated 3 weeks ago 11 Replies

Tim asked 4 weeks ago on April 5, 2024 at 2:20 pm

When using a custom content type (cct) with Jet Engine, all fields such text meta fields work fine.

Checkbox fields however display fine within WordPress, within the database the import seems to store the values as 1;0;1;1 instead of true;false;true;true, the latter being required by Jet Engine to work properly.

May this be an issue with Import WP or rather some specific database configuration that is required?

Once I open a cct element in WordPress (all checkmarks are correct and remain unchanged for the checkbox item) and save it again, the 1;0;1;1 becomes true;false;true;true, making the entry work again.

J

James replied Support Agent

4 weeks ago on April 5, 2024 at 2:22 pm

Hi Tim,

Are you able to export your jet engine skin for this custom content type,

Can you also please export and attach your importer settings to this ticket by going to Tools > Import WP > Settings / Tools > Import / Export and select and export your importer as a JSON file.

And attach a copy of the xml or csv file you are importing so that i can duplicate your environment.

James

TS

Tim replied

4 weeks ago on April 5, 2024 at 2:31 pm

Hi James,

 

please find all attached!

A current workaround seems to be to store the checkbox fields as arrays - then it works like a charm. Storing them as the standard true/false values does however not work, still.

Best

Tim

TS

Tim replied

4 weeks ago on April 5, 2024 at 2:33 pm

Sample screenshot also attached:

Item #4 has been set manually within Wordpress and is how it should look like.

All the other items have been imported. As you see, checkbox as array is no problems (as the true values are stored as text), however for the normal field, the importer stores 1 and nothing instead of true and false.

 

Best

Tim

J

James replied Support Agent

4 weeks ago on April 5, 2024 at 2:35 pm

Thank you for all this information it should help me diagnose the issue, i will update you once i know more.

James

J

James replied Support Agent

4 weeks ago on April 5, 2024 at 8:09 pm

Hi Tim,

An update has been released for the jetengine integration, jet engine was expecting a boolean value to be saved as a string, if you can install the attached version or download v2.2.5 via auto update.

James

TS

Tim replied

4 weeks ago on April 5, 2024 at 8:44 pm

Hi James, excellent and quick service, thank you very much! Best Tim Am Fr., 5. Apr. 2024 um 22:09 Uhr schrieb Import WP Helpdesk < support@helpdesk.importwp.com>: >
TS

Tim replied

4 weeks ago on April 5, 2024 at 9:34 pm

Hi James, sorry to bother you again, but I have noticed something: If I choose a checkbox field in JetEngine and add the options as Manual Input, the import works fine (e.g. true;false;true;false etc.) If I choose any other option (like bulk manual input, glossary, or anything else) it doesn't work anymore, because true gets imported, but false not (looks like true; true; etc). Could you have another look at it? Best Tim Am Fr., 5. Apr. 2024 um 22:43 Uhr schrieb Tim Schröder < tim.schroeder.v64@gmail.com>: > Hi James, > > excellent and quick service, thank you very much! > > Best > Tim > > Am Fr., 5. Apr. 2024 um 22:09 Uhr schrieb Import WP Helpdesk < > support@helpdesk.importwp.com>: > >>
J

James replied Support Agent

4 weeks ago on April 7, 2024 at 11:46 am

Hi Tim,

I have been looking into this, can you confirm what server you are on, as i have mixed results from windows vs linux?

James

TS

Tim replied

4 weeks ago on April 7, 2024 at 5:30 pm

Hi James, unsure. I am hosting this at a German provider called IONOS within their managed hosting system. If I would have to take a guess I would say Linux. Best Tim Am So., 7. Apr. 2024 um 13:46 Uhr schrieb Import WP Helpdesk < support@helpdesk.importwp.com>: >
J

James replied Support Agent

3 weeks ago on April 9, 2024 at 6:26 pm

Hi Tim,

I have setup 6 checkbox fields:

1. Checkbox - Manual Input
2. Checkbox Array - Manual Input - Save as array
3. Checkbox Bulk - Bulk Manual Input
4. Checkbox Bulk - Bulk Manual Input - Save as array
5. Checkbox Glossary - Glossary
6. Checkbox Glossary - Glossary - Save as array

All checkboxes have the options term1, term2, term3 and only term1 and term2 selected like in your previous example.

In the attached screenshot record 1 is imported using your example file, and record 2 is created manually in jet engine, output seems to match?

Can you send a screenshot of what your output looks like?

TS

Tim replied

3 weeks ago on April 9, 2024 at 7:15 pm

Hi James, I just checked it again with a new CCT, new CSV and Import. It all seems to work like a charm, true and false are correctly imported! Maybe it was just a small hiccup somewhere. Best Tim Am Di., 9. Apr. 2024 um 20:26 Uhr schrieb Import WP Helpdesk < support@helpdesk.importwp.com>: >