Skip to content

Plan products

Neto Rodrigues edited this page Jul 15, 2021 · 3 revisions

Plan products

The plans functionality is designed for use with Magento 2 bundle products. To create a plan from a bundle product, this product must meet some requirements.

  1. The dynamic price option must be disabled, and the product price must be zero. This needs to be done because the bundle price must be dynamically calculated.

  1. In the bundle items session, each option must contain only one item. The input type must be "checkbox" or "multiple select". The price informed, together with the quantity informed, will be the total value of the bundle.

  2. In the example below, the total value of the bundle will be $60.

Creating a Plan

It is important to note that the module's plans functionality was not created to work in conjunction with Magento 2's multi-store. All plans created on the Magento 2 platform will also be created in the Pagar.me account corresponding to the credentials associated with the platform's default settings.

To access the plans menu, just click on the "Pagar.me" button on the sidebar and select the "Plans" option on the submenu displayed.

Click on the "Add new plan" button.

In the "Product Search" input, search for your product and press the "add Product" button:

Make the appropriate definitions for your plan:

Click on the "Save" button in the upper right corner.

A confirmation popup will be displayed if the plan creation is successful.

The plan created can be displayed on your Magento 2 platform:

Now, when purchasing this bundle-type product in your store, a subscription to the configured plan will be created.

Clone this wiki locally