I'm looking for the possibility of being able to select products variants through the Merchello product picker data type. It seems that at the moment it is limited to "regular" products...
The use case is this: say that I create a collection for a special offer that only applies to certain products, which the admin chooses through the product picker. However, currently there is no way to choose a specific variant of a product - this is problematic since we don't necessarily want to include other variants of the same product.
You could look at the "Product Rules" constraint when creating a coupon which allows for selecting a product and then restricting to certain variants of that product ....
I think there would be a lot of similar code to what you are describing turning into a custom data type.
Yes, I created a custom datatype based on the regular product picker and tailored it to my specific needs.
The main difference is that in my case I'm using an ElasticSearch facade instead of the normal Merchello product API - in this facade the products are stored in a flat structure, which makes working with variants somewhat easier.
Merchello product picker include variants
Hi there,
I'm looking for the possibility of being able to select products variants through the Merchello product picker data type. It seems that at the moment it is limited to "regular" products...
The use case is this: say that I create a collection for a special offer that only applies to certain products, which the admin chooses through the product picker. However, currently there is no way to choose a specific variant of a product - this is problematic since we don't necessarily want to include other variants of the same product.
What would be the easiest way to accomplish this?
You could look at the "Product Rules" constraint when creating a coupon which allows for selecting a product and then restricting to certain variants of that product ....
I think there would be a lot of similar code to what you are describing turning into a custom data type.
This would be a very useful (almost necessary) core feature. Did you ever make progress with this, William?
Hey Chris,
Yes, I created a custom datatype based on the regular product picker and tailored it to my specific needs.
The main difference is that in my case I'm using an ElasticSearch facade instead of the normal Merchello product API - in this facade the products are stored in a flat structure, which makes working with variants somewhat easier.
is working on a reply...