Posts

Credit Memos and Stock Availability in Magento

If, like many merchants using Magento, you have configured Magento to manage product stock levels, Magento will automatically return stock to product(s) should a credit memo get created for the product(s) ordered. However, there is a missing feature involving credit memos and stock availability in Magento.
If there is only a qty of 1 of ...

Customers with an empty Date of Birth cannot be saved

A core Magento bug that developers are stumbling across recently is the issue involving records involving customers with an empty Date of Birth cannot be saved in the admin.
When attempting to save a customer within the admin, and having not filled out the optional Date of Birth field may result in the following error ...

Add a Login Popup in Magento 2

Rather than redirecting customers to a login page, many merchants favour showing a login popup enabling the user to login without having to navigate away from the current page. To add a login popup in Magento 2 requires knowledge of JavaScript and layout usage in Magento.
Magento already contains a vendor/magento/module-customer/view/frontend/web/js/model/authentication-popup.js file, which is used ...

Add Customer Layout Handles in Magento 2

Magento 1 provided the useful ability to add layout updates depending on whether the customer was logged in or out of their account. For some reason, Magento 2 does not contain these layout handles by default. Below will describe the steps needed to add customer layout handles in Magento 2.
To start with, add a ...

Changing Credit Card Icons on the Magento 2 Checkout

When using a default payment method on the Magento checkout, such as Braintree, you may notice the use of different credit card type icons. Going about changing credit card icons on the Magento 2 checkout can be done by following the steps within this post.

Magento by default adds a grayscale filter to the ...

Removing the Newsletter Queue in Magento

Occasionally you may wish to remove newsletter posts that have been queued in Magento, either before or whilst the queue is being processed. Removing the newsletter queue in Magento is no easy task, as there isn’t an action to do so via the admin interface in Magento.

There may be several reasons why you ...

Correcting Wrong Magento Reports

As a merchant you may view and analyse data in the Magento admin using the in-built reporting tool. If your timezone has recently updated, such as the clocks have gone forward or back an hour, you might find that Magento reports are inaccurate, and data is missing for specific dates. Correcting wrong Magento reports requires ...

Using React Router v4

When creating websites using React, a router package will need to be installed so that the React application can handle requests within the browser. In order to go about using React Router v4, the react-router-dom package should be installed.
For simplicity, routing will be added to the create-react-app application.
To start with, create the React ...

Add Category Thumbnail Images in Magento 2

Whilst Magento provides a default image attribute assigned to categories, it is common for developers to want to add additional image attributes to categories. For example, to create a thumbnail image that might appear on the home page alongside other thumbnail images and link to the category pages. To add category thumbnail images in Magento ...

Magento 2 and WordPress Integration with Visual Composer

It is fairly common to see Magento integration extensions such as FishPig and MWI to integrate WordPress as a CMS with Magento to manage content such as a blog. Whilst the integrations are mostly seamless, there is a bit if a problem with Magento 2 and WordPress Integration with Visual Composer.
As an example, a ...