I work in -precious metal industry- where item prices change every minute based on markets. At the basic level, UnitPrice=MarketPrice+Premiums per tier.

My questions are:

  1. If we want to import MarketPrices to Magento, should we implement a visual cron job that runs every minute and retrieve market prices through REST API? I suppose this is the only way but I want to confirm.

  2. If we override the functionality that calculates item unit price according to our price calculation logic (UnitPrice= MarketPrice + Premiums), do you see any issues with it, such as mysql indexes? Is UnitPrice indexed in Magento2. Do you see any risks?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.