Log 2046

$summary = “1,1,1,2,2,2,1,3,3,3,2,2,1,2,3,2”;

$count_1 = substr_count($summary,”1″);
$count_2 = substr_count($summary,”2″);
$count_3 = substr_count($summary,”3″);

return “Number of occurrences of 1: “.$count_1.”
“;
return “Number of occurrences of 2: “.$count_2.”
“;
return “Number of occurrences of 3: “.$count_3;

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