I’m trying to override one method from the Multisafepay Payment Module. // vendor/multisafepay/magento2-frontend/view/base/requirejs-config.js let config = { map: { '*': { multisafepayCreditCardComponent: 'MultiSafepay_ConnectFrontend/js/credit-card-component' } } }; So I created my own module / requirejs : // app/code/Acme/Checkout/view/base/requirejs-config.js console.log('RequireJS Override'); var config = { mixins: { multisafepayCreditCardComponent: { 'Acme_Checkout/js/credit-card-component': true } […]
Magento
I have this error, my database is in a service other than magento and the user used to connect to the database is admin, can you help me? PDOException: Caught PDOException (500): SQLSTATE[HY000] [2002] Connection refused in /var/www/whitelabel/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 #0 /var/www/whitelabel/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct() #1 /var/www/whitelabel/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/whitelabel/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(406): Zend_Db_Adapter_Pdo_Mysql->_connect()
I update some features of my products from time to time via the REST API. All property values change periodically for each of my stores and sometimes we turn it into a completely blank record. For example, in Global Scope, the value of my Special Price attribute is $10, this […]
I have a basic HTML, CSS, and pure Javascript sider I made. However, I cannot get JS to work correctly in front-end. https://codepen.io/kameronmayers/pen/QWawJwg Currently producing this error: Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll') at (index):587:43 .js const slider = document.querySelector(".slider"); const sliderContent = document.querySelector(".item-wrapper"); const sliderItems = […]
My title of my website https://agoshop.at is “Agoshop Österreich” and a meta title of an categorie is “Algenentferner online kaufen” Therefore The html meta information of my site https://agoshop.at/algenentferner/ is: <meta name="title" content="Agoshop Österreich | Algenentferner online kaufen"/> For seo it is better to change the order of title with […]
I have created a multi magento site with several websites and several stores in order to have a stock for each store, I am trying to modify the stock of each product according to the store Code using the Rest SWagger api however only the default stock is changed or […]
I’m using Magento 2.4.3-p1 Community running on AWS EC2. I’m moving the images to live on s3 storage, following this guide: https://devdocs.magento.com/guides/v2.4/config-guide/remote-storage/config-remote-storage-aws-s3.html I have setup an IAM user that has GetObject, GetObjectAcl, PutObject and PutObjectAcl permissions in it’s role, restricted by resource to the specific bucket I’m storing images in. […]
I am trying to update Stock Status when the quantity is updated. Either from admin or web api (rest). app/code/Namespace/Module/etc/events.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> <event name="catalog_product_save_after"> <observer name="Namespace_Module::Auto_Update_Qty" instance="NamespaceModuleObserverProductSaveAfter"/> </event> </config> app/code/Namespace/Module/Observer/ProductSaveAfter.php public function execute(Observer $observer) { try { $product = $observer->getProduct(); if ($product->getTypeId() != 'configurable') { $sku […]
when successful purchase, email sent that show this how hide or delete that red mark in the picture, the SKU