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.x]: Manual Sorting of Products #3630

Open
sandrodunkel opened this issue Aug 15, 2024 · 10 comments
Open

[5.x]: Manual Sorting of Products #3630

sandrodunkel opened this issue Aug 15, 2024 · 10 comments

Comments

@sandrodunkel
Copy link

What happened?

I know this is not the right place for this, and I'm sorry for this, but seeing how the discussion #2302 has seemingly been left abandoned by the devs for several years, I really don't see any other way to voice my concerns. The discussion exists since 2018.

Not being able to sort products is a dealbreaker not only for us as devs, but also for our clients. This needs to be part of the native functionality of Commerce. I don't see there being any excuses why this issue has been ignored for so long. It becomes increasingly difficult justifying a $1200 license to our clients if they end up not even being able to sort their products.

I know that in your knowledge base you explain how to achieve a similar effect with a custom field and a module, but this just can't be you long term solution.

Craft CMS version

any

Craft Commerce version

any

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

Copy link

linear bot commented Aug 15, 2024

@aeu
Copy link

aeu commented Aug 15, 2024

Hi @sandrodunkel - we get around this limitation by putting a Matrix on the collection page (example: shirts, pants, shoes, whatever) and in that Matrix is an entry type which includes a product. Thus product ordering can be achieved. No module necessary, no custom field, just standard Craft containers.

@wmdhosting
Copy link

OK but structure is allready native part of Craft.. so why doit in other way

@aeu
Copy link

aeu commented Aug 15, 2024

OK but structure is allready native part of Craft.. so why doit in other way

He's talking about ordering Products for craft commerce. Not the same as Structures, which are ordered collections of Entries.

@wmdhosting
Copy link

yes i know :) why not add structure option to products..
so all works same way

@aeu
Copy link

aeu commented Aug 15, 2024

yes i know :) why not add structure option to products.. so all works same way

Yeah, that would be nice. For now the Matrix is the only thing that works without custom code.

@wmdhosting
Copy link

As how things works now.. as much i see>> its all the same as Sections .. just here we have commerce field
So this can be part of Entrification thing too .. so all works same..

@lukeholder lukeholder self-assigned this Aug 20, 2024
@masiorama
Copy link

I would like to know also if it is possibile to sort products in different ways depending on some logics, like, for instance, different order depending on category pages the products are linked to.
For example, I have seasonal catalogs which should show the same product in different position depending on the catalog.

This order thing (even just a basic implementation) is really important for my clients.

@BrandKits
Copy link

My client requested this also (as they were used to it with Shopify). I setup the manual field method but it's super clunky (and hard to drag products into place when there are a lot of them).

We also have to have multiple queries depending on whether it's native or a product field which is unnecessary complexity. Hope a native solution can be added soon.

@lukeholder
Copy link
Member

lukeholder commented Sep 9, 2024

We now have this feature within a PR slated being a part of 5.2 #3663

Will update this ticket once 5.2 is out. We don't have a public timeline for this at the moment.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants