Dogleg/A4-Apparel — Issue #137: Uninstalling products Bugs
Author: ben-duffin
Created: 2011-11-25 16:10:47+00:00
State: open

When products are linked ( multiple SPC codes mapping back to a single PID ) then the normal "supplier clearing" procedure results in the deletion of master products.

When deleting a suppliers products, the first SQL will have to check to see if it is a member of a child group for a single PID. If this is the case then only the spc mapping details and the price mapping details should be deleted.

If the spc mapping shows that it is a single product ( not a master / child member ) then it should go ahead and delete the product_detail entry to ( the origin of the PID )