Log 2879

$event_date = #תאריך האירוע#;
$current_date = date(‘d/m/Y’);

if ($event_date == $current_date) {
return “היום”;
} elseif (strtotime($event_date) <= strtotime("+6 days", strtotime($current_date))) {
return "השבוע";
} elseif (strtotime($event_date) <= strtotime("+30 days", strtotime($current_date))) {
return "החודש";
} 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