Skip to content
  • Home
  • 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 […]

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

  • Prompt Iteration: How to Turn Weak AI Responses Into Gold
  • Chain of Thought Prompting: A Practical Guide for Better AI Results
  • Zero-Shot vs Few-Shot Prompting: The Technique That Makes AI Sound Like You
  • The Perfect Prompt Structure: Get Exact Results from AI
  • The Skill That Makes AI Actually Work for You

Archives

June 2026
MTWTFSS
1234567
891011121314
15161718192021
22232425262728
2930 
« May    

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

  • prompt iteration

    Prompt Iteration: How to Turn Weak..

  • Chain of Thought Prompting: A Practical Guide for Better AI Results

    Chain of Thought Prompting: A Practical..

  • Zero-Shot vs Few-Shot Prompting

    Zero-Shot vs Few-Shot Prompting: The Technique..

Most Viewed Posts

  1. Magento 2: Message Queue Status Codes (1,230)
  2. Magento2: How to refresh the shipping method using JS? (1,031)
  3. Magento 2: How to invalidate indexer programmatically? (822)
  4. Magento 2: Add a Custom Field to the Quote Table (716)
  5. Magento 2: How To Remove Product from the categories Programmatically? (690)
Magento 2 Sb Dev Blog

Check your inbox or spam folder to confirm your subscription.

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