Log 1938

// Placeholder values
$lastName = #שם משפחה#;

// Check if last name contains “לוי”
if (strpos($lastName, “לוי”) !== false) {
return “ימשפחת לוי”;
}

// Check if last name contains “כהן”
elseif (strpos($lastName, “כהן”) !== false) {
return “משפחת כהן”;
}

// Check if last name contains “ציפור”
elseif (strpos($lastName, “ציפור”) !== false) {
return “אחלה”;
}

// Check if last name contains “ברווזי”
elseif (strpos($lastName, “ברווזי”) !== false) {
return “גאוני”;
}

// Default case
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