Zen Cart Logo
Forums / General Questions / Product Cost Display

Product Cost Display

Views: 498

Results 1 to 4 of 4
5 Apr 2013, 9:40 PM
#1
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Product Cost Display

Hi,
I have Product Cost Display module working on normal products.

When I enter a cost price amount, for a Document-Product type however, it writes to the database, but is not showing when I go back to edit the product.
So can view the cost amount in phpmyadmin, but not in zen admin.

It works for normal products, apart from the fact it displays the decimal point in the wrong place. eg 10.00 shows as 1000.00 in admin.

Any idea what a fix might be? I assume the module is designed for only the normal product type, but hope it can be altered for other types?

5 Apr 2013, 10:32 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product Cost Display

That is because it affects only product.php and not document_product.php in the admin

5 Apr 2013, 10:37 PM
#3
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Re: Product Cost Display

Probably not an easy change, to make it work for document_product I'd assume?

5 Apr 2013, 10:46 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product Cost Display

I think you are correct
update_product.php is used/replaced by the mod
I do not see a comparable for product_document