Don"t want products disabled by default
  • Hi,

    I wish to disable the Active/Discontinued feature on a product.

    I've hidden the field, but all my products are created as disabled by default.
    I need to find the INSERT query and alter it so that the discontinued field in vtiger_products will be set to 1.

    I've been looking for a while, but I can't seem to find where the insert is done.
    I can't find any script that is run on the creation of a product/quote/invoice for that matter.

    Care to put me on the right track ?
  • 1 Comment sorted by
  • modules/products/products.php
    function save_module()
    do your update there.