both, at the same time
Done but this looks to straight forward and I am sure there will be problems!
The method I am looking at now is:
Put all the parts in one table as some parts are common to the eight models
id - Item - notes - price - VAT due - indicate if an option
Need a page for full kits and options with a seperate page for parts and options.
Both pages will have kits displayed in seperate divisions as individual parts ( standard and options )
Full kit page
List of all standard parts checked
Kits page + purchase individual items
The user will need to select each part in the kit and options could be a different colour.
List of parts unchecked
At the end of each page there will be an area for the users details
When the user presses submit the details are sent to a checking page where their details and any options are checked with if statments.
The price will be adjusted depending if any uption selected again with if statments.
If there is a problem an error is displayed and the user is instructed to go back and fix the error.
Resubmit the page after mods and confirmation of order displayed the submit and invoice created and emails sent.
This means I will need:
A table for the parts
A table for each model linked to the parts in that model
A tool tip would be good so if the user puts their mouse over the option it could tell them what they need to remove for the option.
Note: I knew I had forgotten something and that is how to separate the kit items!