Monthly Archives: October 2022
i created a shipping method, for example, the cost of delivery is $15, but if you deliver to the USA, then multiply the amount by 2 Model/Carrier/Custom.php <?php namespace CustomShippingMethodModelCarrier; use MagentoQuoteModelQuoteAddressRateRequest; use MagentoShippingModelRateResult; use MagentoShippingModelCarrierAbstractCarrier; use MagentoShippingModelCarrierCarrierInterface; use MagentoFrameworkAppConfigScopeConfigInterface; use MagentoQuoteModelQuoteAddressRateResultErrorFactory; use PsrLogLoggerInterface; use MagentoShippingModelRateResultFactory; use MagentoQuoteModelQuoteAddressRateResultMethodFactory; class Custom […]
i’m trying to create custom popup modal when click on “Go to checkout” button from Minicart. i have write this code to open custom modal if the guest checkout is disabled, and redirect the customer to checkout if the customer is logged in. this is my minicart mixin define([ 'jquery', […]
What is the purpose of the shipping cost, I can observe the shipping Price is always visible on the frontend calculation. I’ve tried to edit the below file to verify the shipping cost. But it is not visible anywhere or not added to the shipping price it seems. vendor/magento/module-offline-shipping/Model/Carrier/Tablerate.php /** […]
Indexing console Everything else is working perfectly. i also disabled the elasticsearch and checked but error still there. Error is with Query, at last word “AND (())”, when i remove this and run directly on Mysql, it works. Where this Query is written so i could fix it. Thanks
I always log into Kali-linux using the default password. When I try to change it in the terminal using sudo passwd kali, it prompts me to type new password. When try to type new password it just I can’t type anything. I can still use the mouse though so I […]
I installed a bunch of proxy and VPN apps on my Linux Mint. One of them will frequently change the resolve.conf file on system start-up and change the DNS from 127.0.0.53 to 127.0.2.1. How can I solve this?
Recently upgraded from Ubuntu 20.04 to 22.04. I am trying to install RealVNC Server on an Ubuntu 22.04 LTS desktop. I downloaded the Debx64 file from here: https://www.realvnc.com/en/connect/download/vnc/linux/. Then ran the install command in the terminal and received the following error: N: Download is performed unsandboxed as root as file […]