Last item of group not populating on import

Support MB Group Last item of group not populating on import

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5864
    asifskasifsk
    Participant

    Hello,

    I have a website with woocommerce installed. I have added metabox group field on product detail pages.

    When i import products through CSV, everything goes well except the last field in the last group is not populating (which is price field) even the user role is getting populated correctly in last group. See here:
    http://idevwork.com/metabox/Capture.JPG

    After importing products, if i update the last field (price) manually, then it works, but its not population when importing all products through CSV. I am using CSV Import SUite plugin. See here:
    http://idevwork.com/metabox/Capture2.JPG

    I have this json data in csv file:
    [{"role":"price_role_1","price":"6"},{"role":"price_role_2","price":"7"},{"role":"price_role_3","price":"17.5 "}]

    The version/files of wordpress, metabox and metabox group are all updated.

    #5867
    Anh TranAnh Tran
    Keymaster

    Hi @asifsk,

    As we see here the data is saved correctly in JSON, that means the Group extension works well. The problem is how the plugin "CSV Import Suite" does the import. As the data has no problem, the bug happens only when importing, and the import plugin is the only one that does this part.

    Can you please ask WooCommerce team for help on this?

    #5872
    asifskasifsk
    Participant

    ok i will ask through woocommerce support aswell, but i dont think its their plugin issue.

    Because the input field is showing correct value when inspecting through firebug, see here:
    http://idevwork.com/metabox/Capture3.JPG

    Even i can see the correct value on front-end of website.
    http://idevwork.com/metabox/Capture4.JPG

    But its not showing this value in browser UI in backend, as shown here.
    http://idevwork.com/metabox/Capture3.JPG

    #5885
    Anh TranAnh Tran
    Keymaster

    Can you check if the numbers contain any "space" before or after the value? As the field is number, it requires a valid input. Any space before/after the value makes it a string, not number, and might cause the incorrect display.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Last item of group not populating on import’ is closed to new replies.