Announcement

Collapse
No announcement yet.

PROD - Calculate Predicted Discounts and Sale Price

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

    PROD - Calculate Predicted Discounts and Sale Price

    I have an open support ticket for this; #ANP-341-92701, but thought I would try my luck here.

    I assigned this item to the "Specific Sale Price: Sale Price" price group:http://www.gpencil.com/product/3139.php

    It has a regular price of $28.95, I have entered a Sale Price of $11.95. See image 3139-checked. This shot is taken with "Calculate Predicted Discounts and Sale Price" checked on PROD. If the box is not checked it does not display the sale price. see image 3139-unchecked.

    If "Calculate Predicted Discounts and Sale Price" is checked on PROD then I get the following results for the volume pricing tables. See image p600b-checked. I have 10 in my cart, all the price levels change and I get As Low As $0.00. Having "Calculate Predicted Discounts and Sale Price" unchecked on PROD gives me the correct pricing. See image p600b-unchecked.

    "Specific Sale Price" and "Volume Pricing" cannot be used on the site at the same time even though the price groups are assigned to different items. I can duplicate this behavior very easily on other sites and frameworks.

    "Specific Sale Price" will only display correctly if "Calculate Predicted Discounts and Sale Price" is checked on PROD.

    "Volume Pricing" will only display correctly if "Calculate Predicted Discounts and Sale Price" is unchecked on PROD.

    >> "Calculate Predicted Discounts and Sale Price" is not currently checked as it breaks the volume pricing display if there is a quantity of the item in the cart.

    Anyone have any insight on this behavior?
    Ron Frigon
    Jedi Webmaster Obi-Ron Kenobi

    #2
    The issue you are seeing is that with Predicted Discounts Checked, the table used to display the volume pricing discounts is being based on the new price after the sale price is taken. This functionality is intentional but there is a work around.

    See this thread:

    http://www.miva.com/forums/forum/onl...=&p=650075

    Code:
    Replace:
    <mvt:item name="volprice" param="product:id" />
    
    With:
    <mvt:assign name="l.settings:vol_prod_id" value="l.settings:product:id" />
    <mvt:item name="volprice" param="vol_prod_id" />
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      The fix is in. Thank you Brennan. I'll close my ticket and reference this post.
      Ron Frigon
      Jedi Webmaster Obi-Ron Kenobi

      Comment


        #4
        I think I just had an ah ha moment while ready though this. I was thinking that the Predicted Discounts and Sale Prices would display the percentage of savings. Now I understand it's for the volume pricing. So how can I display the savings from the regular price to the sale price as a percentage or as a "you save" amount?
        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

        Comment

        Working...
        X