M2.3.5 EE, v1.2.3-M2MetaTagsTemplate: when generating the Meta Template at any scope, the Meta data at All Store Views scope is changed

Created by Esther Nguyen, Modified on Tue, 21 Apr at 12:09 AM by Support Agent

ISSUE:

Steps to replicate:

- Generate the Meta Template at any scope

- Go to a generated product, select scope: All Store Views, and then click Save button

Expected result: the Meta data at All Store Views scope is not changed

Actual result: the Meta data at All Store Views scope is changed according to the Meta Template


SOLUTION:

When catching the event catalog_product_save_after, the module does not check the current store view of the product, meanwhile. in the configuration of the Meta Tag Template, there is no option to select All Store Views. Therefore, the generated data in Meta Tag always is always set for All Store Views and you need to check the store view condition other than 0 (All Store Views) then update. 


To temporarily resolve the issue, please edit the file: app/code/Bss/MetaTagManager/Observer/AfterProductSave.php as below:


 

Or download the file attached below to override the current file on your site.


If you need any further assistance, please feel free to contact us. We'd be happy to support you!



BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


Visit our store: https://bsscommerce.com/magento-2-extensions.html 


Don't forget to discover our top tier extensions that might boost your store performance:


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article