I have the following script which i need to add the product brand/manufacturer and SKU <script> window.addEventListener('liveload', function() { IcecatLive.getDatasheet( { 'reasonstobuy':'#Container5', }, { Brand: **$manufacturer**, PartCode: **$sku**, UserName: 'myusername' }, 'en') }); </script> I have added custom.phtml in web/magento/app/design/frontend/MyTemplate/default/Magento_Catalog/templates/product/view which contains <?php $_product = $this->getProduct(); /* YOU CAN GET […]
Magento1
Is there a way to speed up layered navigation filters on Magento 2.3.4? Filters with a lot of products are taking too long to load. Any help would be appreciated.
I updated magento to 2.4.6 and PHP 8.2 and When I run any comment in Magento (i.e php bin/magento cache:flush or php bin/magento cache:clean) I get this error on the console: There is an error in /var/www/magento2/vendor/magento/framework/App/ErrorHandler.php at line: 62 Deprecated Functionality: Using ${var} in strings is deprecated, use {$var} […]
I’m currently using the following endpoint to retrieve the last 50 orders: /rest/V1/orders/?searchCriteria[sortOrders][0][field]=created_at&searchCriteria[pageSize]=50 However, I’ve noticed that the product attribute “searchable_sku” is missing from the response for the products within the orders. How can I modify the API response to include this attribute?
As a junior developer, I wanted to add up to my skill and try to learn the Commerce platform Magento. Should I start learning from magento 1 ? before I get to porceed for Magento 2 ? Is Magento 1 still industry used ?
I have to add Date of Birth as a seprate dorpdown DD MM YYYY formate in customer account create form and my account section. I have implement dob.phtml and dob-validation-dropdown.js but not saving data, when submit create account form getting error. Error: ValueError: bcsub(): Argument #1 ($num1) is not well-formed […]
The query is the following. I want to update this field in magento, but only accept or replace the new values to be entered with the values that already exist, doing it massively using a template, but when doing so, it only adds the new values, it does not delete […]