Jump to content

New records in ps_category_product


siusiak1000

Recommended Posts

Hey! I want to put in the table ps_category_product: id_category, id_product and position. ID (int) are put in but it does not work to the end as I want because there is no association. How can I fix it?

$add = 'INSERT IGNORE INTO '._DB_PREFIX_.'category_product (id_category, id_product, position) VALUES ('.$id_category.', '.$id_product.', 0);';
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...