Fme Extensions Blog

Latest news, tutorials, and best practices for Magento

December 13, 2023Magento: Extensions, Custom Development or Both? Choose Wisely

Hey there, fellow e-commerce enthusiasts! Let's talk about spicing up your online business game with some top-notch solutions. If you've been on the lookout for ways to boost your online store's efficiency, you're in luck! Enter Magento - the superhero among e-commerce platforms that's been hitting the mark.

December 11, 2023Top Magento Alternatives and Competitors in 2024

Hey, savvy e-commerce wizards! Are you ready for a whirlwind adventure into the vibrant world of online selling? Picture this: you're about to embark on a quest to find the ultimate e-commerce platform that'll skyrocket your business to the stars. Today, we're spilling the beans on the hottest topic around – the top alternatives to Magento in 2024.

December 6, 2023Magento Security: Measures & Best Practices

Hey there, fellow Magento store managers!

July 12, 2024How to Enable Template Path Hints in Magento 2? The Right Way

If you are a Magento developer, then you’ll benefit from this article greatly as we are going to discuss everything there’s to know about Magento 2 template hints. Before we discuss how to enable template path hints in Magento 2, let’s understand what Magento 2 template hints are and how it benefits the developers. What are Magento 2 Template Hints? By enabling "Template Path Hints", you can see exactly which file a particular area of the page is created from. This makes it easy to locate a particular .phtml file and update it to make changes in the specific content on the storefront. Now, let’s turn our attention towards the benefits. Why Should You Use Magento 2 Template Path Hints? Quick Debugging The topmost reason merchants use Magento is because of its customisability. Naturally, when considerable custom work is done, there are chances of bugs. Enabling the Magento 2 template hints allows developers to see which template file is used to render a specific part of the webpage. This speeds up the process of identifying and fixing coding issues. Saves Time If you need to make changes to your store, then developers require considerable time to browse through directories to find the relevant template files. When the template path hints are enabled, developers can easily pinpoint the exact file they need to modify, thereby speeding up the development process. Enabling Template Path Hints in Magento Template path hints can be enabled for either the storefront or the Admin. If Magento 2 template hints are not showing on storefront, then you can use any of the following two methods to fix this problem. Method 1: Enable Template Path Hints in Magento 2 Via Admin Panel Login to your Admin panel Navigate to Stores -> Configuration -> Advanced -> Developer Expand the " Debug " section Enable Template Path Hints for Storefront To enable template path hints for the Storefront, set “ Enable Template Path Hints for Storefront ” to Yes . To enable hints for storefront with url parameter, set Enable hints for Storefront with URL Parameter to Yes . Make sure to Clear Magento Cache if template path hints for storefront are not working. Keep in mind that after enabling the Magento 2 template path hints, your website will slow down significantly. Therefore, only enable this feature in development mode. For more information, refer to our guide on how to set Magento 2 modes . Enable Template Path Hints for Admin To Enable template path hints for the Admin , set Enabled Template Path Hints for Admin to Yes. Click " Save Config " Now Clear Magento Cache: On the Admin sidebar, go to System -> Tools -> Cache Management -> click Flush Magento Cache . If you refresh your front end view (your website) you should now see Template Path Hints enabled for you and you can easily trace the .phtml files and edit it. Method 2: Enable Magento 2 Template Hints via Command Line Connect to your store with SSH terminal, and go to the root directory of your Magento 2 store. To Enable Template Hints via CLI: php bin/magento dev:template-hints:enable To Disable Template Hints via CLI: php bin/magento dev:template-hints:disable Clear Cache via CLI: Make sure, you clear Magento 2 cache if Magento 2 template hints are not showing. Clear Magento Cache to remove all hints from the store using the following command: bin/magento cache:flush Final Thoughts on Magento 2 Template Hints That’s all about enabling template path hints in Magento 2. This is as straightforward as it seems. However, no question is a wrong question so don’t hesitate to contact us in case you have any questions related to template path hints in Magento 2 . Read More: Add Custom Variable to Email Template in Magento 2 How to Create a Gift Card in Magento 2? How to Add a Canonical URL in Magento 2? FAQs About Magento 2 Template Path Hints 1. What are template path hints in Magento 2? It is a feature that helps developers see which template file is used for a specific part on any webpage. 2. What to do if Magento 2 template hints not showing? If the template path hints are not showing, then repeat the above steps again. Ensure that you clear the cache. In most cases, users forget to clear the cache. 3. Are there any security concerns related to showing template hints? If you enable the template path hints in production mode, then users can see the internal structure of your store. This information is sensitive and can be misused. 4. Can I enable template paths for specific URLs? Yes, you can do so easily. All you need to do is set Enable hints for Storefront with URL Parameter to Yes.

