When I try to ping for all products via a simple searchCriteria (rest/V1/products?searchCriteria[pageSize]=1), the total_count is a fraction of the full number of items in our catalog. Or when I search product by ID, I get an empty response for some items that I know to exist. For instance ID […]
Magento
Error filtering template: Notice: Undefined index: c009.008 in /chroot/home/add2533c/casterdepot.com/vendor/magento/module-inventory-source-selection-api/Model/Algorithms/Result/GetDefaultSortedSourcesResult.php on line 127 c009.008 is a product # that we use in our system –> but typically it should be with a capital C. (must’ve been entered wrong) This message is displayed on the home page like so. If anyone knows […]
Good afternoon everyone, I’m still a beginner magento developer and I’m planning to put my first store online, but I was using the default mode, and when I set it to production mode everything was extremely slow. When researching most tutorials it says that the production mode is faster than […]
I seem to be missing something when it comes to overriding controllers. This is a somewhat recurring question in here, but nothing I’ve found in other questions worked for me, so either they might be a bit outdated or I am missing something obvious. I am on Magento 2.3.4, trying […]
I’m trying to sort multi-select attributes by selected values at the top and alphabetical order shown in the admin product edit page. I tried using JS to sort alphabetical but didn’t succeed. Please check the screenshot below.
I have added a widget to a custom extension that includes a form. The form needs to have a Captcha on it. I cannot figure out what I am missing to get it to display on the form. The form opens in a modal that slides in from the right […]
Anyone know if its possible to add a column here like a dropdown for us to basically group these swatches (Attribute to be used for something else later on).
I need add an external iframe in product gallery, but my code is not working in product configurable. Thanks $(document).on('gallery:loaded', function () { var $fotorama = jQuery('div.gallery-placeholder > div.fotorama'); var fotorama = $fotorama.data('fotorama'); $fotorama.on('fotorama:load', function fotorama_onLoad(e, fotorama, extra) { if (extra.frame.type === 'iframe') { extra.frame.$stageFrame.html('<iframe align="middle" type="text/html" width="100%" height="100%" src="' […]
Currently the template is defined like this: <?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="CompanyPdfDesignModelCompanyDesign"> <arguments> <argument name="templateFiles" xsi:type="array"> <item name="extras" xsi:type="string">Company_PdfDesign::pdf/table/extras.phtml</item> </argument> </arguments> </type> </config> However, I want to make this dynamic and load it from the settings, so I tried to use a helper like seen here: <?xml version="1.0"?> […]