Do we need to send a custom email? We must create custom email templates. We will create a custom email template. Emails are an essential part of every website. Hence, emails must be unique and […]
Author: Sameer Bhayani
Magento 2: Create Custom Cron
Do we need to create a custom cron job? Let’s do it. In any case, we need to perform certain operations frequently. We will require a cron. The best example is the indexer. As we […]
Magento 2: Add Category Attribute Using Data Patch
Do we need to add a category attribute using a data patch? Let’s do it. We will add an extra text field on the category edit page on the admin side. So let’s create a […]
Magento 2: Add Custom Validation Rules on Checkout
Let’s add custom validation rules at checkout. We have added custom validation before placing the order on the checkout page. However, we can restrict address-level fields to shipping and billing addresses by adding default and […]
Magento 2: Add Custom Validation Before Order Placement
Do we need to add custom validation just before order placement? Is it possible? Yes, absolutely; Magento 2 is flexible and provides a mechanism to add our custom validation before placing orders. We often need […]
Magento 2: PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts
PayPal gateway has rejected the request.? Have you added custom charges or tax to the total? If yes, then let’s fix it. First, let’s talk about what Paypal is. Paypal is an international payment method […]
Magento 2: Add Block Before Add To Cart On Product Page
The product page is also the most crucial, like the checkout page. Customers see a detailed view of each product, including reviews. Hence, this page must be handled carefully to convert the cart into a […]
Magento 2: Access Configuration Value in JavaScript at Checkout
We have accessed the configuration value in the JavaScript widget. In this post, we will access the configuration value in JavaScript at checkout. As in the last post, if we pass value to a JS widget, […]
Magento 2: How to pass value to JS
We will pass the dynamic configuration values to JS in this post. We can pass values to the configuration using checkoutConfig in checkout. However, we can also pass values to the jQuery widget from the […]
Magento 2: Create Dynamic Row System Configuration
In this post, we will create a dynamic row system configuration. This is because we often require dynamic values for rows. For example, we usually save rows as individual fields in separate tables or keep […]