Add a custom field to ac_ProductVariants
Posted: Sun Oct 05, 2008 1:11 pm
I want to add a "UOM" field to ac_ProductVariants for tracking the Unit of Measure a variant of a product is sold in. I was able to successfully add this field to ac_Products and I am able to edit and display it in the admin area without any issues following the AC7 API Wiki documentation .
I found, however, it was difficult to add this field to the ac_ProductVariants because it was using an ObjectDatasource that fed a DataGrid. There didn't seem to be a way to add a new field to the datasource without modifying the underlying DAL object. The API Wiki, doesn't address my particular need.
I read an older post that mentioned I would have to purchase the license to the source code, but lot has changed in AC7 since then. Is the source code still required to make the modifications I need?
Thanks in advance!
I found, however, it was difficult to add this field to the ac_ProductVariants because it was using an ObjectDatasource that fed a DataGrid. There didn't seem to be a way to add a new field to the datasource without modifying the underlying DAL object. The API Wiki, doesn't address my particular need.
I read an older post that mentioned I would have to purchase the license to the source code, but lot has changed in AC7 since then. Is the source code still required to make the modifications I need?
Thanks in advance!