alma / alma-monthlypayments-magento2

Magento 2 Payment Gateway integration for Alma
Other
6 stars 9 forks source link

Disable widget configuration if feature flag is removed #137

Closed Benjamin-Freoua-Alma closed 6 months ago

Benjamin-Freoua-Alma commented 6 months ago

Reason for change

Linear task

Code changes

As a merchant who already have the insurance feature When the feature flag is removed Then the "activate insurance" configuration should be false

The widget should not be visible from product page

The modal should ne be opened on "Add to cart" click

How to test

Add flag insurance in the account Alma Install module with insurance config Remove the flag insurance in the account Alma Check all the feature insurance is disabled in the shop

Checklist for authors and reviewers

Non applicable

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud