Product Custom Fields Best Practices
Posted: Tue Sep 07, 2010 2:02 pm
Hello everyone:
Hope everyone had a long, restful weekend.
I have read many posts on here about creating product custom fields, but since I have minimal experience with AC and .NET I'm hoping someone would kindly hold my hand through this process.
Most of our products are fine using the AC product template without modification; however, we have some products that have required fields such as Minimum Quantity Order and Price Per Each Unit. These items are small parts that have several options sold in bulk. I tried the Minimum Quantity field in the Inventory Section on the Edit Product page (Admin) - not quite what we're looking for.
On our old e-commerce site we have a drop down menu with all the options for a specific product. Depending on what option the user chooses the Minimum Quantity Order input box and Price Per Each Unit input box change to reflect the new price or quantity. I would like to keep this same functionality once we convert to AC.
I think the best route for us is to use the custom fields instead of the product template since we have several hundred items with custom fields.
Questions:
- Would I need to create a new table for the custom fields in SQL or just add the custom fields (Min Quantity Order and Price Per Each Unit) in ~/Admin/Products/EditProduct.aspx file?
- If I add the custom fields in EditProduct.aspx would the fields automagically be created in the SQL database? Also, would the newly created custom fields show up in the Admin user interface (important for non-techie staff for updates)?
- Haven't worked much with SQL, DAL, so where do I create/upload the custom field table if this is what I need to do?
Thank you!
Hope everyone had a long, restful weekend.
I have read many posts on here about creating product custom fields, but since I have minimal experience with AC and .NET I'm hoping someone would kindly hold my hand through this process.
Most of our products are fine using the AC product template without modification; however, we have some products that have required fields such as Minimum Quantity Order and Price Per Each Unit. These items are small parts that have several options sold in bulk. I tried the Minimum Quantity field in the Inventory Section on the Edit Product page (Admin) - not quite what we're looking for.
On our old e-commerce site we have a drop down menu with all the options for a specific product. Depending on what option the user chooses the Minimum Quantity Order input box and Price Per Each Unit input box change to reflect the new price or quantity. I would like to keep this same functionality once we convert to AC.
I think the best route for us is to use the custom fields instead of the product template since we have several hundred items with custom fields.
Questions:
- Would I need to create a new table for the custom fields in SQL or just add the custom fields (Min Quantity Order and Price Per Each Unit) in ~/Admin/Products/EditProduct.aspx file?
- If I add the custom fields in EditProduct.aspx would the fields automagically be created in the SQL database? Also, would the newly created custom fields show up in the Admin user interface (important for non-techie staff for updates)?
- Haven't worked much with SQL, DAL, so where do I create/upload the custom field table if this is what I need to do?
Thank you!