Log 2719

$arrivalDate = “#תאריך הגעה לחו”ל#”;
$departureDate = #תאריך עזיבה#;

$dateDiff = (strtotime($departureDate) – strtotime($arrivalDate)) / (60 * 60 * 24);

if ($dateDiff >= 0) {
$daysCount = $dateDiff + 1;
} else {
$daysCount = “”;
}

return $daysCount;

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