Adding Store Email and Phone Number to Invoice
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 45
- Joined: Wed May 25, 2016 3:32 am
Adding Store Email and Phone Number to Invoice
We would like to add the Store's email and phone number to the invoice. In the invoice.aspx file I find this line of code:
<span class="inlineCaption"><%#AbleContext.Current.Store.Name%></span> - this displays the store name.
<%# AbleContext.Current.Store.DefaultWarehouse.FormatAddress(true) %> - This formats and prints the street address, city, state, zip and country.
I am assuming the next lines would be something like:
<span class="inlineCaption"><%#AbleContext.Current.Store.Email%></span> - email
<span class="inlineCaption"><%#AbleContext.Current.Store.Phone%></span> - phone
Are these variables available for the store and are these the correct names.
We are looking to bring some of the custom coding in house. What version of Visual Studio will we need?
Until we get Visual Studio installed is there a reference available to show me what fields are available in the database?
Thank you
<span class="inlineCaption"><%#AbleContext.Current.Store.Name%></span> - this displays the store name.
<%# AbleContext.Current.Store.DefaultWarehouse.FormatAddress(true) %> - This formats and prints the street address, city, state, zip and country.
I am assuming the next lines would be something like:
<span class="inlineCaption"><%#AbleContext.Current.Store.Email%></span> - email
<span class="inlineCaption"><%#AbleContext.Current.Store.Phone%></span> - phone
Are these variables available for the store and are these the correct names.
We are looking to bring some of the custom coding in house. What version of Visual Studio will we need?
Until we get Visual Studio installed is there a reference available to show me what fields are available in the database?
Thank you
Re: Adding Store Email and Phone Number to Invoice
It would be like this where you will have to get Email and Phone from Default WarehouseI am assuming the next lines would be something like:
<span class="inlineCaption"><%#AbleContext.Current.Store.Email%></span> - email
<span class="inlineCaption"><%#AbleContext.Current.Store.Phone%></span> - phone
Code: Select all
<span class="inlineCaption"><%#AbleContext.Current.Store.DefaultWarehouse.Email%></span> - email
<span class="inlineCaption"><%#AbleContext.Current.Store.DefaultWarehouse.Phone%></span> - phone
You can download the documentation file from following URL. You may have to unblock the chm file to view its content in windows. Just right click on chm file and then from properties unblock it.Until we get Visual Studio installed is there a reference available to show me what fields are available in the database?
http://www.ablecommerce.com/docs/Commer ... erGold.chm
You can use Visual Studio 2015 community edition which is free.We are looking to bring some of the custom coding in house. What version of Visual Studio will we need?
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 45
- Joined: Wed May 25, 2016 3:32 am
Re: Adding Store Email and Phone Number to Invoice
Mazhar,
Thanks for the information.
I forgot to ask but what version of MS SQL would we need to have installed to be able to create tables, stored procedures, etc?
Thank you,
David
Thanks for the information.
I forgot to ask but what version of MS SQL would we need to have installed to be able to create tables, stored procedures, etc?
Thank you,
David
Re: Adding Store Email and Phone Number to Invoice
Here is the information about software requirements
http://help.ablecommerce.com/installati ... ements.htm
http://help.ablecommerce.com/installati ... ements.htm
A new (empty) Microsoft SQL database for data storage.
The following versions are supported:
SQL 2012
SQL 2008 R2
SQL 2005
SQL 2005/2008 Express**
SQL 2012
** Microsoft's SQL Express is a free, easy-to-use, lightweight version of SQL Server. Download
Re: Adding Store Email and Phone Number to Invoice
Mazhar has anyone tested Able Gold on SQL 2014 or SQL 2016? Seems like the supported SQL versions could use a little updating....
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
Re: Adding Store Email and Phone Number to Invoice
I'm pretty sure it runs on SQL 2014, but I'm not sure about SQL 2016. SQL compatibility has never really been an issue. I think the only time we had to write separate code was between SQL 2000 and SQL 2005.
And yes, it does look like we need to get those updated. Where does the time go...
Thanks
Katie
And yes, it does look like we need to get those updated. Where does the time go...
Thanks
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Adding Store Email and Phone Number to Invoice
SQL 2016 just came out. I never even saw anyone using SQL 2014.
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
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Adding Store Email and Phone Number to Invoice
My local development sites run fine on SQL Server 2014.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx