retailcrm / woocommerce-module

WooCommerce integration plugin
https://www.simla.com
MIT License
7 stars 29 forks source link

Fix not correct scoring product total price #317

Closed KMityai closed 1 year ago

KMityai commented 1 year ago

When module processing order history from crm, price in woocommerce products can be not number (null or string...). In php 7.4 and latter we having notice and php doing autoconverting another types to number, but php 8 and after versions show fatal error if can't calculate expression values with not number types. This pr fixed getting fatal erro in php 8 and after versions.