medusajs / medusa

Building blocks for digital commerce
https://medusajs.com
MIT License
24.59k stars 2.42k forks source link

Single product in multiple collections + images to variants #1370

Closed MedusaNick closed 9 months ago

MedusaNick commented 2 years ago

Wishes for product page from a current user

@akarimin

adrien2p commented 2 years ago

For the image it could be selected from the product images or create a new product images, that way when you choose a variant you can select the image to be active in the slider to?

almousa1990 commented 2 years ago

It would be great to have these feature. It is a common use case to have a single product in multiple collections (clothing, summer collection, etc…)

lithiumlab commented 2 years ago

product variant image/s is a must for some products like watches, tshirts. highly desired feature.

olivermrbl commented 2 years ago

Would like to be able to put a single product in multiple collections via Admin

This is already supported in the product create / update flow

Would like to be able to add images to individual variants

We'll most likely be adding support for images on variants in Q3.

cc @lithiumlab @almousa1990

alinjie commented 2 years ago

@olivermrbl Is this live in the newest version of Medusa? I haven't tried this myself, but the product API reference still shows the collection property as a single object.

I'm glad to see that multiple images for variants are coming. Cannot wait to try Medusa in production as soon as this feature is implemented. 💪🏾

almousa1990 commented 2 years ago

@olivermrbl the current version of the product model allows one collection per product.

@Column({` type: "text", nullable: true })
  collection_id: string | null

  @ManyToOne(() => ProductCollection)
  @JoinColumn({ name: "collection_id" })
  collection: ProductCollection
nntan2002 commented 2 years ago

i cant find products in collections medusajs api image

thngdude commented 1 year ago

When referring to Q3 for variant images, does that mean it's currently WIP? Looking very much forward to this feature as well.

aihdeveloper commented 1 year ago

Any status for the variant images feature? Appreciate all the hard work!

RegisHubelia commented 1 year ago

+1 - being able to somehow link images with variants is missing. I'll be working on something as we have an urgent need for this - but it's probably better to have this as a feature to begin with...

lithiumlab commented 1 year ago

@RegisHubelia I have submitted this as a feature request days ago. See https://github.com/medusajs/medusa/discussions/2807

Dovydastc commented 1 year ago

Waiting for an update on this!

olivermrbl commented 1 year ago

Last week, we published an RFC detailing the concept of a product category. We will follow up with one centered around the relationship between products and categories. But I can reveal now, that the current proposal introduces a many-to-many relationship allowing you to have multiple categories per product and vice versa.

With respect to variant images, we are yet to plan that feature. I expect to be able to share details in late Jan or early Feb.

alex-brukhty commented 1 year ago

+1 for variant images, thanks

AlexTechNoir commented 1 year ago

As a temporary workaround we can set the tags (that will serve as collections) to products and then filter the products by specifying the array of tags' ids in the query, like this:

http://localhost:9000/store/products?tags[]={id_of_tag_as_collection}&tags[]={id_of_another_tag_as_collection}

In Admin, the same tag id is set respectively to the same tag title

Frioo commented 1 year ago

Would love to see variant images!

teddyboirin commented 1 year ago

Someone can give us visibility about how this feature can be developed ? maybe she's already WIP ?

microCloudCode commented 1 year ago

variant images! +1

ghost commented 11 months ago

Any updates here? Interested in this feature as well.

trashken commented 10 months ago

+1 variant images

hampusboas commented 10 months ago

+1 variant images

trashken commented 10 months ago

Found a plugin for this:

https://medusajs.com/plugins/medusa-plugin-variant-images/

adrien2p commented 9 months ago

Seems like this issue have been resolved.

I apologize for the delayed response.

Please don't hesitate to re-open the issue (or create a new one) if you still need a resolution or an answer.

Thanks ❤️

alinjie commented 9 months ago

@adrien2p Do you have any link to where this was resolved? I cannot seem to find it in the changelog.

adrien2p commented 9 months ago

We have introduced the categories a few months back which allows you to organise your product in different categories and allows more granular control.

For the variant image, it looks like a plugin has been made

AbhiAbhiAbhiAbhi commented 8 months ago

I added this plugin https://medusajs.com/plugins/medusa-plugin-variant-images/ in my project. Though the schema is updated, I am not sure from where I can upload the images for the variants!

I have "@medusajs/admin": "7.1.8" version and rebuilt it also, still not seeing anything on the admin dashboard UI. Can anyone help?

kshitijmehta commented 5 months ago

@adrien2p I see the https://github.com/andriinuts/medusa-plugin-variant-images archived (with not so happy reasons). Any plans on how to take this request further ?

alsherif-khalaf commented 5 months ago

@adrien2p I see the https://github.com/andriinuts/medusa-plugin-variant-images archived (with not so happy reasons). Any plans on how to take this request further ?

Why he archived it ?

nourr23 commented 2 months ago

So we have to use collections as categories and categories as collections ?

devtony01 commented 1 month ago

Can't someone just edit core and add the same schema for product images for variant images, then adapt the service too. Like this should not take a day

devtony01 commented 1 month ago

Screenshot from 2024-08-04 15-33-32 Building the above for a client and I might be forced to use Saleor or Vendure, Medusa is my first love but I need my client happy

hijak commented 1 week ago

reopen this please its totally blocking me moving from prestashop

bigangrycrow commented 2 days ago

Glad the plugin author recommended Vendure; Meudsa was a nice newbie trap for a completely barebones slop app but the more I use it the more I'm pulling my hair out. Webdev was a fucking mistake.

davidhotar commented 1 day ago

It's disappointing that these features are still not included after 2 years of development. Why is this the case? Is Medusa prioritizing its own B2B partnerships at the expense of community development? Vendure seems like a better choice now.