S C R I P T B A K E R

Loading

How to make your Magento 2 store PCI Compliant

Ensuring that your Magento 2 website is PCI compliant is essential if you accept credit card payments online. The Payment Card Industry Data Security Standards (PCI DSS) are a set of security standards established by the major credit card companies to protect against credit card fraud and ensure the safe handling of sensitive cardholder information. … Continue reading “How to make your Magento 2 store PCI Compliant”

Read More

Magento 2 Security: Best practices for securing a Magento 2 store against cyber threats.

Securing an e-commerce website is of the utmost importance, as it not only protects your business from financial losses but also maintains the trust of your customers. Magento 2, being one of the most popular e-commerce platforms, offers various built-in security features to protect your store from cyber threats. However, it’s important to follow some … Continue reading “Magento 2 Security: Best practices for securing a Magento 2 store against cyber threats.”

Read More

Magento 2 SEO: Tips and techniques to improve the search engine visibility of a Magento 2 store

Search Engine Optimization (SEO) is an essential aspect of any e-commerce website, and Magento 2 is no exception. By optimizing your Magento 2 store for search engines, you can increase its visibility, drive more traffic, and ultimately boost your sales. In this article, we will discuss some tips and techniques to improve the search engine … Continue reading “Magento 2 SEO: Tips and techniques to improve the search engine visibility of a Magento 2 store”

Read More

Magento 1: Export catalog categories for a specific store view

In this post you will learn how you can export Magento 1.9 categories for a specific store view as CSV. For example, you have Arabic store view with ID 7, and you want to export all arabic category names in a CSV file, below will be the code you want. Create a file on your … Continue reading “Magento 1: Export catalog categories for a specific store view”

Read More

Magento 1: Export manufacturers CSV by specific store view

This post will guide you on how you can export the manufacturer list (Magento 1.9) to CSV file. In this script, I am filtering the list by store view. Let’s suppose you have a store view for Arabic (Store ID=1) and you want to export the manufacturer (Attribute ID= 555) list in Arabic labels only. … Continue reading “Magento 1: Export manufacturers CSV by specific store view”

Read More

Search Magento products by product labels

Project Overview: Task was to develop a Product Labels Magento extension. Where admin can create product labels by uploading an image, enter label title and attach them to any number of products available in store. The label should display on front-end along with product information.

Read More

Creating Magento order programmatically and charging saved credit card.

Creating order is the basic functionality of Magento but its the trickiest one at the same time for developers. Yes, its true because its not straight forward like instantiating model, assigning some values and saving it. Sometimes you may want to create auto orders using some cron script.

Read More

Magento 2.0 : Fatal error: Uncaught exception ‘Magento\Framework\Exception\LocalizedException’ with message ‘Can’t create directory

This error message is indicating that Magento is unable to create a directory. This could be due to a number of reasons, such as: Permission issues – Magento may not have the necessary permissions to create a directory in the specified location. Disk space – The server may be out of disk space, preventing Magento … Continue reading “Magento 2.0 : Fatal error: Uncaught exception ‘Magento\Framework\Exception\LocalizedException’ with message ‘Can’t create directory”

Read More

How to Conditionally remove Magento header/footer?

Are you looking for a solution to conditionally remove Magento header footer but don’t know where to start? Right in this post I will show you how to create custom layout handles and utilize them to conditionally remove header/footer blocks.

Read More

Add custom Javascript in Magento admin form

In previous post we learnt how to render custom html in tabs block. Now lets add custom JavaScript in Magento admin form. Magento is flexible enough to insert your custom JavaScript code snippets in forms created by your very own Magento modules & extensions.

Read More

Magento: Render static block in a phtml file

Suppose you have created a static block from Magento administration panel (CMS -> Static Blocks) and you want to render its content in some phtml file.

Read More

How to render custom phtml in Magento admin tabs block?

It’s possible to add custom tabs on any page of Magento administration panel. Normally tabs are generated by Form Blocks, this is fine if you want to create standard forms but what if you need to render something totally different. Life can get very easy if we can render our custom phtml file. Embrace the … Continue reading “How to render custom phtml in Magento admin tabs block?”

Read More