Announcement

Collapse
No announcement yet.

Volume Pricing

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

    Volume Pricing

    We have some products with the price for different sizes as attributes. Is it possible to have the Volume Price table update? Or perhaps I can give a quantity based discount some other way -if they buy 3 for example? i.e. "Buy 3 or more and get a 10% discount for this item in the basket"

    I'm wondering if a built in item can be used, or a plugin or this requires custom scripting.


    #2
    Re: Volume Pricing

    You can do all of this built in, it's covered in both Pamela's free eBook at apps.miva.com and in the Reference Guide www.miva.com/referenceguide
    Thanks,

    Rick Wilson
    CEO
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Volume Pricing

      Thank you Rick

      Comment


        #4
        Re: Volume Pricing

        I checked this but it seems like the Volume Pricing does not update regardless of the option selected - is that correct and by design or do I need to put in a ticket? In other words, as in the image above, even though the product is assigned to a volume pricing group it does not show the rates - only 1+ 0.00 - if it has attributes with price in them. It works fine with 'normal' products though where the price is entered in the main price field in the admin. Templates are mixed old and new so not sure if it is supposed to update or not.

        Comment


          #5
          Re: Volume Pricing

          The table that show is always for the master product. When you add the product to the cart that is when the correct variant price will be calculated.

          You are re-calcualte the table based on the selected attribute but you will been to add some custom JavaScript.
          Brennan Heyde
          VP Product
          Miva, Inc.
          [email protected]
          https://www.miva.com

          Comment


            #6
            Re: Volume Pricing

            Thank you I'll put in a ticket for a quote.

            Comment


              #7
              Re: Volume Pricing

              Is there an option to show "As Low As" to display the lowest price available in the Miva volume pricing table? I know you can do this with the EP mod.

              Comment


                #8
                Re: Volume Pricing

                You could use this code. This will give you the last volume pricing entry for the product which should always be the lowest:

                Code:
                    <mvt:assign name="g.as_low_as" value="l.settings:volprice:table[ miva_array_elements(l.settings:volprice:table) ]:formatted_price" />
                    As Low As: &mvte:global:as_low_as;
                Brennan Heyde
                VP Product
                Miva, Inc.
                [email protected]
                https://www.miva.com

                Comment


                  #9
                  Re: Volume Pricing

                  Originally posted by Brennan View Post
                  You could use this code. This will give you the last volume pricing entry for the product which should always be the lowest:

                  Code:
                      <mvt:assign name="g.as_low_as" value="l.settings:volprice:table[ miva_array_elements(l.settings:volprice:table) ]:formatted_price" />
                      As Low As: &mvte:global:as_low_as;

                  Can this code be used on the CTGY page? It would be nice to show the lowest price available.

                  Comment


                    #10
                    Re: Volume Pricing

                    Yes it should work on the CTGY page but you need to call in the volume pricing first (you don't have to display it)

                    Go to items, create an item called volume and for the module lookup the volume pricing module. Then assign the item to the CTGY page.

                    Put this item on the page inside the category list foreach loop:

                    <mvt:item name="volume" param="product:id" />
                    Brennan Heyde
                    VP Product
                    Miva, Inc.
                    [email protected]
                    https://www.miva.com

                    Comment


                      #11
                      Re: Volume Pricing

                      Originally posted by Brennan View Post
                      Yes it should work on the CTGY page but you need to call in the volume pricing first (you don't have to display it)

                      Go to items, create an item called volume and for the module lookup the volume pricing module. Then assign the item to the CTGY page.

                      Put this item on the page inside the category list foreach loop:

                      <mvt:item name="volume" param="product:id" />
                      Thanks Brennan. If it's an easy fix can you tell me how to get the lowest price? Right now I get the whole table. I appreciate you taking the time to answer.

                      Comment


                        #12
                        Re: Volume Pricing

                        on CTGY you should see a tab section with a template controlling the volume Pricing table. You can clear out its contents and add the first example code:

                        Code:
                            <mvt:assign name="g.as_low_as" value="l.settings:volprice:table[ miva_array_elements(l.settings:volprice:table) ]:formatted_price" />
                            As Low As: &mvte:global:as_low_as;
                        Brennan Heyde
                        VP Product
                        Miva, Inc.
                        [email protected]
                        https://www.miva.com

                        Comment


                          #13
                          Re: Volume Pricing

                          Sorry to keep pecking at you - now get "Array index must be a positive integer." Thanks.

                          Comment


                            #14
                            Re: Volume Pricing

                            Sorry about that. The code I gave you is incorrect. Miva does not like that syntax. This should work. It takes the last element of the array and saves it to its own variable where you can than access the formatted_price.

                            Code:
                            <mvt:assign name="g.lowest" value="miva_array_pop(l.settings:volprice:table)" /> 
                            <mvt:if expr="NOT ISNULL g.lowest:formatted_price">
                            As Low As: &mvte:global:lowest:formatted_price;
                            </mvt:if>
                            Last edited by Brennan; 12-14-15, 05:00 PM.
                            Brennan Heyde
                            VP Product
                            Miva, Inc.
                            [email protected]
                            https://www.miva.com

                            Comment


                              #15
                              Re: Volume Pricing

                              [QUOTE=Brennan;439082]Sorry about that. The code I gave you is incorrect. Miva does not like that syntax. This should work. It takes the last element of the array and saves it to its own variable where you can than access the formatted_price.

                              I must still be doing something wrong. At the risk of revealing how little I know, here is where I put the code.

                              Comment

                              Working...
                              X