Fundamental aspects

Key Features

  • Live Pricing Updates: Product prices for gold, silver, and platinum automatically update every 2 minutes, powered by a reliable metal price API.
  • Interactive Live Metal Prices: The website displays live metal prices and a dynamic price graph, seamlessly integrated into the header and a professional-grade popup using additional API data.
  • Instant Buy & Discounts: Users can sell similar products directly to the website, with quantity-based discounts automatically applied to purchases.
  • Custom Checkout Options: A custom subscription and shipping plugin enables users to make deposits during checkout. Once in checkout, prices are locked for 5 minutes to ensure stability despite frequent updates.
  • Enhanced Functionality with Plugins: Leveraging various plugins, the site offers advanced features such as instant buy options, subscription models, and custom shipping solutions.

Live Metal Price

Product prices for gold, silver, and platinum are automatically updated every 2 minutes, ensuring accurate and up-to-date values powered by a reliable metal price API. This functionality was custom-built using advanced code and ACF fields tailored for each WooCommerce product. Key fields include metal type, currency, weight unit (oz/gram), weight, and markup—enabling precise calculations for dynamic pricing.

To automate the updates seamlessly, we implemented a custom scheduler event cron that triggers the price update every 2 minutes. The process is closely monitored using the WP Crontrol plugin, which ensures the cron jobs are executed as expected.

Additionally, we incorporated price validation security conditions to guarantee reliability. These conditions prevent prices from being set to 0 or null and ensure that only valid numeric float values are accepted, maintaining accuracy and stability for live pricing.

API Metal Price

5 MINUTES CHECKOUT

Custom Checkout

Once you reach checkout, prices are locked for 5 minutes to ensure stability, even with frequent updates. This feature was implemented because product prices are updated every 2 minutes, which could otherwise disrupt the checkout experience. To address this, we created a custom solution that saves the current checkout price in cache for 5 minutes. During this time, the total remains fixed, providing you with a consistent and stable price.

After the 5-minute window expires, the checkout total will automatically refresh to reflect the latest live prices, and a new 5-minute price lock will begin. This ensures a smooth and predictable checkout process while maintaining the accuracy of dynamically updated prices.

SEO OPTIMIZATION

The website was optimized for high performance, ensuring a seamless balance between numerous custom implementations and the use of various plugins.