Log 2483

$entryDate = “10/11/2023”;
$cancellationDate = “12/11/2023”;

$daysToRefund = 5;
$dailyCost = 100;

if ($entryDate < $cancellationDate) {
return $daysToRefund * $dailyCost;
} else {
return 0;
}

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the comparison bar
Compare