Online shopDec 2024

Bullion House Online Shop

WooCommerce shop for gold, silver and platinum coins and bars, with live API prices, price graphs and a price lock at checkout.

Platform
Wordpress
Scope
Online shop
Status
Delivered
Bullion House Online Shop
Bullion House Online Shop - desktop
Bullion House Online Shop - mobile Desktop + mobile
Overview

The project.

Online shop, Cron application, API Integration · Aug 2024 — Dec 2024

Bullion House Online Shop

Online shop made in WordPress with WooCommerce, Elementor Pro, ACF and Yoast SEO, for buying and selling metal coins and bars. Product prices update every 2 minutes from a metal price API, through a custom cron event and ACF fields per product (metal, currency, weight unit, weight and markup), with validation so a price is never 0 or invalid. The header shows live metal prices and a price graph in a popup. Users can sell products back with instant buy, quantity discounts apply automatically, and deposits are possible at checkout, where prices stay locked for 5 minutes. The site was also optimized for performance and SEO.

Collaboration
Teamwork
Platform
Wordpress
Technology
HTML, CSS, JS, SQL, PHP, jQuery
Modules
Elementor Website Builder Pro, Unlimited Elements for Elementor Premium, Advanced Custom Fields, Dynamic Content for Elementor, Yoast SEO
Timeline
Aug 2024 — Dec 2024
Screens

Website showcase

27 desktop and 19 mobile views, shown in pairs. Pick a screen from the rail; open the stage for the full capture.

46 views
Website preview
Laptop frame
Website preview mobile
Phone frame
01 / 46

Desktop 01

  • Bullion House Online Shop
  • Bullion House Online Shop
Case study

Seo Optimization

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

  • SEO
  • Performance Optimization
  • WordPress
Live Pricing Updates

To automate the updates seamlessly, I 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, I 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.

Case study

Live Pricing Updates

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.

  • PHP
  • JavaScript
  • API Integration
  • Cron Application
  • WooCommerce
  • ACF
  • WP Crontrol
Custom Checkout

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.

Case study

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.

  • PHP
  • JavaScript
  • WooCommerce