We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12baa66 commit 76e0871Copy full SHA for 76e0871
plugin/lib/Aplazame/Aplazame/BusinessModel/Article.php
@@ -50,7 +50,7 @@ public static function createFromOrderItemProduct( WC_Order_Item_Product $item_p
50
$aArticle->sku = $product->get_sku();
51
$aArticle->name = $product->get_title();
52
$aArticle->url = $product->get_permalink();
53
- $aArticle->quantity = $item_product->get_quantity();
+ $aArticle->quantity = (int) $item_product->get_quantity();
54
$aArticle->price = Aplazame_Sdk_Serializer_Decimal::fromFloat( $item_product->get_total() / $item_product->get_quantity() );
55
$aArticle->tax_rate = Aplazame_Sdk_Serializer_Decimal::fromFloat( $tax_rate );
56
0 commit comments