July 11, 2024How to Configure the Minimum Order Amount in Magento 2?

In a previous article, we talked about how to configure COD payment method in Magento 2 . One of the points we made was that store owners can set up a minimum and maximum order amount to enable this payment method. In other words, if the order amount is lower than the minimum amount or greater than the maximum, the COD payment method is automatically disabled. In this article, we are going to discuss about the Magento 2 minimum order amount and how to configure it. What is the Magento 2 Minimum Order Amount? As a store owner, you wish to maximise profitability, but without exploiting the customers. Naturally, if a customer orders a product worth $1 and expects it to be delivered across the country, its not really worthwhile for the store owner. They’ll be spending more on packaging and shipping than what they’ll receive in return. This is where the Magento 2 minimum order amount comes into play. It is the lowest monetary amount that a customer must spend on products or services in a single transaction when making a purchase. It is a requirement set by the seller and customers must meet or exceed this amount to complete the transaction. In case the customer’s subtotal or grand total is below the minimum order amount, he/she will not be able to proceed to checkout. Why Set Magento 2 Minimum Order Amount? When setting up a Magento 2 minimum order amount for customer group or for everyone, you’ll realise the following benefits: Higher Average Order Value The first thing you’ll notice is that the average order value has increased. This translates to better profitability and more sales. Less Operational Costs Secondly, the operational costs with processing an order goes down. Whether it is a single item or 10 items, the process and packaging costs are almost similar. Thus, it is better to process 10 items than only one. Improved Financial Stability A higher average order value leads to greater financial stability. The business can reinvest the extra amount to offer better services and products. Streamlined Order Management By reducing the number of small orders, order management becomes easier and more manageable. Potential Drawbacks Associated with Magento 2 Minimum Order Amount? While the minimum order amount offers various benefits, there are certain drawbacks which need to be kept in mind, including: Lower Customer Satisfaction Your customers may feel that you are forcing them to spend more than required. This can lead them to develop negative feelings towards your store. They may shift to a store that lets them order only the items they require without worrying about the minimum order amount. High Cart Abandonment Another potential drawback is that customers may abandon their cart after getting to know that the order does not meet the minimum order amount. They may not feel compelled to add more items to the cart. From a business perspective, it leads to higher losses. The cost of holding inventory will increase as well. How to Configure the Minimum Order Amount in Magento 2? Magento, as a flexible eCommerce platform, allows you to establish a minimum order amount through the admin panel. Keep in mind that this minimum order amount applies to all customers. If you need to set unique minimum order amounts for a customer group, consider using our Magento 2 Minimum Order Amount for Customer Group extension. Login to your Magento 2 admin panel On the left panel, navigate to Stores and under 'Settings', click Configuration On the left panel, expand Sales and click on Sales Expand the Minimum Order Amount tab Enable: Select 'Yes' to enable the minimum order amount Minimum Amount: Enter the minimum order amount Include Discount Amount: Select 'Yes' if you want to include discount in the amount Include Tax to Amount: Select 'Yes' if you want to include tax in the amount Description Message: Enter a custom message you want to display when a customer does not meet the minimum order amount requirement Error to Show in Shopping Cart: Enter the error message you want to display in shopping cart Click Save Config That's it for the configuration. Now when a customer tries to purchase less than $50, he will get a warning message as shown below. About the Magento 2 Minimum Order Amount for Customer Group Extension This extension is a must-have for store owners who wish to apply the minimum order amount for a specific customer group or groups. Through this extension, you can: Display a Custom Message If Order Amount Does Not Meet the Minimum Amount Calculate Order Amount Based on Subtotal or Grand Total To know more about this extension, book a live demo . Final Thoughts on Magento 2 Minimum Order Amount This concludes our article on how to configure the minimum order amount in Magento 2. Contact our support team if you require any help. Check Out: How to Configure Zero Subtotal Checkout in Magento 2? Hide Price & Add to Cart Button Extension Call for Price Extension