I have to filter the Magento 2 GraphQL query to filter based on the product type. products( filter: {category_id: {eq: "3"}}, sort: {name: ASC}, pageSize: 2, currentPage: 1 ) { total_count items { __typename name sku description { html } short_description { html } image { url label position disabled […]
Magento
I’m trying to get Magento 2 installed on Windows 11 and I get the error. The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl extension, you can disable this error, at your own ris k, by setting the ‘disable-tls’ option […]
I’m running a multi-store Magento 2.4.7+ setup in various different foreighn languages(currently 8 store locales). I need to send test transactional emails from my development environment (order confirmation, password reset, …) and find which email templates lack translations for specific locales. how do i test it? thank you.
Geeing error while execute index command php bin/magento indexer:reindex {“error”:”no handler found for uri [/magento2_product_1_v2/document/_mapping? include_type_name=true] and method [PUT]”} please guide thank you!.
I am using Magento 2.3.4 Can we print a SQL query when product search from admin product grid? I can print sql queries in our custom or product collection in frontend using $collection->getSelect()->__toString(); but I want to print the SQL query in the admin product grid.
After upgrade Magento from 2.3.5 to Magento 2.4.2, the categories page doesn’t show any product. I have change Search Engine to Elasticsearch 7. When I check log, I found a bug: [2021-03-19 08:32:17] main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [product_id] in order to sort on","index_uuid":"ZqaXmQlfQVqUEMFKpGUziw","index":"magecusabio_product_8_v1"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magecusabio_product_8_v1","node":"bhY-5xWvQ02x5cizTVMtKw","reason":{"type":"query_shard_exception","reason":"No mapping found for [product_id] […]
How can we import products data from third party in magento 2 programmatically ? We have some feeds for products , categories. We need to store in to magento
We have to fetch and set a session variable when the user redirects to our magento2 website using session-id from 3rd party site. It looks like http://magento2.com/?SID=322e00bfqm3g6rfpjumah3939n For this, we have written a custom router & match method but it’s not triggering properly at the first time. Could you please […]
I am trying to change the magento2 page builder image to include picture and source set tag. I made a module app/code/[Vendor]/PageBuilder/view/adminhtml/web/template/content-type/image/full-width/master.html I want to changed this code: <figure attr="data.main.attributes" ko-style="Object.assign({}, data.main.style())" css="data.main.css"> <a if="data.link.attributes().href" attr="data.link.attributes" ko-style="data.link.style" css="data.link.css"> <img attr="data.desktop_image.attributes" class="pagebuilder-mobile-hidden" css="data.desktop_image.css" ko-style="data.desktop_image.style" /> <img attr="data.mobile_image.attributes" class="pagebuilder-mobile-only" css="data.mobile_image.css" ko-style="data.mobile_image.style" /> […]