an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 1/26/2009 10:39:02 AM By lukezy. 3 replies.
1/23/2009 7:39:49 AM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Gift Wrap Total
Hi
 
I am using the gift wrap option as we need to add a gift message but we dont want to charge a price for it. So i have set the price to zero, evrything works fine.
 
 My only issue is that it adds to the Order Total at the bottom of our order summary. I need to not display or hide this.
 
I disabled this code but then the gift message is not entered to the database.
 
 if (null != Session["AddGiftWrap"])
        {
            //decimal giftWrapAmount = CommercialStoreConfigurationSection.GetSection().GiftWrapPriceAdjustment;
            //totals[totals.Count - 1].Amount += giftWrapAmount; // GrandTotal
            //totals.Insert(1, new OrderTotal("Gift Wrap", giftWrapAmount, includeGiftWrapMessage ? (string)Session["GiftWrapMessage"] : null));
        }
 
So i need to add the gift message to the order/database but I dont want to display the gift message in the order totoal for the order summaries/emails etc.
 
Thanks
1/23/2009 8:53:10 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Gift Wrap Total
If the only thing is the display, I would rather keep the order total for gift wrap and message and deal with just the display so that it won't show even if order totals contain these.
DotShoppingCart Staff
1/26/2009 2:20:52 AM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Re: Gift Wrap Total
Hi Lukey
 
Is it possible to hide  the display in emails etc?
 
Regards
 
Ciaran
1/26/2009 10:39:02 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Gift Wrap Total
It seems that the code is at core components level. You need Core Components Source Code in order to change that.
DotShoppingCart Staff