Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a commerce site with commerce_multicurrency installed and set up to have one price field per currency. This module only provides one sale price field. Would it be possible to make this module work for multiple currencies?
Comments
Comment #1
AndyF CreditAttribution: AndyF commentedSorry for the delay, is there still interest?
Comment #2
Lukas von BlarerWell I solved it on the project where I needed it. Would be a great feature though :)
Comment #3
AndyF CreditAttribution: AndyF commentedIs there anything from the work you've done you could contribute? Otherwise I might close this issue until someone shows interest again: I'd rather not work on multicurrency unless there's someone actually using/testing it (:
Comment #4
Lukas von BlarerI ended up creating two separate fields and creating rules to handle it. This is not generic enough to contribute...
Comment #5
AndyF CreditAttribution: AndyF commentedUnderstood, thanks for taking the time to let me know.
I'll close the issue for now, but might reopen if there's interest (or a patch!).
Thanks
Comment #6
GHaddon CreditAttribution: GHaddon commentedThis is solved by rules weights see this comment
https://www.drupal.org/node/1903338#comment-7087364
I changed the weight of the Sale price to -10 and multi currency now works as expected.
Comment #7
cosolom CreditAttribution: cosolom commentedIf you set weight for rule rules_commerce_saleprice_rule as -10, then you don't need do anything. convertation will be automatic