How does our app change product prices?

When starting a sale campaign with our app the Shopify price fields („price“, „compare at price“) will be changed depending on the discount you choose. The origin price of the product prior the sale campaign is now put in the "compare at price“ field and the discounted price in the "price“ field. If you start a sale campaign and there are already discounted products within your selection, the prices will not be further reduced from the already discounted price - the discount is always taken from the origin price.