Page 1 of 1

Merchant fields in a product template

Posted: Sat Nov 24, 2007 12:13 pm
by AbleMods
Where do they get stored? I did some testing and they aren't getting added along with the other user entries in ac_OrderItemInputs.

Posted: Sat Nov 24, 2007 1:56 pm
by jmestep
We're all flying blind until we get some docs, but there is a table ac_ProductTemplateFields

Posted: Sat Nov 24, 2007 2:10 pm
by AbleMods
yeah that table holds the template definition. Once a product is displayed, the assigned template definition is rendered to the product page and the customer can populate the fields.

Once the item is written as an order, the values entered by the customer are written to ac_OrderItemInputs and tied back to the line item of the order via the field OrderItemID.

But that merchant part of the template is the mystery because it's not getting stored where the customer-supplied values are getting recorded.

Posted: Wed Nov 28, 2007 5:23 am
by AbleMods
Still no answer on this one...Logan, Mike, anyone?

Posted: Wed Nov 28, 2007 6:22 am
by sohaib
Hello,

There are two tables 'ac_InputFields' and 'ac_InputChoices'.
Input Choices are linked to Input Fields (should be obvious)

Now product template fields are defined in 'ac_ProductTemplateFields'... and they are linked with ac_InputFields. (InputFieldId is FK in 'ac_ProductTemplateFields')

Hope this makes some sense...

Thanks,
Sohaib

Posted: Wed Nov 28, 2007 6:14 pm
by AbleMods
ok, so the values entered by the merchant in the Merchant template fields of a product template are stored in ac_InputFields?

Posted: Thu Nov 29, 2007 12:40 am
by sohaib
yes

Posted: Thu Nov 29, 2007 7:00 am
by AbleMods
Cool, thanks.