Extended price in Mini Basket

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
triplw
Commander (CMDR)
Commander (CMDR)
Posts: 144
Joined: Sat Jan 12, 2008 5:34 pm
Contact:

Extended price in Mini Basket

Post by triplw » Fri Nov 28, 2008 1:32 pm

Is there a way to show the "each" price and the "extended price" in the mini basket like it is on the Basket page?
Change to:
Each: $x.xx Price: $x.xx
instead of
Price: $x.xx (which is really the each price)

Thanks

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

Re: Extended price in Mini Basket

Post by mazhar » Sat Nov 29, 2008 2:46 am

Locate the following code in the ConLib/MiniBasket.ascx file

Code: Select all

<span class="miniBasketPriceLabel">Price:&nbsp;</span>
                                    <span class="miniBasketPrice"><%# Eval("Price", "{0:ulc}") %></span>		
and make it look like

Code: Select all

<span class="miniBasketPriceLabel">Each:&nbsp;</span>
                                    <span class="miniBasketPrice"><%# Eval("Price", "{0:ulc}") %></span>	
                                    <span class="miniBasketPriceLabel">Price:&nbsp;</span>
                                    <span class="miniBasketPrice"><%# Eval("ExtendedPrice", "{0:ulc}") %></span>							  

SteveHiner
Lieutenant (LT)
Lieutenant (LT)
Posts: 58
Joined: Thu Jun 21, 2007 8:27 pm

Re: Extended price in Mini Basket

Post by SteveHiner » Thu Dec 17, 2009 11:04 pm

I followed that advice and it got me part way to where I want to go. I need to show the discount extended price. Is there an easy way to get that in the minibasket?

My client doesn't like the original cart where it shows the discount as a separate line, he wants it to show the final price for each item after the quantity discount and the subtotal after all discounts. Is there a quick way to implement that?

I'm a programmer so I'm sure I can make it work, I was just wondering if someone has already done it or if I'm missing a really easy method.

Post Reply