how it is possible to keep a forward slash in the product url slug? Everytime Magento changes the “/” to “-“, but we need a fake subpath for robots.txt rules for certain products. We cant use category path mechanic, because only some products need this special urls.
Magento2
I have installed everything needed for magento-2 to run on xampp on windows. php.ini is also edited properly and have enabled all the extensions needed. When I try to run the localhost/magento link i get the error in browser, 1 exception(s): Exception #0 (DomainException): The default website isn't defined. Set […]
Magento 2 i want qoute id in order crete page admin, but i got null in quote id. I’m Using MagentoCheckoutModelSession $this->checkoutSession->getQuote()->getId();
I have installed xampp and trying to install magento 2 via command line, php bin/magento setup:install --base-url="http://project.magento.com" --db-host="localhost" --db-name="magento" --db-user="magento" --db-password="asdasd" --admin-firstname="admin" --admin-lastname="admin" --admin-email="coderemail@gmail.com" --admin-user="admin" --admin-password="Admin@123456" --language="en_US" --currency="USD" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin" --search-engine=elasticsearch7 --elasticsearch-host="localhost" --elasticsearch-port=9200 and I have also enabled the libraries in php.ini, however my php.in code looks like this, […]
I faced with the sitation, when I can’t see the region I saved in Checkout Addresses. I can’t see region value being saved in the estimate-shipping-methods request: Basically, the problem exists on one store, another one works ok. Magento version 2.4.2
How do I call external api that comprises of my product name, Sku’s and prices in magento2. I want all this to appear in catalogue->products magento2. I don’t know how to go about this. I will be very grateful for any assistant.
I’m trying to show multiple discounts in a public php script that sends orders to our ERP system. The problem im having is when an order has more than one discount, it is only pulling one discount with a total discount amount for both. I need it instead to show […]
While installing magento 2 fresh version, found this issue on server, rtrim() expects parameter 1 to be string, bool given#0 /home/..../vendor/magento/framework/Encryption/Adapter/Mcrypt.php(171): rtrim() #1 /home/..../vendor/magento/framework/Encryption/Encryptor.php(452): MagentoFrameworkEncryptionAdapterMcrypt->decrypt() #2 /home/..../vendor/magento/module-config/Model/Config/Backend/Encrypted.php(111): MagentoFrameworkEncryptionEncryptor->decrypt() According to Magento DevDocs mcrypt extension is not needed and it’s already removed on php 7.2. FYI, sodium, openssl and other extension […]