M2.3.6: Cannot copy some products when enable Bss_SeoAltText

Created by Esther Nguyen, Modified on Tue, 12 Oct 2021 at 03:25 PM by Esther Nguyen

ISSUE:

We are facing one issue: Once we enable bin/magento module:enable Bss_SeoAltText, we can't copy some products, variable products especially. If the Bss_SeoAltText module is disabled, it works fine. 


SOLUTION:

When you duplicate any products, the image attribute is also duplicated. There will be 2 saves happening. The first time you save the original product, the images will be renamed. The second time you save the copied product, the images will no longer exist (not be renamed) but in the database, the image attribute has not been updated. The error shows the data existing in the database but the images do not exist. 


To temporarily resolve the issue, please edit the file: app/code/Bss/SeoAltText/Helper/File.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!

Attachments (1)

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 atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article