This post explains how you can display SKU (Stock Keeping Unit) of a product on the frontend of product page in OpenCart 3.0.2. We will be doing this through an ocmod modification that I coded. OCMOD to show OpenCart SKU on product page You can download the OCMOD from: Github: https://github.com/nabtron/opencart-ocmod-sku-product Download the install.xml file […]
Category: General
Error: Compilation failed: invalid range in character class at offset [Solved]
If you recently updated your server to PHP 7.3, you might have seen this error message: Compilation failed: invalid range in character class at offset . . . This error is due to update in PHP 7.3 and how it handles regular expressions. Error: Compilation failed: invalid range in character class at offset I encountered […]
How to implement reCaptcha v3
This post explains how to implement the Google reCaptcha v3 easily in your site code. You can use this method or code in any PHP site, including WordPress, Joomla!, Drupal, etc. The code consists of three parts: Generate site-key and secret-key from google recaptcha for your site First part of code goes into your form […]
Remove sidebar from Schema lite single page
This tutorial explains how you can remove the sidebar from the single page template of Schema lite WordPress theme to make by making a full page template for single page without sidebar. How to remove sidebar from schema lite wordpress theme Follow these steps: Make a copy of page.php Goto the theme folder and make […]
How to download iOS ipsw directly
Recently I encountered the famous bug of iOS 12 beta update which all beta tester developers faced. The bug was that the iOS keeps asking you to update your software version to newer beta release (beta 12 as of writing this post) repeatedly. Issues was, I was in africa and didn’t have a stable internet […]
Fix ‘Access-Control-Allow-Origin’ missing
Scenario: I was trying to setup amazon origin push cdn cache using s3 and cloudfront via w3 total cache plugin. Things went well except for a font file not being properly delivered by the cdn, instead giving the error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://–domain–.cloudfront.net/wp-content/themes/Extra/fonts/ET-Extra.ttf. (Reason: CORS […]
SlideUp & SlideDown an Element using CSS
As time progresses, CSS is becoming more and more powerful with features which once required extensive javascript coding or jquery plugins. One such feature is the slide up or slide down of any element on your page. For a simple slideup or slidedown (while making the element visible or hidden), we can use a simple […]
WhatsApp not working
Today WhatsApp is down almost all over the world. There are complains from various countries and regions that whatsapp isn’t working for them. Why is WhatsApp Down? There is no announcement on whatsapp official blog or twitter account as to why whatsapp server is down. Nor did they mention and prior notice for downtime or […]
Godaddy domain renewal discount 25%
I just renewed by 3 domains that were expirion this week on Godaddy and got 25% discount on them. Two of them were .com and one was .co.uk How did I get it? Well it’s quite simple, I opened the chat now at shopping cart page and asked the support guy to add a discount […]
Viber adds last seen
Finally, the ultimate breakup feature of whatsapp is now available on viber too. Today viber updated its app for iOS for iPhone (on android too probably and desktop). This new update shows this message on app store (image): It says: Watch YouTube videos in-chat – Play videos right in your chats or in minimized view […]