Skip to content
  • Home
  • ACCS
  • Magento 2
    • Cart
    • Catalog
    • Customer
    • Eav Attributes
    • Payments
    • Shipping
    • Theme
  • AI With SB
    • Prompt Engineering
  • We are on YouTube
  • Contact Us
  • SBDEVBLOG 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. […]

Recent Posts

  • ACCS vs Adobe Commerce on Cloud: Which One Fits Your Store?
  • Introduction to ACCS: Adobe Commerce as a Cloud Service
  • AI Persona Prompting: Make AI Behave Like Any Expert You Need
  • Prompt Iteration: How to Turn Weak AI Responses Into Gold
  • Chain of Thought Prompting: A Practical Guide for Better AI Results

Archives

October 2026
MTWTFSS
 1234
567891011
12131415161718
19202122232425
262728293031 
« Jun    

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.

[mwai_chatbot id="default"]

Recent Posts

  • ACCS vs Adobe Commerce on Cloud comparison banner - which one fits your store

    ACCS vs Adobe Commerce on Cloud:..

  • Adobe Commerce as a Cloud Service (ACCS) banner - What ACCS changes

    Introduction to ACCS: Adobe Commerce as..

  • AI persona prompting

    AI Persona Prompting: Make AI Behave..

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