Announcement

Collapse
No announcement yet.

Mini-Basket Formatted Total token

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mini-Basket Formatted Total token

    I would like to display the basket total in the header. I'm using the token &mvt:global_minibasket:formatted_total; - it works great on all pages if there is something in the basket. If I go to the BASK screen and empty the basket it displays $0.00 - just as I want it to. But the minute I go to another screen, the $0.00 disappears. I would really like it to stick around. Yes the minibasket item is applied.
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    That is interesting. I'll try and find out why it does that. But here is how you can solve it:

    Code:
    <mvt:if expr="l.settings:global_minibasket:total GT 0">
        &mvt:global_minibasket:formatted_total;
    <mvt:else>
        $0.00
    </mvt:if>
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment

    Working...
    X