To offer subscriptions in your store, you can extend your Mollie for Magento 2 with Mollie Subscriptions. Mollie Subscriptions is a separate module compatible with Mollie for Magento 2.
What you need to do in advance
Install Mollie Subscriptions
-
Connect to your Magento 2 environment, for example using SSH↗.
-
Navigate to the root directory of your Magento 2 store in the terminal, and install Mollie Subscriptions:
composer require mollie/magento2-subscriptions
-
Activate the module:
php bin/magento module:enable Mollie_Subscriptions
-
Deploy the content in your Magento 2 environment, and clean the cache:
php bin/magento setup:upgrade
php bin/magento cache:flush
-
Log in to Magento 2.
-
Go to Stores > Configuration.
-
Scroll to Mollie, select the arrow, and then Subscriptions.
-
Expand the General section, and in the Enabled drop-down, select Yes.
-
In the Shipping method drop-down, select a shipping method.
-
Select Save config.
Create a subscription product
-
Log in to Magento 2.
-
Select Catalog > Products.
-
On the Products page, click the product.
-
In the product details page, scroll to Mollie and expand the section.
-
Switch the Is this a subscription product? toggle to Yes.
-
Configure the subscription in the Subscription configuration pane.
-
Click Save.