Modifiers

Modifiers, in general, are a way to add fees to a specific image that you are selling.  In the simple example, you can add retouching to an image for $5.  In a more complex example, modifiers can increase the cost for selling something based on size (like a canvas).  You can use them in any way you like.  Most of you will use the simpler example.  But for those of you that love math and want to take the advanced route, the following is just a jumping point. 

 

Here is how the "functions" work:

You can use price modifiers anywhere it says "(either a fractional number without currency or a function of area A/P)". basically, there are 2 "variables" you can use to create equations.

A - The square area of the print specified in Pricing > Prints > (set) > (New/Edit) > Print Width and Print Height
P - The price of the print specified in Pricing > Prints > (set) > (New/Edit) > Print Price

 

With these 2 variables, you can construct very simple functions or very complex functions.  A simple example would be something like:

A*1.1 - This would calculate as the area of the print times 1.1 (or a 10% increase)

 

That said, you can use any of the ECMA Math class functions to create more complex scenarios:

max(10, A*1)  -  returns either $10 or the square area times $1 -- whichever is greater

 

you can mix and match, obviously, and you could, if you were so inclined, to create very complex rules for pricing.

max(min(p*1.01, 100), A*1) - returns the greater value of the square area times $1 or the smaller value of the price plus 10% or $100.

 

With these examples, hopefully you can get started on creating rules about your prices.  Feedback is appreciated!

Have more questions? Submit a request

Comments

  • Avatar
    Vinh Tran

    Yes, please give us more details soon. I'm using the modifier right now as another option for mounting and canvas options but would like to know how I can use it to create formulas that might help my pricing work more consistent.

  • Avatar
    Jon Rennie

    I've been trying to use these to set up my pricing. The only problem is your last example does not work. I'm trying to use a more complex version of it, but it will not come back with any value. I even plugged exactly:

    max(min(p1.01, 100), A1)

    This will not work. Is there a reason?

  • Avatar
    David Josué

    I'm sorry, I would like to add a 20% of the cost for Metallic prints. how can I do this?

     

    cheers!

    DJ

  • Avatar
    David Josué

    Ok. I change the 

    A1.1
    for:
    P
    1.1 to get price plus 10 percent aditional.
    if you need to add a 10percent to the price, do this.
    P*.1 and in the check out will add the print price plus the special paper aditional price.

  • Avatar
    Edenview Photography

    Is it possible to add a flat cost of eg. $20 or Minimum or $20 plus $1 for each additional print?

    The cost for delivery is around $6.35 plus $3.05 for registered. Not all photos will be in seperate packages therefore I want to charge $12 plus $1 per additional print. Is there a way to do this? I don't want my clients to pay around $80 in shipping or even close to 10%.

  • Avatar
    Brian Krecik

    I would simply change the max to a min then set your base shipping price for S&H for your large prints.  Then whenever your prints fall below the min set, you will change your shipping price to cover materials and additional shipping costs.  For example, I am experimenting with the following (though don't hold it as a hard and fast rule) - min(12,A*.05)

  • Avatar
    Brian Krecik

    PS: Additional math modifiers can be found here.  Experiment to your hearts content.

    http://doc.qt.digia.com/stable/ecmascript.html

  • Avatar
    Janet Bailey

    Is there a variable for Quantity?  I want to be able to make each print have a fixed cost, but if someone multiples of the same print, I would like to only charge them 75% of the full price (i.e. first 8x10 = $40, subsequent 8x10 = ($40 * 0.75) = $30.  Is there a way to do this?  I know I could do an equation if I had a variable for Guantity (in addition to Price and Area)?

    Thanks

Please sign in to leave a comment.