Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Magento 2 - How can I change product visibility value using plugin afterSave or beforeSave method?

I have created a plugin and I want to change product visibility value on product save but it's not working. ProductAfterSave.php namespace Vendor\Module\Plugin; class ProductAfterSave { public ...
Mr. Nanhe's user avatar
  • 139
2 votes
1 answer
2k views

Magento 2 - How to use plugin to change product visiblity after saving product from backend?

I am new in Magento 2 and I want to change product visibility after saving product from backend using plugin. For this I have created custom module and plugin, but I am not sure that we can achieve ...
Mr. Nanhe's user avatar
  • 139