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 […]
Magento2
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 […]
So, I have a custom product attribute: $eavSetup->addAttribute('catalog_product', 'visible_in_country', [ 'type' => 'varchar', 'backend_type' => 'text', 'backend_model' => MagentoEavModelEntityAttributeBackendArrayBackend::class, 'input' => 'multiselect', 'searchable' => true, 'filterable' => true, 'filterable_in_search' => false, ... ]); In Elasticsearch, the values of the attribute are saved as a string and as an array: { […]
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? […]
I am not 100% sure if I am using the correct term for my issue. I wondering why it is showing the elements on our website browser (See Image Example).
When I try to setup:upgrade command from the terminal I am always getting the below error. SQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable), query was: CREATE TRIGGER trg_catalog_category_product_after_insert AFTER INSERT ON […]
I would like to get these variables, I see in the magento structure that there are these data calls, and I would like to know how to call them from another javascript file and I don’t understand what $elm corresponds to. thanks in advance
is there a way we can redirect a product if the product is out of stock, then redirect that product to its assigned category page (if multiple categories assigned then redirect to the first category assigned) ?
I have built a custom-theme that extended from luma. However, I can’t change cart icon by _extends.less of the custom-theme. May I know is somewhere else to change cart icon? app/design/frontend///web/css/source/_extends.less: .minicart-wrapper { margin-right: 10px; .action.showcart::before, .action.showcart.active::before { display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; content: 'e613'; color: @color-white; […]