Log 2293

// Placeholder for task start date
$taskStartDate = #תאריך התחלה#;

// Get current date
$currentDate = date(“d/m/Y”);

// Check if the task start date is today
if ($taskStartDate == $currentDate) {
return “כן”;
}
// Check if the task start date is in the past
elseif (strtotime($taskStartDate) < strtotime($currentDate)) {
return "עבר";
}
// Task start date must be in the future
else {
return "עתיד";
}

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