In a custom module in etc/schema.graphqls, I declared my query : type Query { getAvailableCountries: [Country!] @resolver(class: "\Vendor\Module\Model\Resolver\getAvailableCountries") @doc(description: "Get list of country allowed on magento's side.") } There is my resolver code : public function resolve(Field $field, $context, ResolveInfo $info, array $value = null, array $args = null) { […]
Daily Archives: January 21, 2025
I’m trying to call a block in the template notifying me that an order has been placed in the store, but the value of order or orderId is not passed through so I can’t retrieve the Order object in the block. Interestingly, by adding the name attribute value with the […]
I have a magento 2.4.7-p3 instance and I faced a strange bug. Here is how I reproduce it. 1- Add something to the cart, as a guest and not logged in 2- In checkout/cart click on Paypal button, in the pop up log in to your Paypal. Click on “Continue […]
So my store is built with Magento 1.9 and also I have a forum that is built with WP and BbPress and I have a question. How can I create an api so I can create a customer account from a form that is in WP? Thank you!
I see /proc/driver/rtc in my embedded linux board. The driver for this rtc is rtc-snvs.ko If I run the command below, I was able to read some parameters such as rtc_time and rtc_data. “# cat /proc/driver/rtc” rtc_time : 20:17:16 rtc_data : 2025-01-20 24hr : yes But, I don’t know how […]
My machine is Windows 11 Home (updated from 10). But directxdiag says my OS is “Windows NT”! I guess that’s the reason my directx is v6.02 even though my card supports directx 12 Any ideas on how to fix this?
I thought about a cool idea for a product. The product is basically software on a stick, that runs the required software at the customer’s place on a tiny edge device with a RISC-V processor running Linux. The rest of the software for the product runs in cloud. Instead of […]
I’m using the same Vagrantfile on two machines: Windows 7 with VirtualBox 6.1.50 and Linux Mint 22 with VirtualBox 7.1.4. Vagrant 2.4.3 on both. On the Windows host vagrant up brings up the VM just fine. On the Linux host, however, it fails: Bringing machine 'ansible-test' up with 'virtualbox' provider... […]
I’m having some more trouble with this device. I wanted to use phonebook button to display a list of my contacts. Apparently this phone needs to get this list from a server, so I started Apache HTTP and placed a sample directory.xml file on it: <CiscoIPPhoneDirectory> <Title>IP Telephony Directory</Title> <Prompt>People […]