Log 1928

// Placeholder values
$hks = “”; // You can assign a value to the $hks placeholder here

// Check if last name contains “לוי” and print “צדיק”
if (strpos($hks, “לוי”) !== false) {
return “צדיק”;
}

// Check if last name contains “נון” and print “צ”
if (strpos($hks, “נון”) !== false) {
return “צ”;
}

// Check if last name contains “נככע” and print “מממ”
if (strpos($hks, “נככע”) !== false) {
return “מממ”;
}

// Check if date is equal to 10/12/2022 and print “ברכה”
$date = “”; // You can assign a value to the $date placeholder here
if ($date == ’10/12/2022′) {
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