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

Month: May 2023

  • Home
  • 2023
  • May
Magento 2: Add Custom Validation Rules on Checkout 5 min read
  • Checkout
  • Knockout JS
  • Magento 2

Magento 2: Add Custom Validation Rules on Checkout

  • Sameer Bhayani
  • May 27, 2023

Let’s add custom validation rules at checkout. We have added custom validation before placing the order on the checkout page. However, we can restrict address-level fields to shipping and billing addresses by adding default and […]

Magento 2: Add Custom Validation Before Order Placement 6 min read
  • Checkout
  • Knockout JS
  • Magento 2
  • Payments
  • Shipping

Magento 2: Add Custom Validation Before Order Placement

  • Sameer Bhayani
  • May 20, 2023

Do we need to add custom validation just before order placement? Is it possible? Yes, absolutely; Magento 2 is flexible and provides a mechanism to add our custom validation before placing orders. We often need […]

Magento 2: PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts 3 min read
  • Cart
  • Checkout
  • Magento 2
  • Payments

Magento 2: PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts

  • Sameer Bhayani
  • May 20, 2023

PayPal gateway has rejected the request.? Have you added custom charges or tax to the total? If yes, then let’s fix it. First, let’s talk about what Paypal is. Paypal is an international payment method […]

Magento 2: Add Block Before Add To Cart On Product Page 5 min read
  • Catalog
  • Layout
  • Magento 2
  • templates
  • View Model

Magento 2: Add Block Before Add To Cart On Product Page

  • Sameer Bhayani
  • May 13, 2023

The product page is also the most crucial, like the checkout page. Customers see a detailed view of each product, including reviews. Hence, this page must be handled carefully to convert the cart into a […]

Magento 2: Access Configuration Value in JavaScript at Checkout 4 min read
  • Checkout
  • Configuration
  • Knockout JS
  • Magento 2

Magento 2: Access Configuration Value in JavaScript at Checkout

  • Sameer Bhayani
  • May 13, 2023

We have accessed the configuration value in the JavaScript widget. In this post, we will access the configuration value in JavaScript at checkout. As in the last post, if we pass value to a JS widget, […]

Magento 2: How to pass value to JS 3 min read
  • Catalog
  • Configuration
  • Knockout JS
  • Magento 2

Magento 2: How to pass value to JS

  • Sameer Bhayani
  • May 6, 2023

We will pass the dynamic configuration values to JS in this post. We can pass values to the configuration using checkoutConfig in checkout. However, we can also pass values to the jQuery widget from the […]

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

May 2023
MTWTFSS
1234567
891011121314
15161718192021
22232425262728
293031 
« Apr   Jun »

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,239)
  2. Magento2: How to refresh the shipping method using JS? (1,033)
  3. Magento 2: How to invalidate indexer programmatically? (823)
  4. Magento 2: Add a Custom Field to the Quote Table (719)
  5. Magento 2: How To Remove Product from the categories Programmatically? (692)
Magento 2 Sb Dev Blog

Check your inbox or spam folder to confirm your subscription.

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