Comments (5)
Update.
I ran the utility again in order to set the correct order on my custom options.
I again got the foreign key contraint error when trying to save a simple product.
I went to configuration and turned on flat tables and re-indexed using the Magento core indexer and I no longer get the foreign key error when saving a product.
However, the second run, the option groups inserted in the correct order, but the options belonging to the drop_down were not inserted in the correct order in all entries, when comparing against my xml file.
If I try to edit the order of the options I get the foreign key contraint error again
Note: I can save the products fine as long as I don't mess with any of the Custom Options.
Magento 1.9.0.1
PHP 5.3.28
Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8i mod_bwlimited/1.4
WebServer to PHP Interface cgi-fcgi
MySQL 5.1.73
Linux Centos (not sure which version anymore)
from magmi-git.
hi, magmi plugin for custom options destroys all custom options & recreate them. This is what causes discrepancies with magento indexes (unless rebuilding them).
I think custom options might not be the right path to go , configurables should work even without inventory control.
for custom options ordering, there is a way to control it using the long value syntax with: (colon) separator in the option value itself. Ordering is the last part of long value syntax (see http://sourceforge.net/apps/mediawiki/magmi/index.php?title=Custom_Options , last sample of syntax paragraph)
from magmi-git.
Thanks for the reply. I will indeed use the long syntax when I rerun my datapump script the next time so that I can re-order the option values as well as the options themselves.
I have been considering creating one or more attribute sets and tying all or some simples to configurables, but I'm not ready for that yet.
It will take a lot of clean up on the old database output to do this as it was not an eav model database so it's the old garbage in garbage out thing again. For now I'm just writing the queries in sql server to fetch the data in xml and running the xml against magmi to see how things look and behave.
This is my first Magento in over 5 years and my first time using magmi.
Feel free to close this at any time as this issue is resolved.
Thank you.
from magmi-git.
Just to add, you may not need to use xml intermediate format , magmi has plugins to consume input data from SQL source as long as you can setup connectivity to it.
from magmi-git.
Yes, I noticed that in the documentation, but as you pointed out connectivity is an issue as well as my poor T-SQL skills. You have no idea how many times I have wished for an agg_array function like the one in PostgreSQL.
from magmi-git.
Related Issues (20)
- Error with attribute set association
- Attributes Options needs resaving
- can't check Magmi Magento Reindexer v1.0.3a
- Optimize Magmi HOT 2
- Weee Tax
- Is Magmi compatible with PHP 7.2?
- Magmi stalls on the first line, only sometimes errors HOT 3
- Datapump Ingest returning empty value for [ok]
- PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/cl_prod/vendor/dweeves/magmi/magmi/inc/magmi_mixin.php on line 28
- password stripped of capitals/uppcase
- Magmi Login fails after SUPEE-11219 update? HOT 3
- PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/magmi/plugins/extra/itemprocessors/valuetrim/valuetrimmer.php on line 37
- If the image title is the same, it doesn't replace the old image when imported. HOT 5
- Magmi keeps asking for login (M 1.9.4.4) HOT 1
- Products Salable Quantity Remains '0' While Importing New Products.
- Magmi - Imageattribute processor is not working with WEBP images
- Magmi don't work in magento 2.3.7 and php 2.4 HOT 2
- Installation issues Nginx HOT 1
- unable to download image from external URL
- Not updated inventory in the inventory_source_item table while importing Magmi HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magmi-git.