Questions tagged [magento2]
Magento 2 is an eCommerce project facilitating the improvement of Magento Core products. Written in PHP-Zend Framework. Available under both open-source and commercial licenses via Adobe Commerce.
magento2
5,084
questions
-1
votes
0
answers
24
views
Add id href to url to Magento 2 php attribute
in Magento 2 I am getting a product link from an attribute like so
<?= $_product->getData('ecc_related_documents_synced') ? '<a href='.$_product->getData('ecc_related_documents_synced').' &...
-1
votes
0
answers
22
views
Persistent 504 Gateway Timeout errors on Magento 2 site despite configuration changes
I'm experiencing persistent 504 Gateway Timeout errors on my Magento 2 e-commerce site, particularly on the /articles page but also randomly on other pages. We've made several configuration changes, ...
0
votes
0
answers
14
views
Magento deprecated \Magento\Framework\App\Action\Action
Magento 2.4 deprecates class \Magento\Framework\App\Action\Action
and suggests using \Magento\Framework\App\ActionInterface.
But what about dispatch() method?
I need to do some checks in controller (e....
0
votes
0
answers
18
views
venia-ui- Magento PWA
I was asked to update venia/ui in my project.
I saw that there are lots of error in the move from version 7 to newest version so I decided to update for version 9.2.0 which is a version I have in ...
0
votes
0
answers
6
views
Overiding Only a Few Specific Canonical Links with Default Value = Yes - Magento 2
In Magento 2, we have Stores -> Catalog -> SEO -> "Use Canonical Link Meta Tag For Categories" and "Use Canonical Link Meta Tag For Products" set to "Yes". This ...
0
votes
0
answers
18
views
Magento 2 | Smile Elasticsuite search results get all - "*"
In Magento 2 when I search for "*" in search field, all products are shown. I noticed that this is because of Smile Elasticsuite extension. Without that it wont work.
Does anyone knows how ...
3
votes
1
answer
30
views
Magento 2 cloudflare unable to install Matomo
We are using magento 2 with Cloudflare enabled on the website but when we try to install Matomo getting this issue on the browser console -
index.php:1 Refused to load the script 'https://static....
0
votes
0
answers
14
views
Braintree with Paypal not working with Multi Website and Multi Currency setup - Sandbox Environment
I am experiencing an issue with PayPal used with Braintree Sandbox. I have multi website setup. US and UK website. UK website is working fine and accepting the payment in GBP using PayPal.
I am using ...
0
votes
0
answers
28
views
Magento 2, RequireJS: r.js cannot parse ES6 syntax
I am maintaining Magento 2 store. Since we have issues with RequireJS preformance, I decided to try optimizing following this tutorial Advanced JS bundling.
I have problem on "Run the r.js ...
0
votes
0
answers
15
views
Magento DB Downgrade 2.4.3 EE to 2.4.6 CE
I am downgrading Magento 2.4.3 Enterprise edition to 2.4.6 community edition. While downgrading I am following few already available modules and blogs like below
https://github.com/opengento/magento2-...
0
votes
0
answers
15
views
Magento2 cusotm module and uiComponent won't load items, infinite spinner and "We couldn't find any records"
I have created a custom module that's purpose is to manage Vendors. I have created a Collection, CollectionFactory, DataProvider, di.xml, vendors_vendor_listing.xml and so on and so forth.
I am able ...
0
votes
0
answers
27
views
Magento 2 all admin ajax requests are returning html instead of json
I have migrated the Magento 2 code to a different server and setup the same codebase on my local/wamp server.
The admin pages are not showing any data but on my local/wamp server all admin pages like ...
-1
votes
0
answers
21
views
How to solve problem in magento 2 with empty cart in FireFox?
In Firefox, when adding a product to the cart, an Ajax request is made to /customer/section/load/ and an empty cart is received in response, although the product ends up in the cart. With a normal GET ...
1
vote
0
answers
24
views
Magento Custom Variable for current Category name?
I'm trying to create a custom variable in Magento2 that I could use within a CMS block on a category page, that would result in displaying the name of that category.
For example, within a block at the ...
-4
votes
0
answers
25
views
Rewrite this model function sendEmail
I have a problem with the Magento2 newsletter module, I need to edit the sendEmail function, there is the email variable in this function that takes the template, I need to change it according to ...