• Resolved apagoa

    (@apagoa)


    Hi, I want to know if your plugin can help me.
    I have a plugin installed that helps me to create discounts values for a product. The plugin saves these values in to a custom field. When I checked the database this is the structure of the information:

    a:5:{i:0;a:3:{s:8:”qty_from”;i:3;s:6:”qty_to”;i:0;s:5:”price”;s:6:”104500″;}i:1;a:3:{s:8:”qty_from”;i:5;s:6:”qty_to”;i:0;s:5:”price”;s:6:”102300″;}i:2;a:3:{s:8:”qty_from”;i:10;s:6:”qty_to”;i:0;s:5:”price”;s:5:”99000″;}i:3;a:3:{s:8:”qty_from”;i:25;s:6:”qty_to”;i:0;s:5:”price”;s:5:”96800″;}i:4;a:3:{s:8:”qty_from”;i:50;s:6:”qty_to”;i:0;s:5:”price”;s:5:”93500″;}}

    When I used your plugin to import the custom field information, how I have to write the values that I want to add?, I have to maintain the array structure above or do I have to create the values separated by commas?

    Also, this will only work to update the information?, or it can be used when the product doesn’t have the discounts and I want to add them to it.

    thank you

    • This topic was modified 7 years, 12 months ago by apagoa.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom fields import’ is closed to new replies.