Thanks for your advice but there is some problem )
For example we have a business card with size 90mmX 50mm
customer can choose type of lamination and also type of cardboard ( 150h 250g 400g 350g )
Also we have a dynamic price for bulk purchase – you buy more the price will be less.
Here is the formula how we do the calculation for our customers.
product m2 * paper size * quantity * paper price per 1kg = product price
For example;
– One Business card 90x50mm = 0.0045m2 as we got it ( 0.09*0.050) – this option can be chosen by customer as product variation.
– paper size = 350g – this option can be chosen by the customer as a product variation.
– quantity = 100 – this option can be selected by the customer as a variation of the product
paper price per 1kg = 58EUR/kg – this option is not visible to the customer and we calculate this price ourselves. If the client wants to buy a small amount of paper, 1 kilogram of paper will cost 58 euros, if the client wants to buy 10000 business cards, the price for 1 kilogram will be for him already 16 euros.
How we calculate the lamentation;
(product m2 * quantity) * price/m2 = lamination price
It is the same here – the more the customer buys the less the price per square meter of lamination will be.
Here is an example
– One Business card 90x50mm = 0.0045m2 as we got it ( 0.090.050). 100 business cards will be = 0.45m2 ( 0.0045100)
– 1 m2 of lamination costs us 23EUR if the client buys little – for example 100 business cards, if the client buys 10’000 business cards, the price per square meter of lamination will be only 1,5 EUR.
and this is how it looks like in figures
0,0045m2 * 100 * 23 EUR/m2 = 10,35 €.
The same formula is used for the corner.
And the final price for business cards with lamination and choice of corners looks like this.
Basic product price for 100 Bussines cards with lamination and corners
(product m2 * paper size * quantity * paper price per 1kg) = product price
0.0045 * 0.350g * 100 * 58 EUR/kg = 9.13 EUR
Lamination price
(product m2 * quantity) * price/m2 = lamination price
(0,0045 * 100) * 23 EUR/m2 = 10,35 EUR
Corners price ( 1m2 = 8 EUR for 100 business cards)
(product m2 * quantity) * price/m2 = corners price
(0,0045 * 100) * 8 EUR/m2 = 3.6 EUR
So Final price for Basic product price to 100 Bussines card with lamination and corners is;
product price + lamination price + corner price = Final price
9,13 € + 10,35 € + 3.6 € = 23,08 EUR
Can your plugin realize this for us?