You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SKU sent to mondido is based on the product and does not include variations.
If you need to use the SKU (see my other issue about wpml compatability) it would be better to replace
The SKU sent to mondido is based on the product and does not include variations.
If you need to use the SKU (see my other issue about wpml compatability) it would be better to replace
$product = wc_get_product($item->get_product_id());
with
$product_variation_id = $item['variation_id'];
// Check if product has variation.
if ($product_variation_id) {
$product = wc_get_product($product_variation_id);
} else {
$product = wc_get_product($item->get_product_id()));
}
in function get_items in class-wc-mondido-transaction
If not changed you will not get the separate variations correct during the callback.
The text was updated successfully, but these errors were encountered: