There are many REST endpoints that require passing a sourceId parameter. Where do I get the value for sourceId? https://magento.redoc.ly/2.4.5-admin/tag/inventorysources#operation/GetV1InventorySources GET https://mymagentodomain.com/rest/V1/inventory/sources returns { "items": [ { "source_code": "default", "name": "Default Source", "enabled": true, "description": "Default Source", "latitude": 0, "longitude": 0, "country_id": "US", "postcode": "00000", "use_default_carrier_config": true, "carrier_links": [], "extension_attributes": […]
Magento
Upgraded to Magento2.4.4-pt1. Now reindexing from SSH I am getting error with reindexing catalog_product_attribute. php -d memory_limit=2G bin/magento indexer:reindex catalog_product_attribute Product EAV index process error during indexation process: Warning: Illegal offset type in /var/www/vhosts/upperlimitsinc.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php on line 392. I am not sure why I am getting this error or how to […]
I’ve seen a few similar questions here when i searched but they all pertain to magento 1. This seems identical do what i want to do.. Redirect “Continue Shopping” Button to the Current Product Category it was added from? I see their using the Mage class which is now the […]
it’s been several times that I tried to make magento work but I always have the error page Whoops, our bad and I have tried everything so I am leaving it to you. If you need capture or anything you can ask me thank you in advance Thanks in advance
I tried to customize the Mobile search from label to anchor, but it’s not working. However, I modified the form.min.phtml and form-min.js file as below but still not working. <a title="Search" class="label" for="search" data-role="minisearch-anchor" href="javascript::void(0)" > <span ><?php /* @escapeNotVerified */ echo __('Search'); ?></span> </a> and the js file .. […]
Magento Open Source 2.4.5 I am having issues with emails. They are coming through without the email body content and just “We’re sorry, an error has occurred while generating this content.” The following is from our system.log: InvalidArgumentException: Unable to serialize value. Error: Malformed UTF-8 characters, possibly incorrectly encoded in […]
I’m getting the below error: [2022-09-20T20:10:16.753904+00:00] main.CRITICAL: Error: Call to a member function isSaleable() on null in C:xampphtdocsmagento2vendormagentomodule-catalogviewfrontendtemplatesproductlistaddtocompare.phtml:32 and the line 32 was contain a code: <?php if ($product->isSaleable() && $block->isRecurringEnable($product)): ?> also the $product contains: public function getProduct() { $product = parent::getProduct(); if ($product && $product->getTypeInstance()->getStoreFilter($product) === null) { […]
I am using a custom theme built off of Amasty’s Jet Theme. I am trying to use the grouped product type to sell parts from a schematics image. The idea is to have the schematic full width across the top of the product page, with all of the grouped items […]
After running site audits with Google Insights and Lighthouse I am getting the following: Ensure text remains visible during webfont load Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. Learn more.FCPLCP Magento Specify @font-display when defining custom fonts. URL Potential Savings …font/porto-icons.woff2 (www.mydomain) 20 […]