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.
Add to Cart form when refreshes after ajax request, shows content in the default language.
We already have an active issue for this on Drupal Commerce: https://www.drupal.org/project/commerce/issues/1163064
I have a quick solution around this.
We can update add to cart form alter to update ajax path to use current language in the request. Will attach a patch for those who are in need.
Comment | File | Size | Author |
---|---|---|---|
#2 | commerce-ajax-cart-translation-issue-3039748-2.patch | 852 bytes | purushotam.rai |
Comments
Comment #2
purushotam.rai CreditAttribution: purushotam.rai at Acquia commentedFeel free for suggestions and reviews.