How Sitemap & robots.txt Improve Magento Site Performance Sitemap (sitemap.xml) A sitemap tells Google which pages exist on your Magento store and how they are structured. Benefits: Faster indexing of new products, categories, CMS pages Helps Google find deep pages that are otherwise not easily crawlable Improves SEO visibility and ranking Ensures no important page… Continue reading Enhancing Magento Site Visibility Using Sitemap, Robots.txt, and Google Search Console
Author: Jerin
What is Prisma?
Prisma is a next-generation ORM (Object-Relational Mapping) tool for working with databases in Node.js and TypeScript projects — including Next.js. It helps you easily query, create, update, and delete data in your database (PostgreSQL, MySQL, SQLite, MongoDB, etc.) using a type-safe API instead of writing raw SQL. ? How Prisma Works in Next.js Prisma Schema:… Continue reading What is Prisma?
The core library for generate PDFs in the browser
1. jspdf This is the core library that lets you generate PDFs in the browser (client-side). Key Features: Create PDF documents directly in the browser (no backend needed). Supports text, images, lines, rectangles, circles etc. Add fonts, font sizes, colors. Insert images (PNG, JPEG, WebP). Multiple pages: auto-create new pages when text overflows. Orientation &… Continue reading The core library for generate PDFs in the browser
What is PWD in Magento?
In the Magento/Adobe Commerce ecosystem, PWD usually refers to “Password” (for customer accounts or admin users). If youβre asking about Magento PWA Studio (sometimes people write it as PWD by mistake) β thatβs Magentoβs Progressive Web App framework for building headless storefronts. So, depending on your context: PWD = Password (login/security) PWA Studio = New… Continue reading What is PWD in Magento?
NGram, Edge NGram, and Partial Gram in Elasticsearch
NGram, Edge NGram, and Partial Gram in Elasticsearch When implementing autocomplete or partial search features in Elasticsearch, you often use tokenizers like NGram or Edge NGram. These tokenizers help Elasticsearch break down words into smaller components (“grams”) to make partial or fuzzy matching possible. π NGram What it does: Breaks a word into all possible… Continue reading NGram, Edge NGram, and Partial Gram in Elasticsearch
pricing mechanisms in Netsuite and Magento
π In Magento 2: Magento offers several pricing mechanisms that can work individually or together depending on the catalog setup. 1. Tier Price Definition: Discounted prices based on quantity breaks. Example: Buy 1β4: $100 Buy 5β9: $90 Buy 10+: $80 Set for: Specific customer groups or all groups. Where Set: Product Edit β Advanced Pricing… Continue reading pricing mechanisms in Netsuite and Magento
How to point a domin name with networksolutions
Steps to Point da.com from Network Solutions to Cloudways (Magento) Login to Your Cloudways Account Go to Cloudways Dashboard. Open your Magento application. Confirm your server IP (which you mentioned is 6666.333). Login to Network Solutions Visit networksolutions.com and log in. Navigate to your domain da.com. Click Manage Domain or Edit DNS Settings. Update DNS… Continue reading How to point a domin name with networksolutions
Reindex Not Happening Automatically Magento 2.3
issue:Every time I update a product stock in magento it updates perfectly in the backend but only when I manually run a reindex via SSH does it update on the front end. Very annoying when I am sometimes updating stock several times a day with deliveries. So for example a product has 0 in stock,… Continue reading Reindex Not Happening Automatically Magento 2.3
How You Created a Custom Magento 2 Module to Add Tracking Info to Invoice Email
1. Module Creation Structure Create directory structure: app/code/JJ/TrackEmail/ βββ etc β βββ events.xml βββ Observer β βββ AddTrackingDataToInvoiceEmail.php βββ registration.php βββ etc/module.xml 2. registration.php Registers the module with Magento: <?php use MagentoFrameworkComponentComponentRegistrar; ComponentRegistrar::register( ComponentRegistrar::MODULE, ‘JJ_TrackEmail’, __DIR__ ); 3. module.xml Declares the module and its version: xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Module/etc/module.xsd”> <module name=”JJ_TrackEmail” setup_version=”1.0.0″/> </config>… Continue reading How You Created a Custom Magento 2 Module to Add Tracking Info to Invoice Email
What is strrpos()?
strrpos() is a string function in PHP used to find the position of the last occurrence of a substring (needle) in a string (haystack). strrpos(string $haystack, string $needle) strrpos(string $haystack, string $needle, int $offset) $str = “https://www.example.com/track?code=12345”; $pos = strrpos($str, ‘=’); echo $pos; // Output: 36 (position of the last “=”) Why use it? To… Continue reading What is strrpos()?