Have an odd question hoping the community can answer: In Magento 2.4.4 enterprise we have a Braintree Virtual Terminal link We have a multi-store view site as we have multiple currencies. My question is Staff can use this to manually accept payments but how does the platform know what currency […]
Magento2
I am creating a custom graphql query to view list of product. I need to add aggregation to my custom product list. For that I created a schema. type ViewAllProducts { products: [ProductInterface] aggregations (filter: AggregationsFilterInput): [Aggregation] @doc(description: “A bucket that contains the attribute code and label for each filterable […]
Is there a general consensus on when you should create a custom module to override core vs when you should use a composer patch? At present, I need to add @ to a line of code and feel that a module is a lot more work than necessary.
I want to create a product consisting of a panel(parent), screws(child), and washers(child). Each panel requires 25 screws and 25 washers to install, however screws come in boxes of 100 and washers come in boxes of 200 which the customer pays for. If a customer purchases 1 panel their cart […]
I am creating plugin to alter API response in M2.4.3. I am trying to alter this functionality via plugin MagentoFrameworkWebapiRestResponse and function prepareResponse My di.xml file is: <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="MagentoFrameworkWebapiRestResponse"> <plugin name="vendor_apiresponses_extend_Webapi_rest_response" type="VendorApiResponsesPluginFrameworkWebapiRestResponseUpdateResponse" /> </type> </config> and plugin file is : <?php declare(strict_types=1); namespace VendorApiResponsesPluginFrameworkWebapiRestResponse; […]
I would like to add a custom attribute to the product and create an installData.php according to the guide. However, nothing changed after se:up. Please help. app/code/My/Module/Setup/InstallData.php <?php namespace MyModuleSetup; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupModuleDataSetupInterface; class InstallData implements InstallDataInterface { private $eavSetupFactory; public function __construct(EavSetupFactory […]
I’ve a problem in my website, when the customer order as guest then create account after purchase the order didn’t appear ! Could you please advise how to fix it ? Thanks a lot.
I am trying to add custom filter to layer navigation. Basically I didn’t have any problem with displaying it on navigation sidebar but collection filtering is now the problem. I have filter which is NOT product attribute and that filter has two possible items. Each item should be filtered by […]