Dev

Dev brings you the power of programming and App Development with classic code snippets.

Add External Css And JS in Magento2

Add External Css And JS in Magento2

Here we will see how to add external css and js file in magento2. Add External Css In Magento2 <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <head> <css src=”http://externalcss/external.css” src_type=”url”/> </head> </page> Add External Js In Magento2 <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <head> <script src=”http://externaljs/external.js” src_type=”url”/> </head> </page>

Read More

Guidelines for Exporting Products To Amazon Seller Central using Amazon Marketplace Web Service (MWS)

Guidelines for Exporting Products To Amazon Seller Central using Amazon Marketplace Web Service (MWS)

In this blog we will learn about some important points that must be followed when we want to export products to Amazon Seller Central using Amazon MWS. Suppose we have a prestashop site and also have a seller account at amazon. Now we want to export our prestashop catalog products to our amazon seller central. So there are some points that must […]

Read More

How to fetch records through REST API in Apex class Salesforce

How to fetch records through REST API in Apex class Salesforce

In this blog we will learn how to fetch records of sObjects through REST API in Apex class in salesforce. Let us get started! prerequisites Whitelist your Salesforce base URL in Remote Sites. Step 1: Copy the Salesforce base URL. For example: “https://na40.salesforce.com/”. Step 2: Go to Setup > Security Controls > Remote Site Settings […]

Read More

Joomla Virtuemart custom plug-in to make multi-variant product

Joomla Virtuemart custom plug-in to make multi-variant product

A Multi-variant product is a product that is available in multiple variants(like – color, size, etc.), and price of the product varies, based on particular variant selection by any buyer, though the actual product id is same for all. Joomla VirtueMart apart from other custom fields allows application of custom field plug-ins onto its products. […]

Read More

Hide other shipping methods if free shipping is available woocommerce

Hide other shipping methods if free shipping is available woocommerce

This article will demonstrate that how you can disable other available shipping methods if free shipping is available by using the filters in woocommerce below is the useful code snippet :- add_filter( ‘woocommerce_package_rates’, ‘hide_available_shipping_method’, 100 ); function hide_available_shipping_method( $rates ) { $free = array(); foreach ( $rates as $rate_id => $rate ) { if ( […]

Read More

How to create custom layout for community pages in salesforce

How to create custom layout for community pages in salesforce

In this blog we will learn how to create custom layout for community pages in salesforce using lightning components and using it through community builder. Prerequisites Community should be enabled. Make sure that community template has Builder option. Note : Only Salesforce Tabs + Visualforce template doesn’t have Builder option Important keywords 1) implements=”forceCommunity:layout” – […]

Read More
css.php