Merge pull request #33016 from MarcVJ/patch-2

Added one line to allow use of price_ttc in calculated extra fields
This commit is contained in:
Laurent Destailleur 2025-02-12 03:08:20 +01:00 committed by GitHub
commit c4660ca80e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1628,6 +1628,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;