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!
Add a custom field to ac_ProductVariants
-
- Lieutenant (LT)
- Posts: 78
- Joined: Wed Mar 05, 2008 11:27 am
Re: Add a custom field to ac_ProductVariants
Yes. Modifications to the CommerceBuilder API (the DAL) require full source - there is not a custom fields class for ac_ProductVariants.joebeazelman wrote: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?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com