Is it possible to write into .ss file $Price_Product($ProductID)?
I've syntax error.
I create a workaround with a function that don't want parameters:
function Price_Product_2() {
$prod=DataObject::get_by_id('Product', $this->Product()->ID);
return $prod->PriceProduct;
}
Thank you