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.
When clicking checkout from the cart page, the check does get invoked and if the total is not within the minimum and maximum amounts an error message is displayed.
Would it be possible to trigger whatever is being triggered when the checkout button is pressed on the block that this module creates so that the same error message is displayed.
because currently it does not tell the user this until they have filled in all their customer profile information and have clicked to continue to payment (or at least this is the case in my current setup)
Comments
Comment #1
Joe HuggansComment #2
joelpittetThat sounds like a problem for moa not this queue. Check if it has a JS event listener or trigger that can be checked?
Considering moving the project over to moa
Comment #3
subhojit777Agree with @joelpittet on this. That feature cannot be part of this module, and also I doubt that commerce_moa maintainers will allow this to be part of their module. I guess you have to write something custom, try @joelpittet's suggestion.
P.S. Sorry for late response.