Hi,
I'm struggling with the same problem w/picture frames sold by the inch, and digital printing sold by the square inch. I've been playing with the 'price per letter' option: I tried using the letter 'x' for each inch - works. That means that the function to add 'price per something' is already there; if i could only modify the 'something'... ^_^
If i can determine where all the 'price per word/letter' stuff is, i'm pretty sure that i can copy and modify it to use an arbitrary (per attribute?) unit to assign a 'per unit' price.
I see two obvious references:
admin/includes/functions/functions_prices.php:1051
includes/functions/functions_prices.php:1098
I plan on adding a new table w/product id, attribute id, unit , price per unit - or maybe just another couple of columns on the 'trib table.
If anyone can point me in the right direction, I would appreciate it. (mainly just locations of functions for the price-per-letter stuff).
Thanks,
Chris
If it ain't broke, you're not trying hard enough...
Bookmarks