Log 1897

$product = #מוצר#;
$quantity = #כמות#;
$discount = 0;

if ($product == “מוצר מסוג 1”) {
if ($quantity > 10 && $quantity 20 && $quantity 30) {
$discount = 0.3; // 30% discount
}
}

return $discount;

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