The following error is found during the process of upgrading Magento from 2.4.2 to 2.4.4 in console. Uncaught SyntaxError: Unable to process binding "ifnot: function(){return customer().fullname }" Message: Unable to parse bindings. Bindings value: html: I found out that this error is being caused by this line. <!-- ko ifnot: […]
Magento
On my magento2 site with the Freego theme applied, the category page is missing pagination controls. When I switch to the Magento Blank theme, they reappear, so I know it’s an issue with the theme. I’ve tried disabling the Solwin_Soldout module but to no avail. Can anyone assist? It is […]
I am overriding the frontend price by using the MagentoCatalogModelProduct plugin like so: Sulman/Mymodule/etc/frontend/di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="MagentoCatalogModelProduct"> <plugin name="sulman-product-model-frontend" type="SulmanMymodulePluginProductPlugin" sortOrder="1" /> </type> </config> SulmanMymodulePluginProductPlugin.php: <?php namespace SulmanMymodulePlugin; class ProductPlugin { public function afterGetPrice(MagentoCatalogModelProduct $subject, $result) { return '123.45'; // just testing } } ?> This is working […]
Like the title stated. We’ve created a custom shipping module, it’s quite basic and works like it should. However, when I continue to the checkout it seems to forget it and select another shipping method. If I select it again and refresh it also forgets it. It doesn’t matter if […]
I have my sandbox env and production env working with the same auth.json. For some reason When we tried to push a feature in prod today, the archive was unable to be found (404). But the credentials from auth.json is 100% fine as it works on the sandbox env. I’m […]
As type string:(but I need as an object) <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd"> <extension_attributes for="MagentoSalesApiDataOrderInterface"> <attribute code="admin_user" type="string"/> </extension_attributes> </config> should be something like: <attribute code="admin_user" type="pathtoobject"/> Plugin: <?php declare(strict_types=1); namespace CollinsOrderTrackingPlugin; use MagentoSalesApiDataOrderInterface; use MagentoSalesApiDataOrderSearchResultInterface; use MagentoSalesApiOrderRepositoryInterface; use CollinsOrderTrackingModelAttributesFactory; use MagentoBackendModelAuthSession; use CollinsOrderTrackingModelResourceModelAttributeCollectionFactory; use CollinsOrderTrackingApiAttributesRepositoryInterface; use MagentoFrameworkApiSearchCriteriaBuilder; use MagentoFrameworkSessionSessionManagerInterface; […]
I have created an attribute type: Test but I want to display in the grid customer. https://prnt.sc/aRyraGEP7kKf
I have created the custom HTML and CSS banner for magento page. On localhost it is showing as below: On magento localhost is showing as below: below is code of banner in localhost <!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> […]
I just start in Magento 2 and I came across problem. When I select a simple product, that belong to a configurable product, my code returns the product id from the configurable product. I can print the childs of this configurable product but I need to have exactly the product […]