Formatted Basket Total Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • widgetsupply
    Mivite

    • Feb 2009
    • 371

    #1

    Formatted Basket Total Question

    I tried to replace: &mvte:toolkit:baskettotalF; in my global header with &mvt:basket:formatted_total;

    It doesn't work. Can someone tell me why?
    Thank you,
    John
  • alphabet
    Mega Mivite





    • Aug 2006
    • 1160

    #2
    Re: Formatted Basket Total Question

    Version 9 now uses the basket:groups array not the basket:items array.

    I had a similar problem.

    What Miva version are you on? What toolkit function are you using?
    http://www.alphabetsigns.com/

    Comment

    • widgetsupply
      Mivite

      • Feb 2009
      • 371

      #3
      Re: Formatted Basket Total Question

      I am on Miva 9 and using&mvte:toolkit:baskettotalF;

      I am attempting to remove the Toolkit basket total and replace it with a standard Miva function. Just a simple display of the amount of the basket total.
      Thank you,
      John

      Comment

      • Bruce - PhosphorMedia
        Developer Partner











        • Mar 2006
        • 11256

        #4
        Re: Formatted Basket Total Question

        Try:

        &mvt:basket:groups:formatted_base_price;
        Bruce Golub
        Phosphor Media - "Your Success is our Business"

        Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
        phosphormedia.com

        Comment

        • alphabet
          Mega Mivite





          • Aug 2006
          • 1160

          #5
          Re: Formatted Basket Total Question

          I'm running into every third party module that I use and deals with the basket:items (basket:groups) array not working after the Miva 9 update.

          Any ideas on how to reference the groups array so it works with the items array until they choose to update their modules?
          http://www.alphabetsigns.com/

          Comment

          • Brennan
            Super Moderator









            • Jun 2009
            • 3481

            #6
            Re: Formatted Basket Total Question

            I tried to replace: &mvte:toolkit:baskettotalF; in my global header with &mvt:basket:formatted_total;

            It doesn't work. Can someone tell me why?


            &mvt:basket:formatted_total; variable is only available on pages that have the basket item assigned (basket). The only variable that is available globally would be one in the mini-basket component. Make sure Mini basket is installed and assigned to all pages. The following variables should work globally.

            &mvt:global_minibasket:formatted_total;
            &mvte:global_minibasket:basket_count;

            It is also worth noting, while the default templates in V9 did update to use ":groups" vs ":items" both variables will work so it is backwards compatible.
            Last edited by Brennan; 01-21-15, 12:13 PM.
            Brennan Heyde
            VP Product
            Miva, Inc.
            [email protected]
            https://www.miva.com

            Comment

            • lesliekirk
              Super Moderator











              • Aug 2008
              • 9290

              #7
              Re: Formatted Basket Total Question

              Does this thread need to be moved to MM9 - it's currently in MM4
              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: X | Facebook | Pinterest

              Comment

              Working...
              X