Page 13 of 68

Writing GDPR for Ecommerce: What Store Owners Can Do

Data privacy has become a major point of content in the eyes of eCommerce customers. In the wake of global data privacy incidents such as Cambridge Analytica, people have become warrior of who they trust their data with. The GDPR data regulation act put into effect by the EU has managed to ease the worry,…

How to Get All Regions of Country by Country Code in Magento 2

In this post I am going to explain how to get all regions of country by country code Magento 2. Add below code snippet in Block class. protected $_country; public function __construct( \Magento\Framework\View\Element\Template\Context $context, \Magento\Directory\Model\Country $country, array $data = [] ) { $this->_country = $country; parent::__construct($context, $data); } // Get All Regions of Country public…

How to get CMS Block Collection in Magento 2

In this post I am going to explain how to get cms block collection in Magento 2. 1. Using Dependency Injection Add below code snippet in Block class. protected $_blockRepository; protected $_searchCriteriaBuilder; public function __construct( \Magento\Framework\View\Element\Template\Context $context, \Magento\Cms\Api\BlockRepositoryInterface $blockRepository, \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder, array $data = [] ) { $this->_blockRepository = $blockRepository; $this->_searchCriteriaBuilder = $searchCriteriaBuilder; parent::__construct($context, $data);…

HiddenTechies 4th Anniversary – Our Biggest Anniversary Sale Live Now!

Finally, HiddenTechies is turning 4 on this 17th December 2020! And we are so excited about it, these four year have been an incredible for us. It has been a great pleasure serving you all through these years. We would just like to say thank you for being a part of HiddenTechies family. Let’s get…

How to Make Your Website Ready for this Holidays Season?

As December month reaches, people start planning for their holiday season. This means it could be more profitable for your website as it offers an excellent opportunity to end the year with a strong online presence. Have you Make Your Website Ready for Holidays Season? A research firm Deloitte expects that online holiday sales in…

How to Remove Block From Layout on Specific Condition in Magento 2

In this post I am going to explain how to remove block from layout on specific condition Magento 2. If you have a specific condition to add/remove block then you can achieve it by observer. Here I have given the example to remove search block. First you need to create event.xml file on below path….

Top Free PrestaShop 1.7.7 Themes for 2021

Free PrestaShop 1.7.7 Themes, Download Now! Today we are introduce a powerful Free Themes for PrestaShop 1.7.7 to launch your ecommerce website. These are the Best Free PrestaShop Themes for making a websites and it’s look a like an elegant online ecommerce store. Choose the Best Free PrestaShop 1.7.7 Themes from the below list. PrestaShop…

Magento 1 to Magento 2 Migration without Breaking Anything

With forecasts indicating an 18% increase in e-commerce spending in the United States alone, your company should put more attention on its user interface and optimize the overall shopping experience for your customers. Increasingly, people are buying things online, which has pushed companies to develop eCommerce Websites and apps for small businesses. Platforms like Magneto…

How to Get Customer Data By Customer Email in Magento 2

In this post I am going to explain how to get customer data by customer email Magento 2. Using below code snippet you can get customer data by passing customer email and website id. Add below code snippet in Block class. protected $_customerRepository; public function __construct( \Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository, array $data = [] )…

Magento 2 – How to get Magento 2 Edition and Version

In this post I am going to explain how to get Magento 2 edition and version. 1. Using Dependency Injection Add below code snippet in Block class. protected $_productMetadataInterface; public function __construct( \Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\App\ProductMetadataInterface $productMetadataInterface, array $data = [] ) { $this->_productMetadataInterface = $productMetadataInterface; parent::__construct($context, $data); } /* Get Magento 2 Edition */ public…

« Older posts Newer posts »