Cost Price for opencart 1x/2x/3x

raphlex

Member
XNullUser
Joined
Aug 13, 2020
Messages
22
Reaction score
32
Points
13
NullCash
3
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
 

Attachments

  • CostPrice1.01en.zip
    9.8 KB · Views: 45

erknz

Member
XNullUser
Joined
Jun 17, 2020
Messages
50
Reaction score
0
Points
6
NullCash
0
thank you for your sharing.
 

Turker

Member
XNullUser
Joined
Jul 31, 2020
Messages
347
Reaction score
2
Points
18
NullCash
16
this modul wonderfull, but ım waiting
 

capria

Member
XNullUser
Joined
Sep 22, 2020
Messages
107
Reaction score
6
Points
18
NullCash
22
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
thank you for adding!
 

adil04

Member
XNullUser
Joined
Jan 5, 2021
Messages
104
Reaction score
0
Points
16
NullCash
4
Merci d'avoir partagé.
 

reda

New member
XNullUser
Joined
Jan 22, 2021
Messages
10
Reaction score
0
Points
1
NullCash
0
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
thank you for your sharing.
 

matiwra

Member
XNullUser
Joined
Jan 26, 2021
Messages
63
Reaction score
57
Points
18
NullCash
273
muhteşem bir muhasebe işlemi için gerekli eklenti. teşekkürler.
 

msezgi

Member
XNullUser
Joined
Apr 12, 2021
Messages
32
Reaction score
0
Points
6
NullCash
1
thanks bro
Post automatically merged:

thanks
 
Last edited:

reactiv

Member
XNullUser
Joined
Oct 30, 2021
Messages
70
Reaction score
2
Points
8
NullCash
76
Woww thank you soo muuch! You spend me 10 work to add all products in ERP
 
Top