printdotio / pio.js

An embeddable widget that enables users to quickly and easily monetize a webpage by enabling photo-product sales of its images.
4 stars 0 forks source link

Hide automatic coupon code at checkout #55

Closed mattmcneeney closed 7 years ago

mattmcneeney commented 9 years ago

Would it be possible to add a parameter to the PIO.open({}) options to hide the name of the coupon code that is automatically applied at the checkout when the "coupon" option is provided? (The message at checkout could just say "DISCOUNT CODE APPLIED").

Reasoning: I would like a 'secret' coupon code to be applied at checkout for some users but would like to prevent the coupon code from being easily shared.

Thanks!