Tokenized ECE not able to parse selected variation w/ "Variation Swatches for WooCommerce" #10303
Labels
component: checkout
Issues related to Checkout
focus: checkout payments
priority: high
The issue/PR is high priority—it affects lots of customers substantially, but not critically.
type: bug
The issue is a confirmed bug.
Milestone
Describe the bug
Internally reported here: p1738743947909059/1738707211.859139-slack-CGGCLBN58
The "Variation Swatches for WooCommerce" plugin alters the site's markup for the variations, causing the ECE to not be able to parse the selected variation on a product page.
This causes a Store API
add-to-cart
call made with incorrect values causing it to fail withwoocommerce_rest_variation_id_from_variation_data
, preventing the product from being able to check out within the scope of the ECE dialog.The product can still be added to the cart via the "Add to cart" button.
ECE on cart & checkout pages remains unaffected.
To Reproduce
add-to-cart
call resultActual behavior
Screenshots
Expected behavior
Product pages using "Variation Swatches for WooCommerce" can still add the product to the cart.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: