Show SKU in Magento 1.9

Navigate to app\design\frontend\rwd\default\template\catalog\product\view.phtml

Disable “Add To Compare” in Magento 1.9 video

Watch the below video on how to disable “Add To Compare”  in Magento 1.x including 1.9

Disable “Add To Compare” in Magento 1.9

Open: app/design/frontend/yourpackage/yourtheme/template/catalog/product/list.phtml and remove or comment:

<?php if($_compareUrl=$this-getAddToCompareUrl($_product)): ?>

Adding redirection page on Contact Form 7 send

If you want to redirect users to a thank you page or payment page after submission of a contact form7. Follow the below instructions.

Magento 1.9 avoid Cron job for not sending mail

Magento 1.9 and higher use Cron jobs for sending mail. If your cPanel is not configured correctly for Cron jobs the Sales mails may not be sent or received by the users.

Adding products to Magento 1 front page

To add selected products to home page, use the below code.

{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" category_id="49" template="catalog/product/list.phtml"}}

Fix Maximum execution time error in phpMyadmin

If you are using Xampp version on Windows, importing a large database can sometimes give a Maximum execution time exceeded error.

Adding fullwidth and widewidth in Wordpress 5 non Gutenberg themes

With the new Gutenberg Wordpress 5 release some themes from Wordpress 4 may not have the FullWidth and WideWidth coded in the theme function. To create this follow the below instructions.

Hide Wordpress post data, hide Post date, Author etc

Login into Wordpress Admin

Full width in Wordpress 5

Add full width in Gutenberg Wordpress 5. You need access to your theme and core files

Hide price in Magento, hide price for visitors in Magento 1.x

The below instructions will let you hide price for guest visitors to your Magento store. The instruction will only work for Magento 1.x. From Magento 1.7 to 1.9. The instructions are done in php code.

Contact form 7 reCaptcha

Make sure you have Contact Form 7 installed as a plugin and you have a contact form

Adding custom fonts to Wordpress

Download the font zip file from any site, such as Google fonts: https://fonts.google.com/

Importing an SQL file in XAMPP MYSQL via command prompt

Importing an SQL file in XAMPP MYSQL via command prompt. You may need to do this if the sql file is too large. In excess of 500MB, I have imported a sql file of over 1GB.

Set DNS in AWS

1. For updating DNS on AWS head over to: https://console.aws.amazon.com/route53/home?#

Migrate Wordpress to AWS (Amazon Web Server) video

Watch the below video for step by step instructions.

Home page new products widget in Magento 2.x

To display new products on Home page in Magento 2. Paste the following code in the block or home page to call new products.

Manual Installation of extensions in Magento 2

Example manual Installation of hide price extension in Magento 2.x, Download the extension package.

Magento 2.x update errors

If you are getting Error Update!  ....... Please click the "Rollback" button

Delete or rename this file: /var/.update_error.flag

Magento URL examples

<!--Footer-->

<div class="custom-footer">

Magento 2 Installing Extensions

Installing Magento 2 extensions are different to Magento 1.x.

Find the extension you want to install and obtain the Public Key and Private Key from Magento Connect.

Magento commands

If you get the below error in Magento 2

How to by Pass the SSL error in Magento 2 extension install

If are getting an SSL error in Magento 2 when installing an extension via Web

Magento 2 Theme setup commands

Manual Installation

Step1: Upload and decompress into webroot folder (which you setup Magento 2.x before) the file themes.zip in the file which you downloaded

Login here to publish helpful and technical articles.

Google Ads

 
 
 



Search