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

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

  • Magento 2 GraphQL: Debugging & Performance Optimization Tips
  • 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

Archives

  • July 2025
  • 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

  • Magento 2 GraphQL Debugging & Performance Optimization Tips

    Magento 2 GraphQL: Debugging & Performance..

  • 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..

Most Viewed Posts

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

Check your inbox or spam folder to confirm your subscription.

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