Hi,
I have the following situation:
* We're selling Packages of golf balls.
* A package can either contain 12, 15 18 or 24 golf balls.
What I want to achive is: I want to primarily show the *price per golf ball*, not the price per package. The reasons are:
* Prices should be comparable between a package of 12 balls and a package of 15 balls
* Prices should be comparable with competition (who all list their prices per ball)
How to achieve this:
* Create a "Specification-Attribute" which contains the number of items (balls) per package.
* Then I could modify nopCommerce price calculation code to add "PricePerItem" field calculate it as "Price"/"ItemsPerPackage". In the appropriate views (overview page, details page) I prominently show the "PricePerItem" price instead of the regular price.
In fact, I've already implemented this in nopCommerce 2.40, but now while migrating this to nopCommerce 3.90, I am revisiting if there isn't a better (out-of-the-box) solution for that kind of problem.
Is there a build-in concept for this? Are there plugins? Would it be possible to implement what I described as plugin, rather than fumbling around in the source code directly?
Thanks,
-Christoph