How to configure Magento 2’s customer group pricing

Login to the admin panel Navigate to Catalog > Products Select the product to edit for which you want to set the customer group pricing in Magento 2. Go to Advanced Pricing under the Price field In the field “Customer Group Price“, select the website, customer group for which the price is to be set, quantity, and price as shown in… Continue reading How to configure Magento 2’s customer group pricing

Published
Categorized as Magento

How to Hide Price for Not Logged-In Customers in Magento 2

To hide the price for not logged-in customers in Magento 2, one needs to implement the below code. Method to hide price for not logged-in customers in Magento 2: Create di.xml in Vendor\Extension\etc folder Step 2: After this, you will require to create FinalPriceBox.php in the following path: Vendor\Extension\Pricing\Render

Published
Categorized as Magento

How to create a Shopify app?

1)Create a new app From the file directory where you initially set up Shopify to operate, launch the terminal. Then run the following command sudo yarn create @shopify/app A new app is created, and Shopify CLI is installed along with all of the dependencies. The following image shows an app is successfully created in the… Continue reading How to create a Shopify app?

Published
Categorized as Shopify

Shopify Theme Structure

The theme structure in Shopify generally consists of the following folders and files: assets – This folder contains all of the theme’s non-template assets, such as images, JavaScript files, and CSS files. config – This folder contains various configuration files for the theme, including settings_schema.json, which defines the settings for the theme’s customization options. layout… Continue reading Shopify Theme Structure

Published
Categorized as Shopify

what are the properties of autoplay in the swiper slider?

The properties of autoplay in the Swiper slider are: delay: Specifies the time interval between each slide transition during autoplay. The default value is 3000 milliseconds (3 seconds). disableOnInteraction: Determines whether the autoplay should be paused when the user interacts with the slider. The default value is true, meaning that the autoplay will stop when… Continue reading what are the properties of autoplay in the swiper slider?

how to use the playSegments() function to play the Lottie animation.

To play a specific segment of a Lottie animation, you can use the playSegments() method. Here is an example of how to use it: // Get the animation container elementconst animationContainer = document.getElementById(‘animation-container’); // Load the animation dataconst animationData = {container: animationContainer,renderer: ‘svg’,loop: false,autoplay: false,path: ‘animation.json’}; // Create the Lottie animation instanceconst animation = bodymovin.loadAnimation(animationData);… Continue reading how to use the playSegments() function to play the Lottie animation.

how to add Lottie animation video to a div using javascript

To add a Lottie animation to a div using JavaScript, you can follow these steps: First, include the Lottie library in your HTML file by adding the following script tag in the head section:<head> <script src=”https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.5.9/lottie.min.js”></script> </head> Next, create a container div in your HTML file where the Lottie animation will be loaded. For example:<div… Continue reading how to add Lottie animation video to a div using javascript

Published
Categorized as Magento