Last Sale

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
Hey everyone,

i stumbled over a function in another shop, i found quite interesting. It`s a box which shows the last saled product. Is this possible with NOPC or - the better question - how and is there already something like this?

Thanks for help

Daniel
10 years ago
Hey Dr,

Did you very get this going?

I'd be happy to help if you need it. Can't promise it immediately but could help you

Cheers,
-Michael
10 years ago
How would you pick the product if the latest sale had multiple?
10 years ago
AndyMcKenna wrote:
How would you pick the product if the latest sale had multiple?


Max(Id) in OrderProductVariant

:)
10 years ago
MichaelCommerce wrote:

Did you very get this going?


Yeah already got it worked in functionality, but it`s not finished yet because i have to face questions like that:

AndyMcKenna wrote:
How would you pick the product if the latest sale had multiple?


Thanks for that annotation...

What would you do, if the order consists of more articles?
At the moment, the widget chooses the most expensive article, but i want the user to choose that at Admin Panel, but haven`t figured out how to do that in detail...

What would be logical options?

Choose the...
1) most expensive product
2) cheapest one
3) most popular one
4) least popular one

more ideas? and perhaps someone could tell me where to write it, that would be great! (think has to be somewhere in the Controller, but pls tell me better!)

Thanks,

Daniel
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.