Plugin Author
Malcolm
(@malcolm-oph)
Almost anything is possible if you try hard enough!
It’s not something that is possible using the existing admin screens.
The problem, as I see it, is the large number of possible variations in requirements for these sort of things, so to implement all of them would result in a very complex UI. Perhaps the best option is to add the possibility of a discount, and leave the website developer (i.e. you) to do the calculation (coded in PHP) of what the discount is dependent on the contents of the shopping trolley. This would then be specific to you site.
How does that sound? Could you do “a bit of PHP” if you had to?
Malcolm
Thread Starter
Chris
(@weazel91)
Hi Malcolm,
I completely understand why this isn’t in place already as I can only imagine how the UI would require to be to make this feasible.
Being honest PHP isn’t my strong point… If you could point me in the right direction I’m sure I could give it a bash?
Thanks again!
Plugin Author
Malcolm
(@malcolm-oph)
I’ve added an extra DB field to the StageShow sales table for an “Extra Discount” value. This is populated by the result of a WP filter which can be defined by site developers, and this mechanism will allow you to add code that will give the functionality you want.
The changes to add this extra DB field are extensive (about 30 changes in 15 files) so I don’t want to add these changes to the released code until I have subjected it to full testing across all variants of the plugin. However I am happy for you to have a “pre-release” copy to try (Which will also test the revision!).
If you would like to contact me via my contact page here, I’ll email you a copy.