medusa icon indicating copy to clipboard operation
medusa copied to clipboard

Single product in multiple collections + images to variants

Open MedusaNick opened this issue 3 years ago • 7 comments

Wishes for product page from a current user

  • Would like to be able to put a single product in multiple collections via Admin
  • Would like to be able to add images to individual variants

@akarimin

MedusaNick avatar Apr 19 '22 07:04 MedusaNick

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?

adrien2p avatar Apr 19 '22 07:04 adrien2p

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…)

almousa1990 avatar Jun 05 '22 08:06 almousa1990

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

lithiumlab avatar Jul 06 '22 11:07 lithiumlab

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

olivermrbl avatar Jul 06 '22 11:07 olivermrbl

@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. 💪🏾

alinjie avatar Jul 06 '22 12:07 alinjie

@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

almousa1990 avatar Jul 27 '22 17:07 almousa1990

i cant find products in collections medusajs api ** image **

nntan2002 avatar Aug 30 '22 11:08 nntan2002

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

thngdude avatar Nov 08 '22 13:11 thngdude

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

aihdeveloper avatar Dec 12 '22 06:12 aihdeveloper

+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...

RegisHubelia avatar Dec 23 '22 18:12 RegisHubelia

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

lithiumlab avatar Dec 23 '22 19:12 lithiumlab

Waiting for an update on this!

Dovydastc avatar Dec 28 '22 09:12 Dovydastc

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.

olivermrbl avatar Dec 28 '22 10:12 olivermrbl

+1 for variant images, thanks

alex-brukhty avatar Feb 06 '23 23:02 alex-brukhty

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

AlexTechNoir avatar Apr 10 '23 20:04 AlexTechNoir

Would love to see variant images!

Frioo avatar May 15 '23 13:05 Frioo

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

teddyboirin avatar Jun 06 '23 21:06 teddyboirin

variant images! +1

microCloudCode avatar Aug 12 '23 19:08 microCloudCode

Any updates here? Interested in this feature as well.

ficeco avatar Sep 27 '23 16:09 ficeco

+1 variant images

trashken avatar Oct 23 '23 04:10 trashken

+1 variant images

hampusboas avatar Oct 24 '23 13:10 hampusboas

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 ❤️

adrien2p avatar Dec 06 '23 09:12 adrien2p

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

alinjie avatar Dec 06 '23 09:12 alinjie

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

adrien2p avatar Dec 06 '23 09:12 adrien2p

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?

AbhiAbhiAbhiAbhi avatar Jan 02 '24 10:01 AbhiAbhiAbhiAbhi

@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 ?

kshitijmehta avatar Mar 20 '24 11:03 kshitijmehta

@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 ?

alsherif-khalaf avatar Mar 24 '24 20:03 alsherif-khalaf