Update BuyableProduct.php

This commit is contained in:
Patrick
2022-02-05 17:36:45 +01:00
committed by GitHub
parent a4f1b8cb9f
commit 5b4d779182

View File

@@ -55,7 +55,7 @@ class BuyableProduct extends Model implements Buyable
*/ */
public function getBuyablePrice(): Money public function getBuyablePrice(): Money
{ {
return new Money($this->price); return new Money($this->price, $this->currency);
} }
/** /**