user6739 Merchant From United States Member since iun. 2019 user6739 11 iun. 2019 11:53 This is a great addon, but when exporting the products to update product pricing, the quantity pricing is not there. Any thoughts on how to correct this?
tim Founder From Sweden Member since mai 2013 tim 11 iun. 2019 14:04 CSV is a two dimensional format. There is this same problem with campaigns, options, stock options.
user6739 Merchant From United States Member since iun. 2019 user6739 11 iun. 2019 14:18 Tim, So the way to tackle that would be to put in your code an option to discount x off the regular price if a certain quantity is reached. Just a thought
tim Founder From Sweden Member since mai 2013 tim 12 iun. 2019 13:50 Or import your csv straight into phpMyAdmin. Or write a script that loops through all your products and writes data to the entity controller (ctrl_product).
bobdrinktech Merchant From Netherlands Member since apr. 2015 bobdrinktech 12 oct. 2019 12:40 @tim, Can you give a sample or idea how such a script should look like?
tim Founder From Sweden Member since mai 2013 tim 12 oct. 2019 12:44 The CSV page already have code to inspire you. It already does something similar to what you wanna do. Have a dive into that code.