Fix catalog purchasePrice
This commit is contained in:
parent
c3216f72d3
commit
380e1f0081
@ -249,9 +249,9 @@ class XmlOfferBuilder
|
||||
* @param array $product
|
||||
* @param bool|null $isLoadPrice
|
||||
* @param string $purchasePriceNull
|
||||
* @return int|null
|
||||
* @return float|null
|
||||
*/
|
||||
private function getPurchasePrice(array $product, ?bool $isLoadPrice, string $purchasePriceNull): ?int
|
||||
private function getPurchasePrice(array $product, ?bool $isLoadPrice, string $purchasePriceNull): ?float
|
||||
{
|
||||
if ($isLoadPrice) {
|
||||
if ($product['CATALOG_PURCHASING_PRICE']) {
|
||||
|
Loading…
Reference in New Issue
Block a user