View Single Post
  #59  
Old 05-19-2007, 06:33 PM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default Re: Improved minicart display

Thanks for pointing this out. I thought everything was peachy with this mod until you posted.

A stop gap work around for us is to display "view cart" when the totals meet certain conditions.

What I mean is this. We offer free shipping on orders over $97 and flat rate ground shipping on all orders under $97. So, the shipping was displaying $0.00 on all cart contents regardless of the total until the customer entered the cart. then it displayed correctly (as you stated)

So, I simply added an {if} statement to take care of it that if the $minicart_shipping = 0 and $grantotal < 97 to display "view cart" else do the normal stuff. You may be able to apply the same kind of concept.

Here's the code for mine:

Code:
<td align="right" class="MiniCartTextTiny"> {if $minicart_shipping eq 0 and $grandtotal < 97} <b>View Cart</b> {else} <b><a title="{$minicart_delivery}">{include file="currency.tpl"}{$minicart_shipping}</a></b> {/if} </td>

What worked nicely doing it this way was that after you visit the cart itself, you never have the issue again (for our shipping system). I'm not sure how it will do with real time shipping, as we only offer that for express delivery, and customers usually choose it on checkout, not by what the minicart says anyway.

hope this helps!
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote