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

Category: Customer

  • Home
  • Magento 2
  • Customer
Customer Info: How to Get Bearer Token in Magento 2 3 min read
  • Adobe Commerce
  • Adobe Commerce Cloud
  • Customer
  • GraphQL
  • Magento 2

Customer Info: How to Get Bearer Token in Magento 2

  • Sameer Bhayani
  • May 20, 2025

Customer Info: How to Get Bearer Token in Magento 2, When you’re working with Magento 2 GraphQL APIs, some data is public (like products or categories), but some — like customer details — require authentication.To […]

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

Magento2: How to Add Customer Address Attribute Using Data Patch 3 min read
  • Customer
  • Customer Address
  • Eav Attributes
  • Magento 2

Magento2: How to Add Customer Address Attribute Using Data Patch

  • Sameer Bhayani
  • January 28, 2023

Let’s see how we can add customer address attributes programmatically using the data patch in this post. We have seen how we can add product attributes programmatically using the data patch in a the post […]

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

Magento 2: How to get current customer id while FPC  is enabled? 1 min read
  • Customer
  • Magento 2

Magento 2: How to get current customer id while FPC is enabled?

  • Sameer Bhayani
  • November 1, 2022

We have tried to get customer id in post https://sbdevblog.com/magento-2-how-to-get-the-current-customer-id/ . However, we are not able to get customer details like customer id, Log-in Status of visitor because we are getting NULL value each time we […]

Magento 2: How to get logged in customer’s id? 1 min read
  • Customer
  • Magento 2

Magento 2: How to get logged in customer’s id?

  • Sameer Bhayani
  • October 29, 2022

We will check How to get logged in customer’s id? in this post. We need to read the customer sessions in order to get the current logged-in customer-id. This post shows you by reading customer […]

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