• Hi on my web site I am offering customers a 50% discount of any products after buying one at fully price.. eg: second one is half price.
    I would like to be able to tell customers to select one at full price and click again to select the second and have two lines appear in the Cart I would tell them to change the unit of the second one to .5
    Is there a better way? currently the format of the Cart will only accept whole numbers.

    Cheers Paul

    https://wordpress.org/plugins/simple-cart-buy-now/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author bluey80

    (@bluey80)

    Seems weird to have partial quantities of items. I’d leave the quantity to be an integer. Take a look at the templates/defaults.php file for setting up custom volume price discounts. You’ll need to write your own function, but you could give a 50% price discount for qty=2, or check if other items are in the cart and give a discount based on that, etc.

    Thread Starter PaulAbbot

    (@paulabbot)

    Its weird if you look at selling oranges. I cant see the suggested function working as I require. To explain, A customer has to purchase one ‘service’ at full price and subsequent purchases of the same service qualify for a 50% discount. I think it would be far easier to enable my customers to enter a fraction, if the program is expecting an integer now, then it is the correct format, but tests see an entry of 1.5 instantly convert to 2 so there’s something controlling the entry on the Form

    Is it possible to edit?

    Plugin Author bluey80

    (@bluey80)

    I guess I’m not following. When would you want a customer to enter a fractional quantity and what would that mean? Customer purchases 1 service. Subsequent purchases get a 50% discount, so if they have qty=2, then SCABN calculates a 25% dicount (1 full price, + 1 half price = 25% net discount) if the quantity is 2. No fractions. If you allow fractions, what happens when someone order 0.3? What does 1.5 mean and how does it differ from 1.1 or 1.7?

    Currently, the quantity must be an integer and no non-integer value is disregarded.

    Plugin Author bluey80

    (@bluey80)

    I guess I’m not following. When would you want a customer to enter a fractional quantity and what would that mean? Customer purchases 1 service. Subsequent purchases get a 50% discount, so if they have qty=2, then SCABN calculates a 25% dicount (1 full price, + 1 half price = 25% net discount) if the quantity is 2. No fractions. If you allow fractions, what happens when someone order 0.3? What does 1.5 mean and how does it differ from 1.1 or 1.7?

    Currently, the quantity must be an integer and any non-integer value is disregarded.

    Thread Starter PaulAbbot

    (@paulabbot)

    I see the problem with .3 or 1.1.
    But are you saying I should be able to enter 1.5 ?
    because I cant, it wont calculate 1.5

    Might help:
    my web site is http://gravesitecare.co.nz/authorisation-contact-payment/plans/rates/

    Plugin Author bluey80

    (@bluey80)

    SCABN has no way of knowing that 0.3 and 1.1 is invalid but 1.5 is. (And I still don’t really know what qty=1.5 means). SCABN expect integers for the quantity and ignores requests to change the qty to a non-integer value.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Dealing with discounts’ is closed to new replies.