Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. SELECT cpe.entity_id, cpe.sku, cped.value as price, cped.store_id
  2. FROM catalog_product_entity cpe
  3. JOIN catalog_product_entity_decimal cped ON cpe.entity_id=cped.entity_id
  4. JOIN eav_attribute ea ON cped.attribute_id=ea.attribute_id AND ea.attribute_code='price' -- omitting entity type for brevity
  5. WHERE cped.store_id!=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement