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

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