I am creating mobile app using magento2 APIs. The problem is that I want to translate messages according to the store on frontend for example i want to translate the error messages and success messages of create account API by using i18 how can i do that without overriding APIs
Magento2
I’m a newbie magento 2 developer. I’m currently learning how to store data to database using repository-interface-model-api approach. My code is not working. model ItemRepository class ItemRepository implements ItemRepositoryInterface { private $collectionFactory; protected $itemFactory; public function __construct( CollectionFactory $collectionFactory ) { $this->collectionFactory = $collectionFactory; } public function getList() { return […]
I’m using ubuntu 22.04 to install magento2.4.6, but I’m confused about sudo chown -R user_name:www-data ., what should the user_name be, ubuntu or root. The default ssh user of ubuntu 22.04 is ubuntu. mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'demo12345679!'; mysql> CREATE USER 'magento'@'localhost' IDENTIFIED BY 'demo12345679!'; mysql> […]
i keep having this error zoho_logger.INFO: getFields Website 0 Response {"code":"INVALID_TOKEN","details":{},"message":"invalid oauth token","status":"error"} zoho_logger.INFO: insertRecord Respone {"code":"INVALID_TOKEN","details":{},"message":"invalid oauth token","status":"error"} [] [] configuration in magento2 magenest zoho crm is well configured i don’t know where is the probleme
I’m getting this error trying to import a custom component, but my path is correct? Failed to compile. ./src/component/Footer/Footer.component.js Module not found: Can’t resolve ‘/scandipwa/src/component/FooterLinks’ in ‘/scandipwa/src/component/Footer’ But the path is correct? Here’s a view of my file structure and my imports – “FooterLogo” and “FooterTagline” are working fine, just […]
I had been trying to use rest api for getting Configurable Products (Child products) using the rest API – https:url//rest/V1/configurable-products/sku/children But, I am getting this framework error – “Method’s return type must be specified using @return annotation. See MagentoCatalogModelResourceModelProductCollectionInterceptor::load()” Log Trace: “trace”: “#0 /var/www/html/vendor/magento/framework/Reflection/TypeProcessor.php(291): MagentoFrameworkReflectionTypeProcessor->getMethodReturnAnnotation(Object(LaminasCodeReflectionMethodReflection))n#1 /var/www/html/vendor/magento/framework/Reflection/MethodsMap.php(180): MagentoFrameworkReflectionTypeProcessor->getGetterReturnType(Object(LaminasCodeReflectionMethodReflection))n#2 /var/www/html/vendor/magento/framework/Reflection/MethodsMap.php(115): MagentoFrameworkReflectionMethodsMap->getMethodMapViaReflection(‘Magento\Catalog…’)n#3 /var/www/html/vendor/magento/framework/Reflection/DataObjectProcessor.php(83): […]
I installed Live Search in Magento, and this works fine. But if I active the modules of Magezon Page Builder, these generate a problem in the operation of Live Search. Specific I think the problem is /app/code/Magezon/Builder/view/adminhtml/layout/default.xml and /app/code/Magezon/PageBuilder/view/adminhtml/layout/default.xml It occurs to me to add some kind of exception so […]
I have an admin ui component form, one of the elements I’m using is checkboxset. The checkboxset seems be a bit of a ghost in core code, and documentation. When I implement the checkboxset like this (manual adding options like https://developer.adobe.com/commerce/frontend-core/ui-components/components/checkbox-set/) everything works: <checkboxset name="checkboxset_example"> <argument name="data" xsi:type="array"> <item name="config" […]