Last Updated: August 20, 2016
·
436
· sivaschenko

Magento. Merge product attributes data from store to store

insert into catalog_product_entity_varchar (entity_id, store_id, attribute_id, value)
select entity_id, 0, attribute_id, value from catalog_product_entity_varchar tbl where store_id = 1
on duplicate key update value = tbl.value;

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

Magento checkout pages are a common target for Magecart-style card skimming. Payment, analytics, and extension scripts on those pages need an inventory and a watch for silent changes.

Security insights from Cside