From 640eb314fdea7fa2eb9e66d00e8cae785a6cd218 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sat, 25 Jan 2020 14:54:29 +0100 Subject: [PATCH] Generate priceInCents in products because "God of Blades" needs it --- bin/import-game-data.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/import-game-data.php b/bin/import-game-data.php index e962638..2607733 100755 --- a/bin/import-game-data.php +++ b/bin/import-game-data.php @@ -386,6 +386,7 @@ function buildProduct($product) 'description' => $product->description ?? '', 'localPrice' => $product->localPrice, 'originalPrice' => $product->originalPrice, + 'priceInCents' => $product->originalPrice * 100, 'percentOff' => 0, 'currency' => $product->currency, ]; -- 2.30.2