I’m trying to modify the admin grid’s “filterSearch” field from default query if I type a whole word eg “Iphone”, I’m trying to change the type search criteria in SQL to LIKE %ipho% and finding a result with that information is currently not like that. In the previous image I […]
Yearly Archives: 2022
I am trying to get a project that is already live in production setup and installed on my local for development. After running my bin/magento-docker up -d all of my containers start successfully. But when I use the following command: sudo bin/magento-docker ece-deploy I am getting the following output and […]
I want to get a list of all unused product attributes through database or code. Any help would be appreciated.
How to convert current timezone date and time to gmtdate and time ? Here I am adding some hours for todays date and wants to convert in gmtdate to filter order colleciton //MagentoFrameworkStdlibDateTimeTimezoneInterface echo $toDay = $this->timezone->date()->format('Y-m-d H:i'); $fromTime = strtotime($toDay); $toTime = $fromTime + 3600; This below code gives […]
I created an numeric attribute, and product has assigned 2 categories (parent category and subcategory), is it possible update product attribute only for subcategory? or is it possible create custom product attribute only for subcategory? This would apply for all products. MOTOR (Subcategory) Colecciones (Parent Category) I need to set […]
My config is computer to VPS, connection WiFi over WLAN (192.168.1.x) WireGuard config on server : [Interface] Address = 10.0.0.1/24 PrivateKey = key=+ ListenPort = 51120 #just iptables open ports.. PostUp = /etc/wireguard/up.sh PostDown = /etc/wireguard/down.sh [Peer] PublicKey = key=+ AllowedIPs = 10.0.0.2/24 On the client: [Interface] Address = 10.0.0.2/24 […]
I couldn’t find in the Auto Synchronization of folders the option to copy files from sub-folder without copying the full folder structure into the root of remote location. Is something I’m missing or is there a way that I can achieve this with some turnaround at least? example local/folder1/file1.wav local/folder2/file2.wav […]
Would you recommend Tridactyl or Vimium on Firefox? Which one is more powerful and fully featured? Stable? Intuitive? Performant? I am currently using Vimium but admired how powerful Vimperator (upon which Tridactyl was modeled) was.
The code: import socket HOST = '' PORT = 1000 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind((HOST,PORT)) server.listen() server.accept() #the script stops here waiting for a connection to the server, but I want it # to keep running the lines below if no one connects in the next 5 seconds. print('running...') ‘runnung’ […]