Solved – Undefined Method in getConfigurableAttributeCollection in Magento 2.3.3

Solved - Undefined Method in getConfigurableAttributeCollection in Magento 2.3.3

Losing a conversation at checkout is painful, owing to all the efforts you put in shaping the customer journey and reach till checkout. Checkout page optimization can save you the bucks that you lose due to cart abandonment. Any errors on the checkout step can be fatal and one such checkout issue due to undefined method in getConfigurableAttributeCollection in Magento 2.3.3  is identified. The customers won’t be able to redirect on the payment gateway in some cases due to the

Continue Reading

How To Install Sample Data In Magento 2

How To Install Magento 2 Sample Data

Magento 2 sample data is a test sample data based on the Luma theme with sample products, categories, customers’ data, etc. The objective of the sample data after you have installed Magento 2 is to use it as a test environment where you can tweak the orders, prices, add products, manage inventory, test the pricing rules, and so on. There are two methods to install Magento 2 sample data: Install using Magento CLI Install by cloning repositories You can bookmark

Continue Reading

Solved – “Your session has expired” On Clicking Add To Cart In Magento 2.3 Localhost

Solved - “Your session has expired” On Clicking Add To Cart In Magento 2.3 Localhost

If you have been too much into Magento like me, you might have experienced an error that says “Your session has expired” on clicking add to cart in Magento 2.3 localhost. This may happen when you have installed a fresh Magento 2.3 at local and trying test product functionality by adding to the cart. To resolve the issue, try the below solution to get rid of the expired session error. Solution For “Your Session Has Expired” On Clicking Add To

Continue Reading

Solved – “Invalid parameter given. A valid $fileId[tmp_name] is expected” In Magento 2.3.3

Solved - "Invalid parameter given. A valid $fileId[tmp_name] is expected" In Magento 2.3.3

Ever faced an error that says “Invalid parameter given. A valid $fileId[tmp_name] is expected” In Magento 2.3.3? I did. And I found the solution for the same which I have shared with my readers in this post. I was not able to upload a custom file in system configuration in local Magento 2.3.3. The issue was with the image uploader class of Magento core, due to which the below error was generated: Implement the below solution to get rid of the

Continue Reading

How To Create Input Tag With Disabled Attribute In Magento 2 system.xml

How To Create Input Tag With Disabled Attribute In Magento 2 system.xml

In the previous blog, I posted the solution to create input tag with disabled attribute in Magento system.xml This solution is supposed to be implemented when you want to restrict the admin to change the values of particular fields for the proper working of your Magento 2 extensions. Again, I’ve come up with a similar solution but for Magento 2. Create input tag with disabled attribute in Magento 2 system.xml and restrict the admin users from changing the values of

Continue Reading

How To Pass Parameter To URL In Magento 2

How To Pass Parameter To URL In Magento 2

Online multi-channel retailing can be interpreted as an approach to sale online store products on additional platforms like Instagram, Facebook, relevant marketplaces, etc. For Magento 2 stores going for this approach needs to offer an excellent shopping experience. For example, a visitor checks your product on a Facebook shop and decides to buy it. On clicking it, he should be redirected to your store, and the product must be added to the cart for checkout. However, Magento 2 needs to

Continue Reading

How To Use jQuery Library In Magento 2

How To Use jQuery Library In Magento 2

I’ll state two sentences which are difficult to implement at a time. (Or so do you think!) “Optimize page load speed” “Use of jQuery for SEO optimized and extensible frontend” You may think of using an external jQuery library in Magento 2 for leveraging the benefits of jQuery for the store. However, you may be unaware that you can also use jQuery library in Magento 2 by default itself, and the post shows how! The use of external jQuery library

Continue Reading

How To Add Order Number To Subject In Order Email Template in Magento 2

How To Add Order Number To Subject In Order Email Template in Magento 2

So you have made a sale. Yaay! But your job is still not done. Conversion is only one side of the equation, you also need to gear up for the post-purchase customer experience. And how well crafted your order emails are, does matter. A misplaced order email is a lost opportunity. However, it is not a task that requires any extraordinary efforts. Even small changes like adding order number to the subject line in the order related emails can push

Continue Reading

How To Remove Block Depending on Config Setting in Magento 2

How To Remove Block Depending on Config Setting in Magento 2

I’ve earlier posted a solution to remove a block from the layout in Magento 2 But what if you want to remove block depending on config setting in Magento 2 store? It may happen that based on certain conditions, you want to display a block or eliminate it. For example, you want to disable the account registration based on a specific condition and hence remove the login block. Implement the below method for similar scenarios and handle conditional behaviors like

Continue Reading

Solved – PayPal Issue in Magento 2.3.3 Checkout

Solved - PayPal Issue in Magento 2.3.3 Checkout

Recently upgraded to the latest Magento 2.3.3 version? But are you facing the Paypal issue in Magento 2.3.3 checkout or order placement? The upgraded store works fine with adding products to the cart, checkout, and placing the order but fails to send the order confirmation Email! You get an exception like: Try the below solution to get rid of this Paypal problem while checkout and order placement: Solution for PayPal Issue in Magento 2.3.3 Checkout: Find the below code in

Continue Reading