Easy WordPress Shortcode for Fetching Share Prices from Stock Exchange

Fetching real-time share prices from stock exchanges like the London Stock Exchange (LSE) can be crucial for investors and financial applications. In this article, we’ll explore how to retrieve share price data for LSE stocks and other exchanges using PHP. We’ll use a combination of API calls and caching to efficiently fetch and display share …

Easy WordPress Shortcode for Fetching Share Prices from Stock Exchange Read More »

Integrating Google Maps with Custom Database for Location-Based Search

  In today’s digital age, having an interactive map on your website can significantly enhance user experience, especially for businesses with multiple locations. Let’s explore how to integrate Google Maps JavaScript API with a custom database to create a powerful location-based search feature. Setting Up Google Maps First, you’ll need to set up a Google …

Integrating Google Maps with Custom Database for Location-Based Search Read More »

Opencart 3: Paypal Commerce Platform Missing Billing Address on Order

If you are using Paypal Commerce Platform for Opencart, you may come across an issue where only the name and country appear as the payment address. This is because paypal does not return a payer’s address with the CAPTURE APPROVED response: If we look further into the issue and find the code that’s processing the …

Opencart 3: Paypal Commerce Platform Missing Billing Address on Order Read More »

Opencart 3: Speed Up Category Product Count With Caching

Opencart has a known performance bottleneck where the category and filter loading times are significantly slower with the category product count enabled. The php function responsible for the product counts is located in the \catalog\model\catalog\product.php file and is called getTotalProducts(). We can use Opencart’s cache to speed up the page loading times with only a …

Opencart 3: Speed Up Category Product Count With Caching Read More »