catalog/control/EditProduct Product Type Dropdown menu

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

catalog/control/EditProduct Product Type Dropdown menu

michael j
Hi all

**Ofbiz newby alert**

First question: I have created a bunch of product types with attributes for each different class of product that I need to show. Each product type has a different set of attributes. Now I want to create products of those types that I just defined to populate my catalog but when I go to do that using catalog/control/EditProduct on that form I see a dropdown menu for Product Type and yet I don't find the types that I created. Is this the expected behavior? All the product types from the seed data are there but how do I get the ones that I created to show? Is this another step?

Another question: when creating attributes are they all created as a string data type? Is there a way to specify the data type of the attribute being created? Is the solution for this a separate table for the product type? My products are digital files of satellite images which all have start and stop times and geographical coordinates associated with them and if I represent them as the correct data type then I will be able to write useful automation scripts to do time and geography based operations particular to my data such as:

1) how long is the data of a product in seconds from start to stop
2) use length of data in product to calculate bytes to estimate delivery time by ftp
3) which product occurs first in time
4) difference in time between stop of one product and start of another
5) does one product overlap another in time
6) how far away is one scene center from another
Reply | Threaded
Open this post in threaded view
|

Re: catalog/control/EditProduct Product Type Dropdown menu

Jacques Le Roux
Administrator
Your questions are a bit specific, have you read
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Related+Books#OFBizRelatedBooks-"TheDataModelResourceBook,RevisedEdition,Volumes1&2 ?

At least the 1st volume.

Jacques

De : "michael j" <[hidden email]>

>
> Hi all
>
> **Ofbiz newby alert**
>
> First question: I have created a bunch of product types with attributes for
> each different class of product that I need to show. Each product type has a
> different set of attributes. Now I want to create products of those types
> that I just defined to populate my catalog but when I go to do that using
> catalog/control/EditProduct on that form I see a dropdown menu for Product
> Type and yet I don't find the types that I created. Is this the expected
> behavior? All the product types from the seed data are there but how do I
> get the ones that I created to show? Is this another step?
>
> Another question: when creating attributes are they all created as a string
> data type? Is there a way to specify the data type of the attribute being
> created? Is the solution for this a separate table for the product type? My
> products are digital files of satellite images which all have start and stop
> times and geographical coordinates associated with them and if I represent
> them as the correct data type then I will be able to write useful automation
> scripts to do time and geography based operations particular to my data such
> as:
>
> 1) how long is the data of a product in seconds from start to stop
> 2) use length of data in product to calculate bytes to estimate delivery
> time by ftp
> 3) which product occurs first in time
> 4) difference in time between stop of one product and start of another
> 5) does one product overlap another in time
> 6) how far away is one scene center from another
> --
> View this message in context:
http://www.nabble.com/catalog-control-EditProduct-Product-Type-Dropdown-menu-tf4753701.html#a13593477
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>