I want, than the stock variable of products table, change to format decimal. because i am making a portal of a supermarket y they sale meats, vegetables. These products are of format decimal (kilograme).
Someone could advise me to make the adjustment locally.
Thanks,
Stock in format Decimal
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Stock in format Decimal
Hi, for now, there is no such option, so:
- it needs to be changed i database (column type from integer e.g. to decimal)

- I think, even the calculation needs to be changed because integer is used there
administrator\components\com_phocacart\libraries\phocacart\cart\calculation.php

Is there a problem to just e.g. sell the items like:
1 item of 400g of meat
1 item of 500g of vegetable, etc.
- it needs to be changed i database (column type from integer e.g. to decimal)

- I think, even the calculation needs to be changed because integer is used there
administrator\components\com_phocacart\libraries\phocacart\cart\calculation.php

Is there a problem to just e.g. sell the items like:
1 item of 400g of meat
1 item of 500g of vegetable, etc.

If you find Phoca extensions useful, please support the project