Blogs By Simon Walker

Latest news, tutorials, and best practices for Magento

Author
Simon WalkerSimon Walker is a leading eCommerce consultant with over 12 years of experience in Magento development and customization. As the head of FME’s development team, Simon has empowered countless businesses to tap into their unrealised potential.
How to Add Order Attribute Programmatically in Magento 2?
March 20, 2025

Simon Walker

How to Add Order Attribute Programmatically in Magento 2?

Learn how to add a custom order attribute in Magento 2 programmatically by creating a custom module, defining the attribute in the database, and displaying it in the admin panel and frontend.

A Step by Step Guide to Installing Hyvä Theme in Magento 2
March 20, 2025

Simon Walker

A Step by Step Guide to Installing Hyvä Theme in Magento 2

This step-by-step guide walks you through installing the Hyvä theme in Magento 2, covering prerequisites, installation commands, and configuration steps to optimize performance and design.

[Fixed]: Allowed Memory Size of Bytes Exhausted Magento 2
March 19, 2025

Simon Walker

[Fixed]: Allowed Memory Size of Bytes Exhausted Magento 2

The "Allowed Memory Size Exhausted" error in Magento 2 happens when the script exceeds the allocated memory limit. To fix it, increase the memory allocation in server settings, optimize Magento by clearing cache and reindexing, and ensure the hosting environment meets Magento’s system requirements.

How to Get Base URL in Magento 2 With or Without Store Code?
March 19, 2025

Simon Walker

How to Get Base URL in Magento 2 With or Without Store Code?

In Magento 2, you can get the base URL from the admin panel under Stores > Configuration > General > Web. To retrieve it dynamically, Magento provides options to include or exclude the store code based on store settings. You can also access it programmatically through Magento’s store manager or URL interface.

How To Add Pagination to Custom Collection in Magento 2?
March 13, 2025

Simon Walker

How To Add Pagination to Custom Collection in Magento 2?

Learn how to add pagination to a custom collection in Magento 2 using setPageSize() and setCurPage() methods. This helps improve performance and user experience by loading data in manageable chunks.

A Step by Step Guide to Changing Order Number in Magento 2
March 12, 2025

Simon Walker

A Step by Step Guide to Changing Order Number in Magento 2

Changing the order number in Magento 2 requires modifying the database and configuration settings. You can achieve this by updating the sales_sequence_profile table, using a custom module, or utilizing an extension. Always back up your database before making changes to avoid potential issues.

How to Set, Retrieve & Unset Session Variable in Magento 2?
March 12, 2025

Simon Walker

How to Set, Retrieve & Unset Session Variable in Magento 2?

In Magento 2, session variables can be set using $this->session->setData('key', 'value'), retrieved with $this->session->getData('key'), and unset using $this->session->unsetData('key'). This helps manage temporary data like customer preferences or cart details.

Magento 2: Add Product Attribute Programmatically
March 12, 2025

Simon Walker

Magento 2: Add Product Attribute Programmatically

Adding a product attribute programmatically in Magento 2 involves using a setup script or data patch to define attributes like text, dropdowns, or booleans. This method ensures flexibility and customization without manual configuration in the admin panel.

How to Add Files and Documents to Product Pages in Magento 2?
September 25, 2024

Simon Walker

How to Add Files and Documents to Product Pages in Magento 2?

As the title indicates, this article will focus on uploading files and documents to product pages in Magento 2. Despite being a powerful and feature-rich platform, Magento does not have native support for uploading product attachments. Instead, merchants need to use a Magento 2 Product Attachments Extension for this purpose. We will talk more about this extension later. For now, let’s understand the benefits of product attachments.

Improving Product Pages with Magento 2 Product Attachments: Best Practices
September 24, 2024

Simon Walker

Improving Product Pages with Magento 2 Product Attachments: Best Practices

As a leading Magento 2 extensions development company, we have considerable experience working with online store owners worldwide. Despite different niches and target audiences, all of them have the same question – how to streamline the user experience (UX) to increase conversions.

How to Use Product Attachments to Improve B2B Sales in Magento 2?
September 23, 2024

Simon Walker

How to Use Product Attachments to Improve B2B Sales in Magento 2?

If you are a B2B Magento 2 store owner, there are several ways through which you can improve your sales. As the title indicates, one such method is to offer the customers the ability to use product attachments. In this article, we will delve into how Magento 2 store owners can use product attachments to improve their store sales. Before moving forward, it is pertinent to understand what we mean by product attachments.

Top Ways to Prevent Fraud in Magento 2 by Restricting Risky Payment Methods
September 17, 2024

Simon Walker

Top Ways to Prevent Fraud in Magento 2 by Restricting Risky Payment Methods

Despite advancements in technology and strengthening of eCommerce laws worldwide, fraud remains very much a concern for every store owner. The below statistic shows most common fraud experienced by online store owners worldwide.