Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to "bundles" #64

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Add support to "bundles" #64

wants to merge 15 commits into from

Conversation

marcomontalbano
Copy link
Member

@marcomontalbano marcomontalbano commented Apr 9, 2024

What I did

I added an attribute kind to the cl-add-to-cart, cl-price, and cl-availability components.

This new attribute indicates whether the code attribute refers to a sku or a bundle (default to sku).

Important

This feature is not fully implement on the cl-availability component. When kind is equal to bundle no information will be displayed and the component will be rendered as an empty box without any size.

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests).
  • Make sure to add/update documentation regarding your changes.
  • You are NOT deprecating/removing a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant