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

Author: Sameer Bhayani

I am Adobe Certified Professional. I got involved with Magento 10 years back and since then I have never looked for another technology. Because I knew Magneto has many things to offer and it has a good future ahead.Since then I have developed many skills in magneto and helping Magento community with my skills. Today, I am good at migrating Magento 1 to Magento 2, developing a custom extension for Magento 2, platform integration with Magento 2, and developing custom store in Magento 2.I believe in Magento because it has many features to offer to the online store. It is safe and secure and developed by many coders all around the world. I am always ready to debug the code and help the community in my own ways.
  • Home
  • Sameer Bhayani
  • Page 9
Magento2: Disable Payment Method Programmatically 1 min read
  • Magento 2
  • Payments

Magento2: Disable Payment Method Programmatically

  • Sameer Bhayani
  • November 13, 2022

We developers often need to disable specific payment methods in certain scenarios. However, we cannot disable those payment methods from the configuration because our website needs them in a different scenario. We will check how […]

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

Magento 2: Add default Qty while editing product from admin 2 min read
  • Catalog
  • Magento 2

Magento 2: Add default Qty while editing product from admin

  • Sameer Bhayani
  • October 27, 2022

Very often, we need to reduce the work of the admin. This post shows the code to add the default QTY while creating or editing products on the admin side. We can see the default […]

Magento 2: Create Custom Attribute Set Using Data-Patch 1 min read
  • Eav Attributes
  • Magento 2

Magento 2: Create Custom Attribute Set Using Data-Patch

  • Sameer Bhayani
  • October 27, 2022

We often need to create a custom attribute set using the data-patch. Since Install Data & Upgrade Data have been deprecated and the Data patch has been introduced. We need data patches to create EAV attributes as […]

Posts pagination

Previous 1 … 8 9

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