Jan 19th, 2021
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT p.product_id , poi.product_code , pov.modifier as price , pov.modifier as list_price , pov.option_id , pov.variant_id , p.status , p.tracking
  2. FROM cscart_products p
  3. JOIN cscart_product_options_inventory poi ON poi.product_id = p.product_id
  4. JOIN cscart_product_option_variants pov ON (pov.option_id = SUBSTRING_INDEX(poi.combination, '_', 1) AND pov.variant_id = SUBSTRING_INDEX(poi.combination, '_', -1))
  5. WHERE p.tracking = "O"
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.