We are using below code from this github extension for tracking meta facebook pixel events in our Magento PWA Venia Site. $product = $this->registry->registry('current_product'); if ($product && $product->getId()) { $customData['value'] = $this->_magentoDataHelper->getValueForProduct($product); $customData['content_ids'] = [$product->getId()]; $customData['content_category'] = $this->_magentoDataHelper->getCategoriesForProduct($product); $customData['content_name'] = $product->getName(); $customData['contents'] = [ [ 'product_id' => $product->getId(), 'item_price' => […]
Daily Archives: March 24, 2024
I have this code: echo "Mount External Backup @ $externalBackupDrivePath" for uuid in /dev/disk/by-uuid/*; do if [[ "$uuid" =~ $externalBackupDriveID ]]; then if [[ $(mount | grep "$(readlink -e "$uuid")") ]]; then echo "External BackUp Drive is mounted"; echo; else sudo mount UUID=$externalBackupDriveID $externalBackupDrivePath echo "External BackUp Drive is mounted"; […]
I tried following https://www.asus.com/support/faq/1046062/, but when I set my WAN DNS to my pihole’s IP, I can’t hit anything on the internet. Settings in: WAN –> WAN DNS Setting –> Assign –> Manual Setting. I also tried setting my LAN –> DHCP Server –> DNS and WINS Server Setting –> […]
I have a couple of g-pon routers like huwai eg8145v5 and ZTE router can I configure this router in bridge mode and use like media converter for transmitting cctv signal through fiber
I try running termius in Arch using snap, with snap run termius-app, but it says : 2024/03/23 21:28:19.783334 cmd_run.go:1046: WARNING: cannot create user data directory: cannot create snap home dir: mkdir /home/fbdev/snap: file exists cannot create user data directory: /home/fbdev/snap/termius-app/183: Not a directory And I don’t have the sssd directory.
I installed linux mint along side windows 10 on an old laptop from 2012 (i7-2670QM), after installation, removed mint flash drive -> enter -> laptop rebbot, and getting Operating sytem not found Is there anything I can do to fix this, or do I have to try to install something […]