Totally Zenned
- Join Date:
- Jul 2012
- Posts:
- 16,908
- Plugin Contributions:
- 2
EasyPopulate 4.0 Support Thread
dimsumgurl:
Hey!
I just tried to do some testing..
(sorry I forgot to add: Is the latest vers in the first post of this thread? Just so I know I installed the latest one...)
So since the bug log said "MySQLi error 1366: Incorrect integer value: '' for column 'products_discount_type' at row 1"
I added v_products_discount_type in the top field and I entered "0" in the CSV files (just like a majority of the items were entered with I imported the file and checked their fields)
But that threw an error.
Then I though to add products_discount_type into the config>easy pop4>User Defined Products Fields
Then I get another error "MySQLi error 1110: Column 'products_discount_type' specified twice"
What error was thrown when the value of 0 was entered? Did it have to do with the field just below it in the above sql query?
BTW, good testing. That's the point of the first step of the readme.txt file.
Some things can be predetermined and are known to be required a specific way in order for ZC to function. Some things are/can be modified related to a default store and therefore are not "locked in". Again, will look at that field to see what's going on but the way it is supposed to work is to pull the default value(s) from the database and replace whatever default value with whatever is entered in the csv file if the field is provided in the file, otherwise if the field is not present then to not push the value(s) to the database and allow the database to auto-populate the field with the default value if it's a new record or to leave it alone if the record already exists.