Log 4656

$checkbox1 = (isset($_POST[‘checkbox1’]) && $_POST[‘checkbox1’] == ‘on’) ? 10 : 0;
$checkbox2 = (isset($_POST[‘checkbox2’]) && $_POST[‘checkbox2’] == ‘on’) ? 20 : 0;
$checkbox3 = (isset($_POST[‘checkbox3’]) && $_POST[‘checkbox3’] == ‘on’) ? 30 : 0;
$checkbox4 = (isset($_POST[‘checkbox4’]) && $_POST[‘checkbox4’] == ‘on’) ? 40 : 0;
$checkbox5 = (isset($_POST[‘checkbox5’]) && $_POST[‘checkbox5’] == ‘on’) ? 50 : 0;
$chechbox6 = (isset($_POST[‘chechbox6’]) && $_POST[‘chechbox6’] == ‘on’) ? 60 : 0;
$chechbox7 = isset($_REQUEST[“chechbox7″])?”70″:””;
$chechbox8=empty($form_data)?”80″:””;

$closingHours = isset($_REQUEST[“closing_hours”]) ? ($_REQUEST[“closing_hours”] * 10) : 0;

$totalSum = $closureHours + $checkBox1 + $checkBox2 + $checkBox3 + $checkBox4 + $checkBox5 + $checkBox6+intval($chechbox7)+intval($chechbox8);

return $totalSum;

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