Created
December 4, 2014 23:39
-
-
Save dpdexter/4e701d025f37aebbfdf7 to your computer and use it in GitHub Desktop.
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 | |
c.title as category_title, | |
c.url_title as category_url_title, | |
c.image as category_image | |
FROM | |
exp_br_category c, | |
exp_br_product_category pc | |
WHERE | |
c.parent_id = 93 | |
AND | |
c.category_id = pc.category_id | |
AND | |
pc.product_id = {product_id} | |
LIMIT 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment