Answered
Size of all elements
I would like to get a size of the hole designed set. So my customers can actually see what height and length they are going to order.
It would be way more easier to calculare a price with real sizes of the designed product (in my case, plotter film), also you can calculate the area, and get a 100% safe price for their designed products. It would be awesome, if you also can set up pricing rules for specific area sizes.
Since I was tired of waiting for a reply. I coded it by myself.
Open assets/js/FancyProductDesigner.js (run in debug mode)
Call a function in this.addView.on("elementAdd"), .on('elementSelect'), .on('elementChange'), .on('elementModify'), .on('elementRemove')
do your stuff you need in that function and than call:
with this function you will get box (in pixels) I made in the post before with my awesome drawing skills.
Of course you need to add every element in an array you can access... I made it dirty and made my own.. IDGAS..
I use it like this: (shortened)
Hi Roman, I have the same problem. I need to view the size of the image uploaded by the client or the composition of the design made on our personalized t-shirts.
Could you tell me if this code can help me solve it?