我有工作任务。如果我解决了这个问题,我将有一份新工作。这是我的最后任务。你能帮我吗?
-------------------------------------------------- ----------------------------
Product add page should display a form, with following fields a. SKU b. Name c. Price d. Type switcher (buttons for each type) e. Special attribute [please note: the form should be dynamically changed when type is switched]Additional notes: - Special attribute should have a description with helpful information, related to its type ex.: “Please provide dimensions in HxWxL format”, when type: Furniture is selected. - Utilize OOP principles to handle differences in type logic/behavior.
Additional requirements : - All fields are mandatory for submission. - Avoid using conditional statements for handling differences in product types. An advantage would be fields value (or format whether suitable) validation.
see the example image of product add page structure: