.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thank you!!!!
Now for anyone wondering how that happened? Moments before submitting the version to ZC I had created a version tag in github. In github they recommend the use of the v as a prefix... so, that was fresh in my mind and "seemed" correct when entering the version info to submit for ZC. The impact was not fully recognized. Immediate problem solved though.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I have a little problem. I have updated my plugin but the problem is still there. Products are disappearing.
I have a clean v155 installed. I did a backup of my shop, then imported that file in to the clean install and the products that are 'off' in my shop do not appear in the clean install. I have had a look at CSV and the product that is off is not in the database. So I think it is not being downloaded.
Learning Fast.
Eden Craft Supplies
And of course I'm a little confused, but sure we can figure it out.
Clean ZC 1.5.5 installed, check.
Backup of a previous shop made... Is this an export using EP4 or one of the approved/recommended processes for backing up a database in support of say an upgrade?
The export or at least an export using EP4 of the "previous shop" (filename up to and including ep?) does appear to include the "disabled", out-of-stock, red-buttoned product, but the status is shown as 0 or disabled, correct?
Upload and then import of the EP4 file (filename at least up to and including ep?) is only populating product with status of 1 or on.
Part that also is confusing is the last statement, that think it is not being downloaded... Download is the direction of the information coming from the website to your "personal" computer. If the information is in the CSV file then it has been downloaded. If after upload and import the information in that CSV is not making it to the website, then that "could" be an issue with the upload (doubt it) but more than likely something with the import of deactivated product. Not necessarily a terrible thing because import of enabled product works, but certainly not as intended, expected, or desired. Regardless a little confused about which site shows what and what is in what file with any/all not clearly identified as what is missing where.
So, help me with the above and clarify/explain what you can and we'll get through it. :)
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I think this is what you are after:
• Using the current shop;
• Using Easy Populate 4.0.35.zc -04-29-2016 for export of the file.
• Filterable Exports; download type selected ‘Complete Products’ (I have also done an export without changing any of the preferences) clicked Export.
• From the table and under title ‘This contains any other file. They will be processed like the upload of a full data file’ download the file using the ‘Download’ button.
• File name exported/Imported: Full-EP2016May05-160538.csv
• Clean install;
• Used EP4’s (same version as above) ‘upload EP File’ to upload and then imported.
Learning Fast.
Eden Craft Supplies
Yup, certainly helps.
Now though. Does Full-EP2016May05-160538.csv contain the disabled product of the current store?
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Learning Fast.
Eden Craft Supplies
Okay. I'm taking a look now through the code to see why export using the dropdowns when not selecting a specific option under the status column only provides active product. In the mean time, can envision either of two options working. Change the status dropdown to all and/or use the clickable link that is down below that row of dropdowns.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Okay, looks like the "default" setting (making no changes to the status of product to export) is to export only active product. This can be seen at:
https://github.com/mc12345678/EasyPo...ate_4.php#L480 and related code starting at: https://github.com/mc12345678/EasyPo...export.php#L78
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Fyi, next version will include an additional link in the upper right near the remove EP4 statement, this will be an update sql related link so that when changes are made to the install script, the process will be improved to insert ignore all of the settings and therefore the new items will be added while the existing will remain the same. As part of that script change the sort order will be addressed separately so sequencing may change slightly/new items inserted where seen "reasonable". This option will be provided based on some evaluated factors so as to only be shown "when necessary". This will of course depend on updates properly including a "flag" that will need to be changed by the submitter of the code to ZC.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks