if(empty($_cart->cartPrices['payment_calc_id'])){
$orderCalcRules->virtuemart_calc_id = 0; // Instead of -1
$orderCalcRules->calc_value = 0.0;
$orderCalcRules->calc_rule_name = vmText::_('COM_VIRTUEMART_NONE');
} else {
vmError: vmTable store insertObject #__virtuemart_order_calc_rules Out of range value for column 'virtuemart_calc_id' at row 1 INSERT INTO `rek6z_virtuemart_order_calc_rules` (`virtuemart_calc_id`,`virtuemart_order_id`,`virtuemart_vendor_id`,`calc_rule_name`,`calc_kind`,`calc_amount`,`calc_result`,`calc_value`,`created_on`,`created_by`) VALUES ('-1','9374','1','None','payment','0','0','0','2025-03-13 22:04:32','866')
if(empty($_cart->cartPrices['payment_calc_id'])){
$orderCalcRules->virtuemart_calc_id = -1;
$orderCalcRules->calc_value = 0.0;
$orderCalcRules->calc_rule_name = vmText::_('COM_VIRTUEMART_NONE');
} else {
$customs = $this->customs->items;
to$customs = $this->customs;
<?php echo shopFunctionsF::renderVmSubLayout('customfields_related',array('product'=>$this->product,'position'=>'related_products','class'=> 'product-related-products','customTitle' => true ));?>
<?php foreach ($this->product->customfieldsSorted['related_products'] as $rp); echo $rp->display; ?>
Page created in 0.122 seconds with 13 queries.