Skip to content

Display "Subscription" Label in Cart and Checkout for Subscription Products #86

@LucasVollebergh

Description

@LucasVollebergh

Describe the new feature:
We would like to request the ability to display a label (e.g., "Subscription") next to subscription products in the cart and during checkout. This feature would help visually differentiate subscription products from regular products, enhancing the user experience by clearly identifying subscription-based items for customers.

Describe the solution to be implemented:
Backend changes:
Introduce a new product attribute, such as mollie_subscription_enabled, that flags whether a product is part of a subscription service.

Allow this attribute to be used to identify subscription products both in the cart and during the checkout process.

Frontend changes:
Modify the cart and checkout templates to check for the mollie_subscription_enabled attribute on each product in the cart.

Display a "Subscription" label (or similar text, as configured by the store owner) next to subscription products in the cart and checkout.

The label can be displayed in a prominent place, such as next to the product name or in the product details section, making it clear to customers which items are part of a subscription.

Admin Configuration:
Provide an option in the admin configuration where store owners can customize the label text (e.g., "Subscription", "Recurring", etc.).

Allow store owners to toggle whether the label should be visible in the cart and checkout pages.

Additional context:
Example use case: A store sells both regular and subscription-based products. To help customers easily distinguish between the two, the store wants to display a "Subscription" label next to subscription products in both the cart and checkout. This will help increase transparency and improve the overall shopping experience.

Benefit: This feature provides clarity to customers about the nature of the products they are purchasing, which can help reduce confusion and increase trust. It will also make it easier for customers to understand that the product is part of a recurring service.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions