6 replies [Last post]
i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Was this information Helpful?

Hey guys,
I'm a Ubercart newbie trying to figure out my first sale structure. I've looked around a bit, but I'm not sure what terms to search on to find the appropriate answer. I would like to achieve the following structure:

1st product 9.99
2nd product 5.00
3rd product 9.99
4th product 5.00

Subtotal = 29.98
Flat rate shipping at 1.99 per product = 7.96
Total order = 37.94

So the first product needs to be 9.99, then the second one can be half off, 5.00. This relationship needs to repeat for all products in the order.

I've figured out how to configure the flat rate shipping. Can someone help me with the discount structure, or point me in the right direction? Thanks guys... I look forward to digging deeper with UC.

i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Re: How to set up a standard discount structure

I found this module (http://drupal.org/project/uc_discount) which looks like exactly what I need. I'm just having trouble figuring out which options I need to use to see up my discount structure. Can someone help me? Thanks.

Francois's picture
Offline
Joined: 08/19/2008
Juice: 387
Figure it out?

Strange, I'm setting up exactly the same discount today. Trying to figure this out myself.

======

EDIT: I don't think this is possible with the uc_discount. :'(

--------
'Twas the end of the world, and you didn't even know it.

i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Re: Figure it out?

Why do you think it isn't possible with uc_discount?

Can anyone else help us out here?

Francois's picture
Offline
Joined: 08/19/2008
Juice: 387
This is what I see uc_discount doing.

It basically has two settings, which you create a combo of:

  1. Select to apply the discount to:
    1. Multiple Products over or equal to a certain quantity
    2. Order Total over or under a certain amount
    3. Specific Product over or equal to a certain quantity
    4. Product Type over or equal to a certain quantity
    5. A Specific Taxonomy Term
    6. A Specific User Role
  2. Apply the discount by subtracting:
    1. A specific $ or % from a Product Type over a certain quantity
    2. A Specific Amount from the order total by $ or %
    3. A specific $ or % from Multiple Products over a certain quantity
    4. A specific $ or % from a Selected Product's price
    5. A specific $ or % from a Product Type

---------------------

If you were trying to sell two identical products with the second at 50% you'd do the following:

  1. Condition: Specific Product equal to a quantity of 2
  2. Action: 25% from the order total

You can set this to repeat multiple times per cart and will do what you're looking for. Unfortunately it requires that identical items be purchased.

---------------------

If you were trying to sell any two products and have the second at 50% you'd probably not be able to get that exactly right. The closest is to give a 25% discount on the total order as above.

  1. Condition: Multiple Products equal to a quantity of 2
  2. Action: 25% from the order total

This has a loophole though - a customer can purchase a real expensive item and a real cheap item and basically get a 25% discount on the expensive item. Not a good idea if your prices vary too much.

--------------

Another solution might be to offer a 50% discount on a second purchase of equal or lesser value (Buy anything at our shop and receive a 50% discount on any order of equal or lesser value on your next purchase) by either creating a per user discount under a specific amount (equal to or lower than the product purchased) or issuing a unique promo code after a purchase that's valid for and 1 purchase equal to or under a certain amount. Downside to this solution is not being able to offer the discount immediately. The upside is forcing a return customer.

--------------

If you can think of another solution I'd be glad to hear it!

/* EDIT */
You might be able to duplicate your example by creating multiple discounts of the same kind with varying weights. However I'm still not sure how to apply the discount to the item of equal or lower value. I think this will have to be a feature request. Discounts_alt might be able to do it, but the shop I'm working on is a UC1 shop - so no go there.
/* END EDIT*/

--------
'Twas the end of the world, and you didn't even know it.

matt@mtth.net's picture
Offline
Joined: 03/03/2011
Juice: 26
Re: This is what I see uc_discount doing.

Does this exist for uc 7.x? I have been looking and cannot find it yet.....

noah's picture
Offline
Joined: 07/27/2009
Juice: 16
Re: Re: This is what I see uc_discount doing.

I can't locate it in Drupal 7 either. I was under the impression that discounts were moved into the core.