Text swatches for Product Attribute options in Magento

In Magento  Text swatches and Visual swatches  works with select-type attributes. In normal case the input type is drop down list. to set the options as text swatches we need to set the field value “frontend_input” : “swatch_text” for(text swatches) and “frontend_input” : “swatch_visual” (for visual swatches) ‘attribute’: { ‘is_wysiwyg_enabled’: false, ‘is_html_allowed_on_front’: false, ‘used_for_sort_by’: false,… Continue reading Text swatches for Product Attribute options in Magento

Update additional tracking number field in Purchase order

/** * @NApiVersion 2.1 * @NScriptType MapReduceScript */ define([‘N/email’, ‘N/record’, ‘N/render’, ‘N/recordContext’, ‘N/runtime’,’N/currentRecord’, ‘N/search’,’N/file’], /** * @param{email} email * @param{record} record * @param{recordContext} recordContext * @param{runtime} runtime * @param{search} search */ (email, record,render, recordContext, runtime, currentRecord, search, file) => { /** * @description the function to check whether a value exists in parameter * @param… Continue reading Update additional tracking number field in Purchase order

Restrict customers to buy product more than the available quantity

There is an issue where if an item has 150 pcs left at the warehouse,you can still order 200 or more pieces through the online store. Can we make it so that people cannot add more pieces to their cart than what is actually available at the warehouse? solution: The solution to this issue is… Continue reading Restrict customers to buy product more than the available quantity

Search Intent in SEO

Search Intent In SEO This is one of the most common search methods as users can search for answers to an endless number of questions. Its current algorithm looks at a wide range of ranking signals to determine the type of content that other users with your search term have found useful. If you understand… Continue reading Search Intent in SEO

Dark UX

Dark UX is deceptive UX/UI interactions that are intended to confuse or mislead users into doing something they don’t want to do. This strategy can help a product stand out and generate positive results for businesses. It can also be used to deceive the user into making decisions that aren’t necessarily good for them but… Continue reading Dark UX

Script for Updating shipping cost in ItemFulfilment Record.

This is a Client script for updating shipping costs in the IF record based on a custom field ( Shipping methods). Based on different Ship methods the shipping cost will be set. Except for Ship methods:   ( ‘blank’, Truck (LTL), other, Customer Pickup,  FedExGD Collect, Broker, TBD) The shipping cost will be zero.  in all… Continue reading Script for Updating shipping cost in ItemFulfilment Record.

Svelte SEO

Svelte SEO is a plugin that makes managing your SEO easier in Svelte projects. Installing Install using yarn: or npm: Add SEO to Page mport Svelte SEO and add the desired properties. This will render out the tags in the <head> for SEO. At a bare minimum, you should add a title and description. Svelte SEO options Property Type… Continue reading Svelte SEO

Drop down menus on new SCA site

Requirement is to smoothen the dropdown menus in the SCA.On the new SCA site, can the drop down menus be a bit more smoother.The dropdown menus in the website need to be smoother Solution: the dropdown menus can be smoother by providing the css propery transition-duration. For example: css code:

How to add Magento 2 configurable product price?

All has changed in Magento 2. After you create Magento 2 configurable product, it doesn’t calculate price mark-ups coming from a simple product super attribute. Now configurable Magento product price is ignored and the simple product price is taken into consideration. In so doing, each child product has its price, which is shown on the… Continue reading How to add Magento 2 configurable product price?

Published
Categorized as Magento