Zend Anwar

Full stack web developer

Author: admin

What does ImagePullBackOff in Kubernetes ?

ImagePullBackOff means there was a problem pulling a container image required by your Pod. Kubernetes “backs off” before retrying, adding a delay that’s intended to provide time for any temporary issues to resolve themselves

Read More

Magento 2 Custom Shipping Method based on Weight & Size

# Magento 2 Custom Shipping Method based on weight & size This module provide a custom shipping method on the site. ## Condition Shipping charge will be calculated according to product size and weight. a. If weight is more than 10 KG and size is less than 100 CM, Shipping Charge will be 100 TK […]

Read More

Magento 2 Hello World Module Development

Magento 2-Hello World Module Learn how to create a hello world module in Magento 2 After create the module if you run the command as: php bin/magento module:status To enable a module in Magento 2 php bin/magento module:enable Zendanwar_Magetigers Please upgrade your database: Run bin/magento setup:upgrade from the Magento root directory. Let run the following […]

Read More

What is Zookeeper?

ZooKeeper provides multiple feature for distributed applications. It can manage large set of hosts & complicated process. Distributed configurations managements. Self election/ Consensus building. Coordination and locks. Key value store. Zookeeper used in many distributed systems like Hadoop, Kafka.

Read More

How to check Django installed version?

Type the following command in Python shell >>> import django >>> django.get_version()

Read More

How can I get python help from cli

Just run bellow command in your terminal > python manage.py help

Read More

Magento 2 after install showing blank page

Very simple. Please go to below file location  C:\xampp\htdocs\magento23\vendor\magento\framework\View\Element\Template\File\Validator.php Replace below code :  protected function isPathInDirectories($path, $directories) { if (!is_array($directories)) { $directories = (array)$directories; } $realPath = $this->fileDriver->getRealPath($path); foreach ($directories as $directory) { if (0 === strpos($realPath, $directory)) { return true; } } return false; } With: protected function isPathInDirectories($path, $directories) { if (!is_array($directories)) { […]

Read More

How to get all cli command in Magento 2

It’s very simple. Just go to your root directory. And run following command C:\xampp\htdocs\magento2> php bin/magento Output : Magento CLI 2.3.0   Usage: command [options] [arguments]   Options: -h, –help            Display this help message -q, –quiet           Do not output any message -V, –version         Display this application version –ansi            Force ANSI output –no-ansi         Disable ANSI output […]

Read More

Magento 2 delete all sample product data from database

SET FOREIGN_KEY_CHECKS = 0; TRUNCATE TABLE `catalog_category_product`; TRUNCATE TABLE `catalog_category_product_index`; TRUNCATE TABLE `catalog_category_product_index_tmp`; TRUNCATE TABLE `catalog_compare_item`; TRUNCATE TABLE `catalog_product_bundle_option`; TRUNCATE TABLE `catalog_product_bundle_option_value`; TRUNCATE TABLE `catalog_product_bundle_price_index`; TRUNCATE TABLE `catalog_product_bundle_selection`; TRUNCATE TABLE `catalog_product_bundle_selection_price`; TRUNCATE TABLE `catalog_product_bundle_stock_index`; TRUNCATE TABLE `catalog_product_entity`; TRUNCATE TABLE `catalog_product_entity_datetime`; TRUNCATE TABLE `catalog_product_entity_decimal`; TRUNCATE TABLE `catalog_product_entity_gallery`; TRUNCATE TABLE `catalog_product_entity_int`; TRUNCATE TABLE `catalog_product_entity_media_gallery`; TRUNCATE TABLE `catalog_product_entity_media_gallery_value`; […]

Read More