CostPrice - Adding Cost Price for goods
Into table "product" will be added new field "cost", just after field "price".
The field is added automatically in the event of absence, without the need for manual editing the database.
Subsequently, this field can be used in different modules import/export for loading/unloading of cost prices.
The module consists of two parts:
Base - it adds a field in a database and makes it available on the item card;
Optional - to display cost price in the product list, with the ability to search and filter;
FEATURES
✯ Code is optimized for maximum compatibility and don't alter the database queries
✯ Search and sort by cost price in the list of goods (optional)
✯ New field created automatically, not need to manually edit the database
✯ Works with Opencart 1.5.0.x - 3.0.3.x versions
✯ Does not change core files
- requires VQMOD for versions below 2.0;
- uses OCMOD for 2.x and above;
Install 15x
Just copy xml-files into vqmod/xml directory
cost_price.xml (required)
cost_price_addon_product_list.xml (optional)
Install 2x
1. Upload archive cost_price.ocmod.zip in Extensions > Extension Installer *
2. Upload archive cost_price_addon_product_list.ocmod.zip in Extensions > Extension Installer *
(optional step, only if you need to display cost_price in Product List)
3. Refresh the modifications cache in Extensions > Modifications
* - If you don't set up FTP to support archives ocmod.zip in Extension Installer - just use this patch
Install 3x
1. Upload archive cost_price-3x.ocmod.zip in Extensions > Installer
2. Upload archive cost_price_addon_product_list-3x.ocmod.zip in Extensions > Installer
(optional step, only if you need to display cost_price in Product List)
3. Refresh the Modifications cache in Extensions > Modifications
4. Refresh theme cache in Dashboard > Developer Settings
CostPrice_1.01en :
1.5.4, 1.5.4.1, 1.5.5.1, 1.5.6, 1.5.6.1, 1.5.6.2, 1.5.6.3, 1.5.6.4, 2.0.1.0, 2.0.1.1, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2, 2.2.0.0, 2.3.0.0, 2.3.0.1, 2.3.0.2, 3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.1.0.0_b, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6
Into table "product" will be added new field "cost", just after field "price".
The field is added automatically in the event of absence, without the need for manual editing the database.
Subsequently, this field can be used in different modules import/export for loading/unloading of cost prices.
The module consists of two parts:
Base - it adds a field in a database and makes it available on the item card;
Optional - to display cost price in the product list, with the ability to search and filter;
FEATURES
✯ Code is optimized for maximum compatibility and don't alter the database queries
✯ Search and sort by cost price in the list of goods (optional)
✯ New field created automatically, not need to manually edit the database
✯ Works with Opencart 1.5.0.x - 3.0.3.x versions
✯ Does not change core files
- requires VQMOD for versions below 2.0;
- uses OCMOD for 2.x and above;
Install 15x
Just copy xml-files into vqmod/xml directory
cost_price.xml (required)
cost_price_addon_product_list.xml (optional)
Install 2x
1. Upload archive cost_price.ocmod.zip in Extensions > Extension Installer *
2. Upload archive cost_price_addon_product_list.ocmod.zip in Extensions > Extension Installer *
(optional step, only if you need to display cost_price in Product List)
3. Refresh the modifications cache in Extensions > Modifications
* - If you don't set up FTP to support archives ocmod.zip in Extension Installer - just use this patch
Install 3x
1. Upload archive cost_price-3x.ocmod.zip in Extensions > Installer
2. Upload archive cost_price_addon_product_list-3x.ocmod.zip in Extensions > Installer
(optional step, only if you need to display cost_price in Product List)
3. Refresh the Modifications cache in Extensions > Modifications
4. Refresh theme cache in Dashboard > Developer Settings
CostPrice_1.01en :
1.5.4, 1.5.4.1, 1.5.5.1, 1.5.6, 1.5.6.1, 1.5.6.2, 1.5.6.3, 1.5.6.4, 2.0.1.0, 2.0.1.1, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2, 2.2.0.0, 2.3.0.0, 2.3.0.1, 2.3.0.2, 3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.1.0.0_b, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6