I have overridden Magento’s default order grid controller. I’m trying to apply different filters based on the custom cookie I set. My di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="MagentoSalesModelResourceModelOrderGridCollection" type="SalesfilterGridModelResourceModelOrderGridCollection" /> </config> This override is working fine! My class: <?php /** * Copyright © Magento, Inc. All rights reserved. […]
Monthly Archives: July 2021
We got a custom shipping module created to handle shipping to addresses from within the US and Canada. I would need to change tax label from Tax to Tax(PST/GST/HST) in the payment page only when the destination country is Canada. Below is the whole script handling custom shipping. How can […]
We all know the popularity of the Chrome browser. This browser has made life easier for developers and being a developer using its built-in developer… Read More The post 9 Features of Chrome Developer Tools That You Must Know appeared first on GeeksforGeeks.
Given the adjacency list and number of vertices and edges of a graph, the task is to represent the adjacency list for a directed graph.… Read More The post Print Adjacency List for a Directed Graph appeared first on GeeksforGeeks.
Three characters {#, *, . } represents a constellation of stars and galaxies in space. Each galaxy is demarcated by # characters. There can be… Read More The post TCS CodeVita 9 ( Zone 1) 2020 | Constellation appeared first on GeeksforGeeks.
Given an integer N, the task is to find the minimum steps to visit all integers in the range [1, N] by selecting any integer… Read More The post Minimum jumps to traverse all integers in range [1, N] such that integer i can jump i steps appeared first on […]
You are given a cubic dice with 6 faces. All the individual faces have a number printed on them. The numbers are in the range… Read More The post The dice problem appeared first on GeeksforGeeks.
Odysee website has a download option for all videos. But it only gives you the option of downloading the highest quality version. So if you’re going to download a talk that’s only 17 minutes, you’re going to need to download a huge 550 MB file. You may not even care […]
As you see, I have a key with id 12345689, and I’m trying to sign with it in git gpg -k /home/lz/.gnupg/pubring.kbx --------------------------- pub rsa4096 2020-03-02 [C] 12345689 uid [ unknown] Person Person <me@person.com> sub rsa4096 2020-03-02 [S] [expires: 2024-03-01] sub rsa4096 2020-03-02 [E] [expires: 2024-03-01] sub rsa4096 2020-03-02 [A] […]