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 […]
Blog
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 […]
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 […]
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.
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 […]
I recently replaced a 2.5″ SATA HDD in a laptop with a 2.5″ SATA SSD. The HDD had thin piece of flexible metallic foil attached to it via adhesive and 2 screws. The foil had a lead that then got screwed into the motherboard. I’m guessing this was to shield […]
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’ […]
We can import stocks into our Magento warehouses automatically. For this from supplier we need a csv file. We can import the file direct from ftp or an url. We can also import local file on our server. All we need in this file is that 1 column is ‘sku’ […]
I have added the VAT and address fields to my magento website for the create a new customer page. I have a problem that the auto VAT validation and therefore the auto group assignment is not working ( actually not initiated ) because it seems the VAT field is updating […]