an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Phone # in Confirmation email
Last Post 4/7/2010 10:11:58 AM By Bahram. 6 replies.
6/17/2009 11:43:15 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Phone # in Confirmation email
 How Can I include Phone# in Order Confirmation :
 
%Order.Billingaddress.Phone% is not working.
 
is that %Order.Address.Phone%
 
Or  %Order.ShippingAddress.Phone%
6/17/2009 7:06:02 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Phone # in Confirmation email
Phone# is not in the list of tokens in Order Detail Html. If you want to customize it you will need to purchase the core component source code.
DotShoppingCart Staff
6/18/2009 9:23:07 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Phone # in Confirmation email
How can I do it using Core Component:
 
 
Thanks,
7/9/2009 2:24:33 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Phone # in Confirmation email
Look at  the method AddTokens in Order.cs file. You can extend the tokens anyway you want.
DotShoppingCart Staff
4/6/2010 3:35:40 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Phone # in Confirmation email
I have done this in Core Component V3.1 now for V4 when I want to build the dll this error comes :
 
Error 1 Type 'DotShoppingCart.Commercial.Core.Product' already defines a member called 'GetProducts' with the same parameter types D:\DotShoppingCartSuiteV4.0Source\Core\DBO\Product.cs 893 37 DotShoppingCart.Commercial.Core
 
 
This code is repeated twice in the Class File
    public static List<Product> GetProducts(ProductListType listType, int productPerPage, int rowIndex, ProductSortBy sortBy,
            string applicationFilter, decimal? priceFrom, decimal? priceTo, bool showOutofStock, out int totalNumber)
        {
            totalNumber = 0;

 
4/7/2010 9:35:28 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Phone # in Confirmation email
The out of box core component compiles just fine. Did you do some customziation?
DotShoppingCart Staff
4/7/2010 10:11:58 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Phone # in Confirmation email
 No I Just went to Compile the Core Component V4 and opened ComercialCore project to make a new dll as i did for V3.1.
The above function appeard two times in the source code,  so I removed the extra one and compiled.