Hello, I would like to add information on the request block about the current number of offers for the specific request and also show which one offers the best price. So customers can easily see without clicking on the request that it has some activity on there and see how many people offered for it. Need just simple information like on the attached image.
Is there any snippet for this? Or if not, what would be the best approach to do this? I think many people would find it useful. Any guidance will be very appreciated, thank you.
Unfortunately there’s no simple code snippet for this, but if you’re familiar with coding or have a developer for custom work, I recommend calculating the number of offers and caching it on every offer update (adding/deleting), also calculating the minimum price and saving both details for the request, then inserting these details into the request template.
Alright I got it finally working as I like. Now it shows the number of posted comments/offers and also from them the cheapest one. Here is the updated full code. Someone might find it helpful. Please if any of you programmer guys find something wrong with it, let me know. So far, it works great