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
  • Ai With SbDevBlog
  • Prompt Engineering

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

  • Sameer Bhayani
  • May 23, 2026
  • 13 min read
  • Ai With SbDevBlog
  • Prompt Engineering

Zero-Shot vs Few-Shot Prompting: The Technique That Makes AI Sound Like You

  • Sameer Bhayani
  • May 16, 2026
  • 9 min read
  • Ai With SbDevBlog
  • Prompt Engineering

The Perfect Prompt Structure: Get Exact Results from AI

  • Sameer Bhayani
  • May 3, 2026
  • 13 min read

Trending Posts

  • Ai With SbDevBlog
  • Prompt Engineering

The Skill That Makes AI Actually Work for You

  • Sameer Bhayani
  • May 2, 2026
  • 8 min read
  • Ai With SbDevBlog
  • Prompt Engineering

The Perfect Prompt Structure: Get Exact Results from AI

  • Sameer Bhayani
  • May 3, 2026
  • 13 min read
  • Ai With SbDevBlog
  • Prompt Engineering

Zero-Shot vs Few-Shot Prompting: The Technique That Makes AI Sound Like You

  • Sameer Bhayani
  • May 16, 2026
  • 9 min read
  • Ai With SbDevBlog
  • Prompt Engineering

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

  • Sameer Bhayani
  • May 23, 2026
  • 13 min read
  • Adobe Commerce
  • Magento 2

Understanding Composer and Its Commands in Magento 2

  • Sameer Bhayani
  • October 20, 2024
  • 5 min read

Popular Posts

How to invalidate indexer programmatically? 3 min read
  • Catalog
  • Categories
  • Indexer
  • Magento 2

Magento 2: How to invalidate indexer programmatically?

  • Sameer Bhayani
  • January 1, 2023

Very often we need to perform the indexing. We either run the index manually or we set the index corn-based to run invalidated indexes automatically which we have set to…

Read More
Magento 2 create custom product attribute using data patch adobe commerce 1 min read
  • Catalog
  • Eav Attributes
  • Magento 2

Magento 2: Add Product Attribute Using Data Patch

  • Sameer Bhayani
  • December 14, 2022

Let's Create a custom product attribute using a data patch. Install Data & Upgrade Data is replaced by the Data Patch since Magento 2.3 version. Install Data & Upgrade Data…

Read More
get shipping rates using JS in magento 2 - sb dev blog 2 min read
  • Cache
  • Cart
  • Checkout
  • Knockout JS
  • Magento 2
  • Shipping

Magento2: How to refresh the shipping method using JS?

  • Sameer Bhayani
  • March 11, 2023

Let's refresh the shipping method using JS. We have restored the total section in https://sbdevblog.com/magento-2-how-to-update-the-total-using-js/ Very often, we need to update the shipping method in the cart and checkout page using JS. For example, on…

Read More
Remove PRODUCTS TO CATEGORIES programmatically 1 min read
  • Catalog
  • Categories
  • Magento 2

Magento 2: How To Remove Product from the categories Programmatically?

  • Sameer Bhayani
  • December 31, 2022

We have seen how to add products to categories in a previous blog.https://sbdevblog.com/magento-2-how-to-assign-product-to-categories-programmatically/. Very often, we get the requirement to add or remove products programmatically. For example, we must create…

Read More
How to create a custom cache in Magento 2 3 min read
  • Cache
  • Magento 2

Magento 2: How to Create Custom Cache?

  • Sameer Bhayani
  • February 18, 2023

Let's see How we can create a custom cache in Magento 2. We are aware of the caching mechanism of Magento 2. We can see a list of the cache…

Read More
Magento 2: How to Unlock Admin User? 2 min read
  • Admin
  • Magento 2

Magento 2: How to Unlock Admin User?

  • Sameer Bhayani
  • January 21, 2023

We often notice that despite entering a username and password, we get an error: You did not sign in correctly or your account is temporarily disabled. It happens while someone has tried to attempt a […]

Magento 2: How to Get Formatted Price With Currency 3 min read
  • Catalog
  • Magento 2

Magento 2: How to Get Formatted Price With Currency

  • Sameer Bhayani
  • January 14, 2023

Very often, we are required to get the prices of products, but we get those prices without a currency symbol. Therefore, we need to show prices according to the currency set in the store. To […]

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 invalidate indexer programmatically? 3 min read
  • Catalog
  • Categories
  • Indexer
  • Magento 2

Magento 2: How to invalidate indexer programmatically?

  • Sameer Bhayani
  • January 1, 2023

Very often we need to perform the indexing. We either run the index manually or we set the index corn-based to run invalidated indexes automatically which we have set to Update on schedule. Some events […]

Magento 2: How To Remove Product from the categories Programmatically? 1 min read
  • Catalog
  • Categories
  • Magento 2

Magento 2: How To Remove Product from the categories Programmatically?

  • Sameer Bhayani
  • December 31, 2022

We have seen how to add products to categories in a previous blog.https://sbdevblog.com/magento-2-how-to-assign-product-to-categories-programmatically/. Very often, we get the requirement to add or remove products programmatically. For example, we must create a console script or cron […]

Magento 2: How to Assign Product to categories Programmatically? 1 min read
  • Catalog
  • Categories
  • Magento 2

Magento 2: How to Assign Product to categories Programmatically?

  • Sameer Bhayani
  • December 25, 2022

Being adobe commerce developers, we get different tasks every day in which we need to resolve issues or we need to develop functionality according to requirements. Magento 2 provides the best facilities to create / […]

Magento 2: How to use ViewModels? 2 min read
  • Catalog
  • Layout
  • Magento 2
  • templates
  • Theme
  • View Model

Magento 2: How to use ViewModels?

  • Sameer Bhayani
  • December 17, 2022

A view model is a reflection of the view, uncovering public properties and orders. It permits designers to offload elements and business rationale from block classes into isolated classes that are more straightforward to keep […]

Magento 2: Add Product Attribute Using Data Patch 1 min read
  • Catalog
  • Eav Attributes
  • Magento 2

Magento 2: Add Product Attribute Using Data Patch

  • Sameer Bhayani
  • December 14, 2022

Let’s Create a custom product attribute using a data patch. Install Data & Upgrade Data is replaced by the Data Patch since Magento 2.3 version. Install Data & Upgrade Data are depreciated so Magento 2 […]

Magento 2: How to Add Top Link 3 min read
  • Header
  • Magento 2
  • Menu
  • Theme

Magento 2: How to Add Top Link

  • Sameer Bhayani
  • December 3, 2022

Adobe Commerce Developers often need to work on the frontend side. For example, we must add links on the main and top menus. It is all about front-end customisation. We customise the menu, category layer […]

Magento 2: Add Multiple Products To Cart Programmatically 1 min read
  • Cart
  • Catalog
  • Magento 2

Magento 2: Add Multiple Products To Cart Programmatically

  • Sameer Bhayani
  • December 3, 2022

Adobe Commerce developers often require adding multiple products to the cart from the custom module. For example, developers need to add mass-action product lists and allow customers to add products to the cart with one […]

Posts pagination

Previous 1 … 7 8 9 Next

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

  • 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
  • Zero-Shot vs Few-Shot Prompting: The Technique That Makes AI Sound Like You
  • The Perfect Prompt Structure: Get Exact Results from AI

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

  • AI persona prompting

    AI Persona Prompting: Make AI Behave..

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

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? (823)
  4. Magento 2: Add a Custom Field to the Quote Table (717)
  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