2022 Developer Survey is open! Take survey.

Hot answers tagged

4 votes

After uploading a premium theme, Magento website doesn't work although admin dashboard is working fine

Please follow below step: 1) rm -rf var/generation var/view_processed/ var/di/ var/cache/ var/page_cache 2) rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs/ And after that ...
user avatar
4 votes
Accepted

Google fonts issue as per new URL format

Try to use below line in your default_head_blocks.xml file <link rel="stylesheet" type="text/css" src="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;...
user avatar
4 votes
Accepted

Does Google just hate Magento 2...?

No. So much for Magento Gold Developer partners. I think they just don't care about PSI. Some don't care about performance benchmarks at all. Without giving out names I was approached by a client ...
user avatar
3 votes

increase google insights Rank to improve page speed - Magento 2

90 is actually a pretty good score for a Magento 1.x or 2.x Desktop site. With the Pagespeed module working correctly it should remove the css rendering problem. Do you know which version of ...
user avatar
  • 5,521
3 votes

How can I login my website with Google Account?

As I understood you want to add Google onetap login i.e https://developers.google.com/identity/one-tap/web/guides/get-google-api-clientid You need Google API client ID (https://developers.google.com/...
user avatar
  • 5,326
2 votes
Accepted

In which Magento version the Google ReCaptcha was introduced?

As per the official documentation by Magento: The Google reCAPTCHA extension is bundled and installed with Magento Open Source and Magento Commerce 2.3.x. Source link : Google reCAPTCHA || Magento
user avatar
2 votes
Accepted

I want to add google captcha V2 before placing an order in Magento 2.3.x

First of all add your captcha element in any html template as per your need. <div class="g-recaptcha" data-sitekey="YOUR_GOOGLE_CAPTCHA_KEY" id="html_element"></...
user avatar
  • 2,421
2 votes

Magento 2.3.5 - Large table scconnector_google_feed_cl

… the module adds triggers to your MySQL database and sometimes, when you upgrade to e.g. Magento 2.3.6 the module, removes the table but fails to remove the triggers. ⚠️ Don't just delete the ...
user avatar
2 votes
Accepted

Magento 2.3.5 - Large table scconnector_google_feed_cl

It was used in module Magento_GoogleShoppingAds but that module is end of life. https://docs.magento.com/user-guide/sales-channels/google-eol.html However, the module adds triggers to your MySQL ...
user avatar
  • 320
2 votes

How can I Add Google Tag Manager to Magento 2?

METHOD TO ADD GOOGLE TAG MANAGER TO MAGENTO 2 STORE In Magento 2, you can easily add the Google Tag Manager without any need for a third-party extension. To add Google Tag Manager to your Magento 2 ...
user avatar
1 vote

How can I Add Google Tag Manager to Magento 2?

Open your Magento Admin Panel and move to Content > Design > Configuration > Edit the Store View > Other Settings> HTML Head. Paste the code you got from GTM for the tag here.
user avatar
  • 2,421
1 vote

Refused to load the script because it violates Content Security Policy: Magento2

This error showing because of Magento Content Security Policies. You can check detailed info about Magento Content Security Policies at the Magento Official link. https://devdocs.magento.com/guides/v2....
user avatar
1 vote
Accepted

Magento 2.2.4: SEO issue - Homepage Search Results in "No information is available for this page."

It's something in the robots.txt You could just delete it as it will not hurt anything to have it or not have it. People think the robots.txt makes a difference in SEO - only if you have robotted ...
user avatar
1 vote

In Google Search Google Takes Meta Description or Products Description?

I am afraid this has nothing to do with Magento, but with Google itself https://searchengineland.com/google-officially-increases-length-snippets-search-results-287596 Some webmasters and SEOs may ...
user avatar
  • 3,317
1 vote

Magento 2.3.5 - Large table scconnector_google_feed_cl

Changelog tables are created by several modules on Magento 2: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/indexing.html#m2devgde-mview Using SHOW TRIGGERS; you can see all of them. If ...
user avatar
1 vote

How can I login my website with Google Account?

The feature you're looking for is called "One-tap sign-up and auto sign-in on websites". Ref - https://developers.google.com/identity/one-tap/web You'll have to load a library provided by google to ...
user avatar
  • 4,585
1 vote

In which Magento version the Google ReCaptcha was introduced?

The Google reCAPTCHA extension is installed with Magento from magento2.3.1 Refer here
user avatar
  • 434
1 vote

The property $xxx is not a valid price specification in Magento1.9.3.2

The Price you have specified is 3,999 where as google accepts it in simple number format. See Usage guidelines: Use the priceCurrency property (with ISO 4217 codes e.g. "USD") instead of including ...
user avatar
  • 7,332
1 vote

Magento media on Google cloud

Here is how it will work. Upload images to google cloud and point your CNAME (gcdn.example.com) to google cloud end point. Go to system > configuration > web > unsecure/secure. Change your media url ...
user avatar
1 vote
Accepted

Cross-origin problem: Google Customer Reviews is not displaying on success page

If you are right and problem is CORS: Use the following directives on your apache: RewriteEngine On RewriteCond %{REQUEST_METHOD} OPTIONS RewriteRule ^(.*)$ $1 [R=200,L] Also add:...
user avatar
1 vote

Structured data - Magento 2, 8 warnings

You can add below code in one file (catalog_product_view handler) and make adjustments accordingly. It will help to add all options of structured data. Hope this helps $_product = $this->...
user avatar
  • 142
1 vote

Magento 2 How can I stop Google to index my product image and details?

In admin Go to: Content -> Design -> Configuration Edit Global settings In Search Engine Robots tab: Select Default Robots value to "Noindex, Nofollow" Flush cache. In addition You can also ...
user avatar
  • 8,795
1 vote
Accepted

Unable to generate the sitemap

I tracked down the exact problem code line. It is inside the function getCollection() from the class Mage_Sitemap_Model_Resource_Catalog_Category: public function getCollection($storeId) { /* @...
user avatar
  • 2,402
1 vote

Unable to generate the sitemap

There was an error in your SQL: AND url_rewrite.category_id IS NOT NULLurl_rewrite.id_path LIKE 'category/%' should looks like: AND url_rewrite.category_id IS NOT NULL AND url_rewrite.id_path LIKE '...
user avatar
1 vote

How to install Google TAG Manager in magento 1.9

The basic GTM code can be added easily using the following three steps -: Step 1 gtm_head.phtml ---> YourTheme/Magento_Theme/templates/html/gtm_head.phtml add the following script: <!-- ...
user avatar
1 vote

magento2 and gmail image proxy issue

If you are currently working in your localhost or under a private network this issue will happen because Gmail uses Google's secure proxy servers to serve images. If your website is publicly ...
user avatar
  • 451
1 vote

Prioritize visible content Google Page Insights

as your website is responsive, it is wise to reduce content for mobile view since google page speed testing using different connection between desktop and mobile, it's still okay if in desktop your ...
user avatar
  • 1,323
1 vote

Class not found error while compiling Magento

Class EntitySpecificHandlesList comes from version 2.2.x and doesn't exist below 2.2.x. So definitely it would be the exception.
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible