-
Notifications
You must be signed in to change notification settings - Fork 26
Description
What I'm trying to do is make sure my prices always end in a multiple of 5, and are no more than 5 below the current minimum price.
However, if I set "Amount to undercut by" to 0, then set the Module setting to 5, that works great for every price except ones that already end in 5 or 0, as it ends up not undercutting them at all. If I set "Amount to undercut by" to 5, that does result in undercuts that always end in 5, but it undercuts too much in cases where the price doesn't end in a multiple of 5 (e.g. 1997 becomes 1990 instead of 1995).
I would like for there to be some way to ensure that an uncut is applied, and all prices end in 5 or 0, while being no more than 5 below the current minimum price on the MB. Perhaps have the internal math of the plugin always subtract an additional "modulo" value if it comes up with the same value it read from the MB?