Where is the item notes field stored in the database?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
kyleS2D
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Tue Aug 11, 2015 7:43 am

Where is the item notes field stored in the database?

Post by kyleS2D » Thu Aug 11, 2016 6:29 am

Where is the item notes field stored in the database?

I'm not sure what the field is named, so I've included a screenshot.

Image

What table in the database is the value of that field stored in?

I am hoping to query the database to see all of the notes entered for a particular productId.

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Where is the item notes field stored in the database?

Post by Katie » Thu Aug 11, 2016 9:25 am

It looks like you are using the Product Templates feature. The template name (eg. Notes) is stored in the ac_ProductTemplates table. The input values are stored in the ac_ProductTemplateFields table.

Hope this helps,

Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

kyleS2D
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Tue Aug 11, 2015 7:43 am

Re: Where is the item notes field stored in the database?

Post by kyleS2D » Thu Aug 11, 2016 10:37 am

That's not quite what I'm interested in. That field is where a customer can leave a note about the product when they order it. I want to see all of the notes left in that box for a particular item.

Is the value users enter into that field stored in the database somewhere?

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Where is the item notes field stored in the database?

Post by Katie » Thu Aug 11, 2016 11:04 am

Sorry. I forgot that the product templates work for both merchant input and customer input. If a customer inputs some text, then you'll need to look at the ac_OrderItemInputs table, column = InputValue. You'll have to join the query to find the product Id though.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Where is the item notes field stored in the database?

Post by mazhar » Sun Aug 14, 2016 11:23 pm

You can always find those values from order summary page in Administration. Anything entered will be listed along with purchased item. In database as Katie mentioned the name of table you can find them in ac_OrderItemInputs table.

Post Reply