Jump to content

dynamic pricing dependant on image size


Recommended Posts

 Our prestashop will sell paintings.  Every painting is a different size with different sizing options.  The size of the painting is determined by the ratio of the product image.

 

 For example if a product image had the dimensions of 786 pixels wide by 575 pixels high.

 

 For this example the width is greater than height so it is a landscape painting.  We would keep the width fixed and then the height would have to be calculated on the fly.  The price would be calculated by the total number of square inches.

 

 For this example the widths are fixed at: 18, 20, 24, 30, 36, 40, 48, 60, 72. This is constant.

 

 If it was a portrait style (height longer than width) then the height is fixed.  Same variables as above.

 

 Total pricing would look something like this.

 

 18 by 13 inches = $141 

 20 by 14 inches = $145 

 24 by 17 inches = $167 

 30 by 21 inches = $194 

 36 by 26 inches = $233 

 40 by 29 inches = $277 

 48 by 35 inches = $379 

 60 by 43 inches = $474 

 72 by 52 inches = $684

 

 I don't believe there is a module out there that does this.  Is there someone out there that could build a module to do this?

 

 If you need more information, let me know.

 

 Thanks

 Mike

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...