Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Class names and id's for elements
#11
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
Reply
#12
Surprising as it may seem that is hard coded in DetailViewUtils.php

https://github.com/tsolucio/corebos/blob....php#L1280
Joe
TSolucio
Reply
#13
(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....php#L1280

You just beat me to it....
Reply
#14
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.
Reply
#15
depends ... some items are sold by 1000 packages so one screw would be 0.001 of the item
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)