International phone plugin : link I added in my requirejsconfig.js var config = { map: { '*': { customDisplayCheckout: 'Amasty_CheckoutCore/js/custom', }, paths: { "intlTelInput": 'Amasty_CheckoutCore/js/intlTelInput', "intlTelInputUtils": 'Amasty_CheckoutCore/js/utils' }, shim: { 'intlTelInput': { 'deps':['jquery', 'knockout'] } } } }; I also added files in specific folders, files loads (I can see […]
Magento
I’m trying to import the short description with Postman. No matter how i try I always get an error. I’m using following URL /rest/english/V1/products/ The shop has to different view_codes english and german. Can someone send me a postman sample? Im trying with following body: { "product": { "sku": "VBP_008", […]
I have updated Composer to 2.4.4 as a prerequisite to updating Magento to 2.4.5, however now I’m getting errors in SSH when trying to run any other command and HTTP on a page execution: SSH: In AutoloadGenerator.php line 1351: require(/home/---/web/---/public_html/vendor/magento/composer-root-update-plugin/registration.php): failed to open stream: No such file or directory HTTP: […]
im using magento 2.4.4-p3 community and when i add to cart a product the product does not add, also im not able to login from frontend as a customer. i dont have any errors logs or javascript errors. it looks like is something related to the session. if i go […]
In the mini cart default, a special price will show if a product has a special price (calculated price). I need to show both prices regular price and special price in mini cart. Please suggest me a solution if anyone has one.
In my custom_table have custom_field (type varchar)- but I only insert the number on that field. My problem is when I filter custom_field by range in the admin grid, the query is select `main_table`.* from `custom_table` as `main_table` where (custom_field >= '0') and (custom_field <= '40') It will sort by […]
Actually, I want to get the Payment Update from Paypal automatically twice a day for my order in the status column. That Order has been in the Payment Review, declined/Failed, etc. The Things I do I tried till now : Cron : <?php namespace VendormoduleCron; use MagentoFrameworkControllerResultFactory; use MagentoFrameworkControllerResultInterface; class […]
We have an instagram widget on our site. Perfect for desktops – but very negative for the pagespeed score on mobile. So I would like to prevent it from loading on mobile. Not hide it with {display:none;} (than it’s still being loaded in the background) A friend wrote this script […]
I have tried to get update value without caching block. I have tried all below code,but they are not work. public function getCacheLifetime() { return null; } $this->addData([ 'cache_lifetime' => 0, 'cache_tags' => [MagentoStoreModelStore::CACHE_TAG, MagentoCmsModelBlock::CACHE_TAG]]); public function getCacheLifetime() { return null; } $block->setCacheLifetime(0); How to disable the cache for block? […]