Merge pull request #32997 from MarcVJ/patch-1

Added one line to allow use of price_ttc in calculated extra fields (…
This commit is contained in:
Laurent Destailleur 2025-02-10 13:20:58 +01:00 committed by GitHub
commit 8c6e0021fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1631,6 +1631,7 @@ while ($i < $imaxinloop) {
}
$product_static->price = $obj->price;
$product_static->price_ttc = $obj->price_ttc; // Allows to use price_ttc in calculated extra fields (ex : price per kilo)
$object = $product_static;