Log 4442

$start_date = ’01/01/2022′;
$end_date = ’31/12/2022′;
$info_date = ’15/03/2022′;
$business_days_info = 10;

$info_date_parts = explode(‘/’, $info_date);
$start_date_parts = explode(‘/’, $start_date);
$end_date_parts = explode(‘/’, $end_date;

if ((strtotime($info_date) >= strtotime($start_dat)) && (strtotime(date(‘d/m/Y’, strtotime(“$info_date +$business_days_info weekdays +3 months”))) <= strtotime($end_dat))) {
return 'true';
} else {
return 'false';
}

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