Log 1944

// Get the value of the placeholder #שם משפחה#
$last_name = #שם משפחה#;

// Check if last name contains “לוי”
if (strpos($last_name, “לוי”) !== false) {
return “משפחת לוי”;
}
// Check if last name contains “כהן”
elseif (strpos($last_name, “כהן”) !== false) {
return “משפחת כהן”;
}
// Check if last name contains “יונה”
elseif (strpos($last_name, “יונה”) !== false) {
return “ציפורת”;
}
// Check if last name contains “טלמון”
elseif (strpos($last_name, “טלמון”) !== false) {
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