Fix ApplePay product page variants

This commit is contained in:
Pedro Silva 2023-10-25 18:40:36 +01:00
parent 3d293058fb
commit 889df4d88c
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
3 changed files with 14 additions and 15 deletions

View file

@ -78,7 +78,7 @@ class CartProductsHelper {
return null;
}
foreach ( $data['products'] as $product ) {
$product = $this->products_from_data( $product );
$product = $this->product_from_data( $product );
if ( $product ) {
$products[] = $product;
}