
Originally Posted by
RodG
Unless I'm misunderstanding you, you are trying to add another data field to the products information? Correct?
If so, you'll need to do some custom editing. First and foremost you'll need to add another field to the 'products' table to store the setting.
Next, you'll need to edit the following three files so that they contain suitable references to the new data entry:
/admin/includes/languages/english/product.php (this file is used when editing a product. It contains the English descriptions of the data fields)
/admin/includes/modules/update_product.php (This is the file used to update the database record)
/admin/includes/modules/product/collect_info.php (this is the file used to retrieve the product data for editing)
All of the edits are/will be very minor, and is basically a matter of copying and extending the existing data.
You'll probably find it easier to use a text field rather than trying to create a radio button or dropdown. Just enter a '0' (or blank) to indicate 'no', and a '1' to indicate a 'yes'.
What you do with this new data field after it has been added to a product is a whole new ballgame.
Cheers
Rod