Comments

cookiz’s picture

bojanz’s picture

Why is offer type below conditions now?
It always made sense to me for offer type to be below discount type.

Other than that, huge +1 for the changes.

jkuma’s picture

Bojan,

This approach has been modeled after the rules module. From my perspective, It's more logic to first tackle the "discount problem => discount type + conditions" (What is the target of my discount ?) and after select the offer type (What kind of discount do I want ?). But maybe I'm wrong, nevertheless we definitely need inputs from UX/UI guys on that subject....

And by the way, thank you so much cookiz for your rework of commerce_discount UI.

cookiz’s picture

Another patch is coming handling RTL support :)

cookiz’s picture

This patch will required 1 patch for inline_conditions to be accepted https://drupal.org/node/2026913#comment-7573169

cookiz’s picture

Oops, I've forgotten to cleanup a bit the rtl scss/css file before pushing..

cookiz’s picture

New patch, I've rewamp a bit the css:
- separate scss files from css (create new folder "scss" and move the files into)
- import css code from inline_conditions which were only related to commerce_discount...
- clean up code

cookiz’s picture

Added a fix for commerce_discount_usage in RTL..

jkuma’s picture

Status: Active » Reviewed & tested by the community

Looks good to me and the patch is working well.

jkuma’s picture

Status: Reviewed & tested by the community » Fixed

Committed in 7.x-1.x-dev branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Status: Closed (fixed) » Needs work
joelpittet’s picture

Issue summary: View changes
Status: Needs work » Closed (fixed)