A function is required that can determine the prices of articles live (scaled/special prices). These are to be queried by a REST service. The function is to be implemented as a plug-in.
Queries should not be made for each article, but as a collective query.
The plugin should be able to cache the price results for each customer. In addition, it should be possible to parameterize at which time intervals (cache timeout) the query should be repeated. The cache is to be written to the database in the form of a separate table. This table does not currently exist and must also be created.
When a product is called, no matter from which source (article list, product details, etc.), a query is made for products that have not yet been cached. If possible, a collective query should also be carried out here for the sake of performance. As soon as this is done, the query does not have to be repeated until the cache timeout (or the logout of the user).
Clear Cache: Timeout of article position(s) reached, or logout from webshop
- When the order is sent, a new price query is made. If a price has now changed, a text field must be displayed to the user indicating which price has changed.
- If a scaled price is returned, the exact scaling with price should be displayed in the product list / product detail. If the quantity is then stored in the shopping basket, the cache table should show which price applies according to the scale. The appropriate price is then displayed.
23 freelancer menawar dengan rata-rata €277 untuk pekerjaan ini
Greetings, Please check my reviews, to check my credibility. Can we discuss once? Regards, Arijit N:B: Please consider the quoted price as placeholder. Price can be negotiated after proper discussion.