• apagoa

    (@apagoa)


    Hi, I would like to know how can I add the fields of the discounts that belongs to your plugin in a CSV file so I can update for all my products at once the pricing rules and other information. I have almost 2000 products that I need to update with quantity discount.

    Thank you for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Soft79

    (@josk79)

    I don’t support CSV import. Just export the CSV with your current CSV import/export utility and look for the meta ‘_j79_bulk_rules’. This is where the prices are stored as PHP serialized data.

    Thread Starter apagoa

    (@apagoa)

    Hi, I did what you said, and under “custom fields” column I got this:

    a:21:{s:16:”_osc_products_id”;a:1:{i:0;s:4:”2421″;}s:14:”_regular_price”;a:1:{i:0;s:10:”75000.0000″;}s:6:”_price”;a:1:{i:0;s:10:”75000.0000″;}s:6:”_stock”;a:1:{i:0;s:1:”7″;}s:13:”_stock_status”;a:1:{i:0;s:7:”instock”;}s:13:”_manage_stock”;a:1:{i:0;s:3:”yes”;}s:11:”_backorders”;a:1:{i:0;s:2:”no”;}s:11:”_visibility”;a:1:{i:0;s:7:”visible”;}s:4:”_sku”;a:1:{i:0;s:8:”RS-50-24″;}s:11:”_tax_status”;a:1:{i:0;s:7:”taxable”;}s:10:”_tax_class”;a:1:{i:0;s:0:””;}s:7:”_weight”;a:1:{i:0;s:6:”370.00″;}s:7:”_height”;a:1:{i:0;s:0:””;}s:7:”_length”;a:1:{i:0;s:0:””;}s:6:”_width”;a:1:{i:0;s:0:””;}s:9:”_featured”;a:1:{i:0;s:2:”no”;}s:19:”_product_attributes”;a:1:{i:0;s:172:”a:1:{s:13:”pa_fabricante”;a:6:{s:4:”name”;s:13:”pa_fabricante”;s:5:”value”;s:0:””;s:8:”position”;i:2;s:10:”is_visible”;b:1;s:12:”is_variation”;b:0;s:11:”is_taxonomy”;b:1;}}”;}s:13:”_thumbnail_id”;a:1:{i:0;s:4:”2338″;}s:16:”_wc_rating_count”;a:1:{i:0;s:6:”a:0:{}”;}s:18:”_wc_average_rating”;a:1:{i:0;s:1:”0″;}s:16:”_wc_review_count”;a:1:{i:0;s:1:”0″;}s:15:”_j79_bulk_rules“;a:1:{i:0;s:354:”a:5:{i:0;a:3:{s:8:”qty_from”;i:3;s:6:”qty_to”;i:0;s:5:”price”;s:4:”4940″;}i:1;a:3:{s:8:”qty_from”;i:5;s:6:”qty_to”;i:0;s:5:”price”;s:4:”4836″;}i:2;a:3:{s:8:”qty_from”;i:10;s:6:”qty_to”;i:0;s:5:”price”;s:4:”4680″;}i:3;a:3:{s:8:”qty_from”;i:25;s:6:”qty_to”;i:0;s:5:”price”;s:4:”4576″;}i:4;a:3:{s:8:”qty_from”;i:50;s:6:”qty_to”;i:0;s:5:”price”;s:4:”4420″;}}”;}}

    I see there the meta that you said but how I edit that code?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Import through CSV’ is closed to new replies.