In a custom module in etc/schema.graphqls, I declared my query : type Query { getAvailableCountries: [Country!] @resolver(class: "\Vendor\Module\Model\Resolver\getAvailableCountries") @doc(description: "Get list of country allowed on magento's side.") } There is my resolver code : public function resolve(Field $field, $context, ResolveInfo $info, array $value = null, array $args = null) { […]
Magento2
While installing Magento 2 using Composer, you may encounter the following error: Continue reading on Medium »
I’ve followed the instructions by creating a custom extension in the following link : https://magento.stackexchange.com/a/361986/105485 It’s works fine, but I need it to be unchecked only when customer select store pickup. Could you please help me with this ? My “checkout-data-resolver-mixin.js” file: define([ 'mage/utils/wrapper', 'Magento_Customer/js/model/address-list', 'Magento_Checkout/js/model/quote', 'Magento_Checkout/js/action/select-billing-address' ], function ( […]
I’m looking to create a Magento 2 module that displays recently viewed products on the storefront. I want to achieve something similar to the standard Magento widget (Last Viewed Products), but instead of using listing.html, I’d like to render the products directly in a custom phtml file. Here are my […]
Is it possible to add a B2C website to our magento2 instance which already has a B2B website? All without changing domain or adding subdomains? For more context: we have a multi-country b2b magento2 instance with each country having its own website with corresponding store and store view and different […]
We found a serious bug which we cannot identify if it coming from our store or from iOS 18.2 latest update. Our setup is this: Magento 2.4.7-p3 php8.3 nginx Varnish redis Check attached video please. When you try to open maim menu hamburger icon, menu appears. If you close it […]
I’m facing an issue with command setup:di:compile it’s stopped at Repositories code generation... 1/9 [===>------------------------] 11% Without error while it was works fine before ! Could you please assist me ? Thanks in advance.
I’m trying to create a simple Magento 2 admin form with the following requirements, but I’m running into issues. Here’s what I want: Form Fields: A hidden form_id field with a value of 1. A visible title field with an initial value of “Default Value”. This should be retrieved from […]