Skip to content

Instantly share code, notes, and snippets.

@litan1106
Created April 14, 2015 02:16
Show Gist options
  • Save litan1106/2c09ae1b8a04912de901 to your computer and use it in GitHub Desktop.
Save litan1106/2c09ae1b8a04912de901 to your computer and use it in GitHub Desktop.
sql:prestashop-product
SELECT p.id_product AS 'ID',
p.active AS 'Active (0/1)',
pl.name AS 'Name',
p.id_category_default AS 'Default Category',
p.price AS 'Price tax excl.',
p.quantity AS 'Quantity',
pl.description_short AS 'Short description',
pl.description AS 'Description',
pl.link_rewrite AS 'URL rewritten',
p.available_for_order AS 'Available for order',
p.date_add AS 'Product creation date',
p.show_price AS 'Show price',
p.online_only AS 'Available online only',
p.condition AS 'Condition'
FROM ps_product p INNER JOIN
ps_product_lang pl ON p.id_product = pl.id_product
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment