Community Forums 

Main Content

discount pricint

    Sep 09 2008 14:14:03

    #1

    DonnaNJ

    Join date : 2008-09-18      Posts : 3

    I have dicount pricing working up till the last one (is there a limit to the number of discount bands ?)

    <input name="discountpr" type="hidden"
    value="4,40.00:5,36:15,32:75,30:150,28:250,24:100,20" />

    so 1-4 are 40.
    next 5 are 36
    next 15 are 32
    next 75 are 30
    next 150 are 28
    next 250 are 24

    now I want anything greater than 499 - to be 20.

    But the above code is showing 0 for the price .

    I tried putting 0 for the next number there (cause I thought that was how to add "everything after that" )
    but that didn't work ... so I tried a big # like 1000 but that didn't either - now even
    next 100 isn't working ?

    do I need another : somewhere ?

    Another pair of eyes maybe ?

    thanks

    DonnaNJ



    Sep 09 2008 16:15:53

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    The code looks fine. Do you by any chance have a global discount setup in the cart? Or Maybe you were bringing up a cached page that does not recognize the change.

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Sep 09 2008 17:14:53

    #3

    Alan

    Join date : 2008-09-18      Posts : 21

    Works for me. Do you have an extra price statement anywhere?