Blog

August 29, 2020

How to use custom query mysql in magento2

$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); // Instance of object manager $resource = $objectManager->get(‘Magento\Framework\App\ResourceConnection’); $connection = $resource->getConnection(); $tableName = $resource->getTableName(’employee’); //gives table name with prefix //Select Data from table […]
August 24, 2020

How to call phtml file in CMS page Magento 2

{{block class=”Magento\Framework\View\Element\Template” name=”myname” template=”Magento_Theme::html/ggapi.phtml”}} In respective theme folder in Theme > html > ggapi.phtml
July 22, 2020

WebRTC Video Broadcasting

mkdir videobroadcast && cd videobroadcast # install from NPM npm install rtcmulticonnection # or clone from github git clone https://github.com/muaz-khan/RTCMultiConnection.git ./ cd videobroadcast npm install node […]
July 7, 2020

Cleartext http traffic not permitted Android

To resole this add android:usesCleartextTraffic=”true” at …
May 16, 2020

insert command denied to user ‘pma’@’localhost’ for table ‘pma__userconfig’

Query in MySql GRANT SELECT , INSERT , UPDATE , DELETE ON phpmyadmin.* TO `pma`@`localhost` IDENTIFIED BY ”
April 16, 2020

Update Custom Field value woocommerce

$product = wc_get_product( $product_id ); //echo $csvpro[7].’‘; exit; $product->update_meta_data( ‘ean’,sanitize_text_field( $csvpro[7] )); $product->update_meta_data( ‘grossweight’, sanitize_text_field( $progrossweight ) ); $product->update_meta_data( ‘expectedinweek’, sanitize_text_field( $proexpectedinweek ) ); $product->update_meta_data( ‘demostock’, […]
April 3, 2020

How to Add a WooCommerce Product Programmatically

The first step is to initialize the Product Class Object. For Simple Product use the below Code: $objProduct = new WC_Product(); and for variable product use […]
Contact us

We are glad that you preferred to contact us. Please fill our short form and one of our friendly team members will contact you back.


    X
    Request a Quote