Jump to content

how to get all the default category of all my products?


Recommended Posts

Best way since you mention database is to go in yout phpMyAdmin and download sql with the following:


ps_category
ps_category_group
ps_category_lang
ps_category_product
ps_product
ps_product_attachment
ps_product_attribute
ps_product_attribute_combination
ps_product_attribute_image
ps_product_comment
ps_product_comment_criterion
ps_product_comment_criterion_product
ps_product_comment_grade
ps_product_download
ps_product_lang
ps_product_sale
ps_product_tag

Just make sure you know what you are doing, and please back up database before start playing with it
Link to comment
Share on other sites

Thanks for the reply RJGonzalez but all I wanted was a select statement to select all my products with it's default category. I know how to do this in oracle but not in mysql

something like

select product_id, product_name, default_category from products;

Regards
Archproject

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...