CoreBOSBB

Full Version: Class names and id's for elements
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
But now:

I see here that for the actual inventory block a variable called "{$ASSOCIATED_PRODUCTS}". I thought it called "ProductDetails.tpl". But apparantly, that's not the case. For instance, this file has this line, indicating it should be the file for creating product lines (the 5% wide cell is only used for tools during creation). Now I don't know where the product block template in detail view is. I can't figure out where the "{$ASSOCIATED_PRODUCTS}" is created. For instance, I see it here in Quotes, but it's created by a function.

EDIT

Nevermind, I found it. Turns out this is hard coded (!) in include/utils/DetailViewUtils.php
Surprising as it may seem that is hard coded in DetailViewUtils.php

https://github.com/tsolucio/corebos/blob/master/include/utils/DetailViewUtils.php#L1280
(01-26-2016, 10:52 PM)joebordes Wrote: [ -> ]Surprising as it may seem that is hard coded in DetailViewUtils.php

https://github.com/tsolucio/corebos/blob/master/include/utils/DetailViewUtils.php#L1280

You just beat me to it....
One thing I would like to propose (a bit off topic) is to decrease the number of decimals in the stock column of the inventory module. No-one is going to keep track of 0,001 of stock I think.
depends ... some items are sold by 1000 packages so one screw would be 0.001 of the item
Pages: 1 2