I've been searching for a clear answer for hours and yet to find one. If the answer to the below is already out there somewhere, just point me to it... :)

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

I have a client who'd like to give certain users an arbitrary discount to a class. In these situations an admin will create the registration (using the Registration module) which will automatically create a cart with this class as a line item. I'm having trouble figuring out what process to use to (from the user's perspective) correct the price for the course in cart.

My understanding is that there's no way to modify the price for the line item directly. Assuming this is correct (if this isn't please let me know!), my research indicates I'll need to add a line item to the order that will (from the user's perspective) reduce the price to where they want it.

What should this line item be? A discount? A coupon? Something else? And, whatever the right "thing" is, how does it get applied?

I've tried installing commerce_discount and have set up a discount, but I cannot for the life of me figure out how to apply it to an order. I've read through the info on this page --> https://drupalcommerce.org/user-guide/discounts-and-coupons, but assuming the answer I'm looking for is in there, I'm not finding it.

Any direction / thoughts / help on this will be much appreciated.

Thanks,
Dan

Comments

dang42 created an issue. See original summary.

rszrama’s picture

Status: Active » Closed (won't fix)

Hey Dan, the best place for questions of this sort to be answered is https://drupal.stackexchange.com where a wide variety of Drupal Commerce users and contributors offer support. Please repost it there and I'm sure someone will be available to assist; in fact, I'm pretty sure I've answered similar questions there before - you might try searching for how to manage ad hoc discounts on cart line items.

dang42’s picture

Ryan-

Thank you very much for replying so quickly! I had moved on to other tasks for this & other clients and am just now getting back to it...

I posted the question here because, after searching (using google) I didn't turn up any info that seems to address my problem. If you think you've answered a question like this before over on stackexchange, would you be able to point me to it? My level of understanding of Commerce pricing is such that I wouldn't at all be surprised if I saw it during my search but didn't recognize that it addressed my question.

Obviously, if anyone else can do the same I'll happily take an answer from anyone (not just Ryan)... :)

I'll also post this question over at drupal.stackexchange, as well as any future Commerce support requests.

Thanks again!
Dan