There is no validation of cost and price. Possible you are right. But what if i had 1000 items and sell 990. left 10 items and i just want to sell them at any price. i think in this case you can set the price lower than cost
AbanteCart v1.4.2 is released.
Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review
MenuThis section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu<item id="default_per_item_shipping_cost">
<type>input</type>
<default_value></default_value>
</item>
<item id="default_per_item_shipping_fee">
<type>input</type>
<default_value>0</default_value>
</item>
<definition>
<key>default_per_item_shipping_fee</key>
<value><![CDATA[Fee:]]></value>
</definition>
$quote_data['default_per_item_shipping'] = array(
'id' => 'default_per_item_shipping.default_per_item_shipping',
'title' => $this->language->get('text_description'),
'cost' => $this->config->get('default_per_item_shipping_cost') * $this->cart->countProducts(),
'tax_class_id' => $this->config->get('default_per_item_shipping_tax_class_id'),
'text' => $this->currency->format($this->tax->calculate($this->config->get('default_per_item_shipping_cost') * $this->cart->countProducts(), $this->config->get('default_per_item_shipping_tax_class_id'), $this->config->get('config_tax')))
);
$quote_data['default_per_item_shipping'] = array(
'id' => 'default_per_item_shipping.default_per_item_shipping',
'title' => $this->language->get('text_description'),
'cost' => $this->config->get('default_per_item_shipping_cost') * $this->cart->countProducts() + $this->config->get('default_per_item_shipping_fee') ,
'tax_class_id' => $this->config->get('default_per_item_shipping_tax_class_id'),
'text' => $this->currency->format($this->tax->calculate($this->config->get('default_per_item_shipping_cost') * $this->cart->countProducts() + $this->config->get('default_per_item_shipping_fee'), $this->config->get('default_per_item_shipping_tax_class_id'), $this->config->get('config_tax')))
);