If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Inventory Item Cost

Inventory Item Cost

Started by jodean on 4 Mar 2026, 4:52 PM · Views: 608

Results 1 to 5 of 5
4 Mar 2026, 4:52 PM
#1
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #1 by jodean

Zencart is a great product but lacks a simple Cost field.

Is Zencart going to add a product cost field?

If someone is working on this need "When will it be available"?

If no one is working to add a product cost field "Why Not"?

4 Mar 2026, 5:59 PM
#2
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Post #2 by torvista

I imagine the users that needed a cost field have added it.

Since ZC is not an ERP but just one possible sales channel out of multiple channels, I think cost aspects/purchasing processes/profit-reporting are generally handled elsewhere in more appropriate software.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

4 Mar 2026, 7:38 PM
#3
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #3 by jodean

The problem with just adding a Cost field to the product dataset is that you need to add the field to the product screen to update. Now you're hacking your Zencart application code and no easy way to update cost. If you have any documentation that would explain what product code would require changes with examples, would be helpful.

4 Mar 2026, 8:03 PM
#4
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
840
Plugin Contributions:
0

Post #4 by chadlly2003

jodean:

The problem with just adding a Cost field to the product dataset is that you need to add the field to the product screen to update. Now you're hacking your Zencart application code and no easy way to update cost. If you have any documentation that would explain what product code would require changes with examples, would be helpful.

In your Database just go to the products table and add a cost field.

From there use an either Databse I/O or Easy Populate to import and export cost.

No hacking just adding things

4 Mar 2026, 8:36 PM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #5 by swguy

If you have any documentation that would explain what product code would require changes with examples, would be helpful.

https://docs.zen-cart.com/dev/code/add_field_products/

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.