Skip to content
  • Home
  • Magento 2
    • Cart
    • Catalog
    • Customer
    • Eav Attributes
    • Payments
    • Shipping
    • Theme
  • AEM
  • Node JS
    • JavaScript
  • Data Analytics
  • Watch Our Vlogs
  • Contact Us
  • Privacy Policy
Magento 2 Sb Dev Blog

Tag: Knockout JS

  • Home
  • Knockout JS
Magento 2: define vs require in JavaScript 4 min read
  • Adobe Commerce
  • Knockout JS
  • Magento 2

Magento 2: define vs require in JavaScript

  • Sameer Bhayani
  • December 9, 2024

Magento 2: define vs require in JavaScript are essential concepts in understanding how JavaScript modules are managed within the Magento 2 ecosystem. Built on a robust modular architecture, Magento 2 uses JavaScript extensively to enhance […]

Magento 2: Save value to a custom field in the order 4 min read
  • Cart
  • Checkout
  • Customer
  • Grid
  • Knockout JS
  • Magento 2
  • Order
  • Payments
  • Sales
  • Sales
  • Shipping

Magento 2: Save value to a custom field in the order

  • Sameer Bhayani
  • March 3, 2024

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 […]

Magento 2: Apply sorting to street address on shipping form 3 min read
  • Checkout
  • Magento 2

Magento 2: Apply sorting to street address on shipping form

  • Sameer Bhayani
  • October 7, 2023

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 4 min read
  • Checkout
  • Magento 2

Magento 2: Apply Sort Order on Shipping Address at Checkout

  • Sameer Bhayani
  • October 7, 2023

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 5 min read
  • Checkout
  • Knockout JS
  • Magento 2

Magento 2: Add Custom Validation Rules on Checkout

  • Sameer Bhayani
  • May 27, 2023

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 6 min read
  • Checkout
  • Knockout JS
  • Magento 2
  • Payments
  • Shipping

Magento 2: Add Custom Validation Before Order Placement

  • Sameer Bhayani
  • May 20, 2023

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 4 min read
  • Checkout
  • Configuration
  • Knockout JS
  • Magento 2

Magento 2: Access Configuration Value in JavaScript at Checkout

  • Sameer Bhayani
  • May 13, 2023

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 3 min read
  • Catalog
  • Configuration
  • Knockout JS
  • Magento 2

Magento 2: How to pass value to JS

  • Sameer Bhayani
  • May 6, 2023

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? 2 min read
  • Customer
  • Knockout JS
  • Magento 2

Magento 2: How to check customer is Logged in Knockout JS?

  • Sameer Bhayani
  • January 7, 2023

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. […]

LET’S KEEP IN TOUCH!

We’d love to keep you updated with our latest technical content😎

We don’t spam! Read our privacy policy for more info.

Check your inbox or spam folder to confirm your subscription.

Recent Posts

  • Creating a Custom GraphQL for Magento 2 Products
  • Using Input Types in Custom GraphQL Mutations in Magento 2
  • Create a Custom GraphQL Mutation in Magento2
  • How to Add Filtering, Sorting, and Pagination to Your Custom GraphQL in Magento 2
  • How to Create a Custom GraphQL Endpoint in Magento 2

Archives

  • June 2025
  • May 2025
  • April 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • June 2024
  • May 2024
  • March 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022

profile for Sameer Bhayani at Magento Stack Exchange, Q&A for users of the Magento e-Commerce platform

SB DEV BLOG provides technical article which you need in daily life. Started from Adobe Commerce (Magento 2) but I will write and publish post for other framework and languages as well.

Recent Posts

  • Creating a Custom GraphQL for Products in Magento2

    Creating a Custom GraphQL for Magento..

  • Using Input Types in Custom GraphQL Mutations in Magento2

    Using Input Types in Custom GraphQL..

  • Create a Custom GraphQL Mutation

    Create a Custom GraphQL Mutation in..

Most Viewed Posts

  1. Magento 2: Message Queue Status Codes (926)
  2. Magento2: How to refresh the shipping method using JS? (925)
  3. Magento 2: How to invalidate indexer programmatically? (755)
  4. Magento 2: How To Remove Product from the categories Programmatically? (596)
  5. Magento 2: How to update the total using JS (553)
Magento 2 Sb Dev Blog

Check your inbox or spam folder to confirm your subscription.

Copyright © 2022-24 https://sbdevblog.com