Active
Project:
Commerce Bulk Product Creation
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2011 at 23:30 UTC
Updated:
27 Dec 2011 at 19:16 UTC
It is possible (or it could be possible in the future) to use a Date Field as a combination attribute when bulk creating products?
(At the moment I'm considering to achieve this by using a List (text) field with 365 values (days). But obviusly is not very wise, as it is not a Date)
Comments
Comment #1
sven.lauer commentedCommerce BPC does not allow this at present, but it is definitely possible (there is an API that allows anyone to implement this).
I guess UI-wise, we would simply display a multi-value date field. I've been thinking that I might write an extension module that allows arbitrary multi-value fields to be used as combination fields. If I get to that, this could be used for date fields.
However, right now, you will have to find a workaround (if you don't want to write a custom module). A list field with 365 fields sounds painful, though ...
Comment #2
elianhi commentedAha. I see.
Then I'll have to take the painful way, as I'm not a developer. Because unfortunately I cannot even use Commerce Feeds to import my products as Feed does not have an Entity Reference Mapper which I need for my custom products.
Anyway, your idea of displaying multi-value fields sounds very promising :)