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

Tag: frontend

  • Home
  • frontend
  • Page 2
Magento2: How to refresh the shipping method using JS? 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 applying a custom discount or […]

Magento 2: How to update the total using JS 2 min read
  • Cart
  • Checkout
  • Magento 2
  • Payments

Magento 2: How to update the total using JS

  • Sameer Bhayani
  • March 9, 2023

How to update the total using JS Let’s check how we can achieve this in Magento 2. We have updated Mini Cart using sections.xml and JS in the post: https://sbdevblog.com/magento-2-how-to-update-mini-cart/ Like the mini-cart, sometimes we […]

Magento 2: How to Update Mini Cart? 3 min read
  • Cache
  • Cart
  • Knockout JS
  • Magento 2

Magento 2: How to Update Mini Cart?

  • Sameer Bhayani
  • March 8, 2023

Mini Cart displays a selection of the items added to the cart, as well as the subtotal and update and remove item options. Users can see these details without refreshing the page. If we look […]

Magento 2: How to Invalidate and Flush Custom Cache Type? 2 min read
  • Cache
  • Magento 2

Magento 2: How to Invalidate and Flush Custom Cache Type?

  • Sameer Bhayani
  • March 4, 2023

Let’s see how we can Invalidate and Flush Custom Cache? We have created a custom cache type https://sbdevblog.com/magento-2-how-to-create-custom-cache/ as well as we have saved and retrieved data from the cache https://sbdevblog.com/magento-2-store-retrieve-from-the-custom-cache/ Invalidate and Flush Custom […]

Magento 2: Store & Retrieve From The Custom Cache 2 min read
  • Cache
  • Magento 2

Magento 2: Store & Retrieve From The Custom Cache

  • Sameer Bhayani
  • February 25, 2023

Let’s see how we can Store & Retrieve From The Custom Cache We have created a custom cache type in the post-https://sbdevblog.com/magento-2-how-to-create-custom-cache/. Let’s see How we can save data to the custom cache and How […]

Magento 2: How to Create Custom Cache? 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 in the Cache Management Grid […]

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

Posts pagination

Previous 1 2

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