We have created a custom field in the quote table and saved the value. This post will create a field in the sales_order table to save a custom. We are often required to save additional […]
Tag: Knockout JS
Magento 2: Apply sorting to street address on shipping form
We have sorted fields on the post – https://sbdevblog.com/magento-2-apply-sort-order-on-shipping-address-at-checkout/ However, there is limitiation on the street fields. We can’t sort the street field by using the layout file. Then there must be some way to […]
Magento 2: Apply Sort Order on Shipping Address at Checkout
Checkout is an essential part of e-commerce. The revenue is generated from the checkout itself. Hence, it is necessary to organise the checkout reasonably. Fields on shipping forms can vary from business to business and […]
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: 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: How to check customer is Logged in Knockout JS?
We have got logged-in customer id. We also have got logged-in customer id while Full Page Cache (FPC) is enabled. Now, we will explore how to check whether a customer is Logged in using JavaScript. […]