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

[5.2] Orderable product types #3663

Merged
merged 15 commits into from
Oct 9, 2024
Merged

Conversation

lukeholder
Copy link
Member

Description

This PR enabled product types to have 2 types:

  • Channel
  • Orderable

Channel is the default, and orderable works like entry structures with a locked max depth of 1 (not nestable like structures).

@lukeholder lukeholder changed the title Orderable product types [5.2] Orderable product types Sep 9, 2024
@BrandKits
Copy link

This sounds great. Do you see any issues changing existing product types from Channel to Orderable? And vice versa.

Would love a similar ability to solve ‘Add ability to reorder Line Items when creating/editing CP Orders (Discussion #3597)’.

@sjcallender
Copy link
Contributor

I've tested this and it works well. Stoked to have this finally. 🚀

@BrandKits
Copy link

A key use case of this is to order products globally, but also by collection (entry). The current product field workaround is proving very hard. With hundreds of products per entry adding and dragging new products from bottom to top is painful. Hopefully like structures you can ‘add products above’.

It would be very valuable if there was a reverse relationship field that can show all entry products that are related, AND be able to order them manually beyond the global sort order.

Is there a beta that we can test or do we need to wait for 5.2? Is that expected soon?

Thanks

# Conflicts:
#	src/Plugin.php
#	src/services/ProductTypes.php
[skip ci]
@lukeholder lukeholder marked this pull request as ready for review October 9, 2024 06:43
@lukeholder lukeholder requested a review from a team as a code owner October 9, 2024 06:43
@lukeholder lukeholder merged commit bfb1521 into 5.2 Oct 9, 2024
@lukeholder lukeholder deleted the feature/orderable-product-types branch October 9, 2024 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants