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
Author: Jerin
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()?
SSL (Secure Sockets Layer) / TLS (its modern version) and SSH (Secure Shell)
SSL (Secure Sockets Layer) / TLS (its modern version) Purpose: Secures data transfer between client and web server. Used in: HTTPS, email (SMTP over SSL), FTPS, APIs. Encryption Type: Symmetric encryption for data, asymmetric for key exchange. Authentication: Validates the identity of the website/server using SSL certificates. Certificate Authority (CA): Certificates are issued by trusted… Continue reading SSL (Secure Sockets Layer) / TLS (its modern version) and SSH (Secure Shell)
Steps to Install Argento Theme in Magento 2
Purchase & Download Argento Theme Visit https://argentotheme.com Purchase the theme if you haven’t already. Youβll get access to a ZIP package or installation files. Upload Theme Files to Magento Unzip the Argento package. Connect to your server using FTP/SFTP or SSH. Upload the theme files into the Magento root directory: app/design/frontend/Swissup/ app/code/Swissup/ Argento comes with… Continue reading Steps to Install Argento Theme in Magento 2