Created
October 4, 2018 18:27
-
-
Save lucasqm/57ea559e3dea655886b4405cfa4142f0 to your computer and use it in GitHub Desktop.
Índice de preço por categoria - Magento 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
`i`.entity_id, | |
`i`.price, | |
`i`.final_price, | |
`i`.min_price, | |
`i`.max_price | |
FROM | |
`catalog_product_index_price` AS `i` | |
INNER JOIN `catalog_category_product_index` AS `cat_index` ON | |
cat_index.product_id = i.entity_id | |
AND cat_index.store_id = 1 | |
AND cat_index.visibility IN( 2, | |
4 ) | |
AND cat_index.category_id = '51'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment