php - Mass import custom attributes Magento -
php - Mass import custom attributes Magento -
i wondering if has ever tried mass import custom attributes magento database before? client has magento store specialises in selling musical instruments, , wishes add together google shopping feed (using extension of name rocket web) sell products on google shopping. problem need both mpn (manufacturer product number) , brand (so instance gibson) shopping feed work, both of not automatically uploaded stores pos system.
the way pos scheme works when product added, title / sku number / description / cost etc uploaded magento store, means client not need add together product twice. problem mpn , brand aren't out of box attributes, pos scheme not upload either of these magento, , hence have 1,000 products without them , apparently crucial google shopping feed extension.
i'm working on getting table of each of products sku, mpn , brands local database of pos scheme (of each of products has 3), 1 time have question this: there simple way me reference products in magento database (most sku, both databases contain same sku each of items) , apply 2 custom fields each of products: mpn , brand? i've created custom 'mpn' , 'cat-brand' attributes (which can utilize google shopping feed map custom attributes) , looked within magento database cant find them anywhere, found table called 'catalog_product_flat_1', imagine flat db used indexing or something, looks perfect achieving want, in search sku , apply 2 custom attributes columns each product. tells me isn't going easy though.
any thoughts great help, time.
magento uses eav info model, means attributes broken multiple tables. take @ tables 'entity', 'eav', 'attribute', or 'value' in name if want thought of how works.
what you're looking catalog_product_entity_varchar
or catalog_product_entity_text
. in tables, entity_id
product id number (different sku, can link product_id sku) , attribute_id
corresponds eav_attribute
table.
in short, want @ eav_attribute
table, pull entity_type_id
, attribute_id
fields mpn , cat-brand attributes made, , can insert info catalog_product_entity_varchar
. (or _text
if attributes utilize instead)
php mysql magento google-shopping-api
Comments
Post a Comment