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.
Hi
I have product with attribute of size.
I also have a js file that run on the product page.
When I change the size of the product I need the js command to be read again.
How to do it??
Thanks
Comments
Comment #1
berin CreditAttribution: berin commentedComment #2
rszrama CreditAttribution: rszrama commentedPer the issue submission guidelines, support requests should be posted to https://drupal.stackexchange.com.
Your answer will involve the use of hook_commerce_cart_attributes_refresh_alter(), documented in commerce_cart.api.php.