bleroy / Nwazet.Commerce

Idiomatic commerce module for Orchard CMS.
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

Attribute price adjustments #25

Closed bleroy closed 8 years ago

bleroy commented 10 years ago

Originally reported by: Josh Berry (Bitbucket: joshberry, GitHub: joshberry)


I have a requirement to adjust product prices based on the attributes the customer selects when adding a product to the cart. Would you be interested in pulling this into the official module if I come up with a nice solution for it?

I have an initial implementation I'm working on and it only required a few adjustments to the ProductAttributePart (to collect and store price adjustments) and a small change to the PriceService to actually adjust the price when necessary.

Here's what the feature looks like at the moment:

Attribute selection

attribute selection

Attribute administration

attribute admin

Please let me know if this is something you're interested in. Thanks for sharing such a great module.


bleroy commented 10 years ago

Original comment by Bertrand Le Roy (Bitbucket: bleroy, GitHub: bleroy):


Thanks for contributing this.

bleroy commented 10 years ago

Original comment by Bertrand Le Roy (Bitbucket: bleroy, GitHub: bleroy):


Brilliant. Go for it. I need that ;)