Hi I have a problem with onepagecheckout. I need that if country_id is IT , field Company must be required. I used validator.addRule and these are my files. But modules doesn’t work. Please halp me, thanks. view/frontend/layout/checkout_index_index.xml frontend/web/js/validate-company.js frontend/web/js/view/checkout/validate-company.js <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <head> <script src="Artmediastudio_Validate::js/validate-company.js"/> </head> <body> <referenceBlock […]
Daily Archives: December 30, 2024
I’m using GTM to track purchase event from Snapchat. I’ve created a tag in GTM and it’s fired but I got undefined variable ! I’m using this script in success.phtml <script> dataLayer.push({ 'event':'purchase', 'order_value':<?php echo $totall;?>, 'order_id':<?php echo ($block->getOrderId()) ?>, 'enhanced_conversion_data': { "email": <?php echo $email;?>, "phone_number": <?php echo $phone;?> […]
Ubuntu 22.04 I noticed that adding a single rule which only does logging sudo ip6tables -A OUTPUT -d xxxx::xxxx -j LOG -t nat does not produce any logging actually. But when adding another rule (e.g. DNAT) after the LOG it starts logging as expected. sudo ip6tables -D OUTPUT -d xxxx::xxxx […]
I left my laptop in my attic for a little while, roughly half a year. I decided to pull it out today, and I found tiny white bugs inside the screen that are still alive and are moving around. The laptop is a Thinkpad X220 Tablet, so its an older […]
Not sure if this is the correct place, but I am looking to try and install a Chrome OS in a VM. There’s an answer form ’11 where it says this is impossible but that seems long ago, so figured it’s worth reasking. The reason that’s not the title of […]
I’ve created a Perforce Helix Core droplet on Digital Ocean and have been able to use it successfully. However, after a while, the connection eventually drops and I am unable to connect. I get errors such as these: I tried opening adding inbound and outbound rules for port 1666 on […]
I have an unraid server running locally at 192.168.1.232. On my mac laptop and windows desktop, while on my home’s wifi, I can visit a bunch of services and webapps, like immich, sonarr, unraid’s dashboard, etc, by visiting 192.168.1.232:8888 for example. This works on every browser and every computer in […]