Jump to content

[solved]How I can delete the supplier from product_supplier table on PS 1.7


paulbeng

Recommended Posts

Yes, I'm coding a script.
Example:
I add a supplier with:
$prestaProduct->addSupplierReference($my_product_id = $my_supplier_id, 0, $my_supplier_reference, 0, 1);
(attach1)

Then, I want remove this one row.
(attach1)

With deleteFromSupplier() method disappears all suppliers by id_product selected.
(attach2)

What I can do? I want remove one row (one supplier).
(attach1)

Thanks

attach2.PNG

attach1.PNG

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...