How to fix the incompatible issue with M2.2.x?

Created by Support Agent, Modified on Mon, 13 Apr at 3:02 AM by Support Agent

Issue:


I purchased your extension "Simple Details on Configurable Product", but when I install version 1.2.9 on M2.2.0, I get the following error:


PHP Fatal error:  Interface 'Magento\Framework\App\Action\HttpPostActionInterface' not found

in /app/code/Bss/Simpledetailconfigurable/Controller/Ajax/Product/Post.php on line 25

Could you please check and fix it?


Solution:


The current version 1.2.9 is not compatible with M2.2.x at this time so it caused the issue above.

To solve it, please edit these files as below:

app/code/Bss/Simpledetailconfigurable/Controller/Ajax/Product/ListAction.php

app/code/Bss/Simpledetailconfigurable/Controller/Ajax/Product/Post.php

app/code/Bss/Simpledetailconfigurable/Model/Product/Type/Configurable.php

app/code/Bss/Simpledetailconfigurable/view/frontend/web/js/price-box.js

app/code/Bss/Simpledetailconfigurable/view/frontend/web/js/price-option-date-mixin.js

Please check and apply the attachment files on the site and flush the cache.


We'd like to support you.


If there is any concern, please contact us. Here are some information about BSS Commerce:


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.


INSTALL OUR MOST POWERFULPLUGINS:

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