Hi all,
can anyone tell me how I can associate a file with a digital product? As far as I understood a customer can download the digital product after the buying process - but I don't know how I can define the file that "is the product". Thanx in advance! Cheers Alexander |
Administrator
|
At least
http://markmail.org/message/x6nqqtijoshth3re http://markmail.org/message/isj5k62mlvdjbhf5 Jacques From: "Alexander" <[hidden email]> > Hi all, > > can anyone tell me how I can associate a file with a digital product? > As far as I understood a customer can download the digital product > after the buying process - but I don't know how I can define the file > that "is the product". > > Thanx in advance! > > Cheers > Alexander > |
In reply to this post by Alexander1893
Hi Alexander:
One way to do this: Use the Content Manager application to create a "Data Resource" for each file. OFBiz "Data Resources" are similar to "meta-data" descriptions for files or other electronic media used by OFBiz. Use the Content Manager application to create a "Content" record for each file. Content records point to "Data Resources." Use the Catalog Manager application to create a "Product" for each file. Create a product from each "Content" artifact created above. If you want more information about how to use the Catalog Manager, please consider purchasing my new book: "Getting Started w/Apache OFBiz The Catalog Manager". See: http://www.myofbiz.com for more specifics. Regards, Ruth Hoffman Author, Mentor & OFBiz Enthusiast Alexander wrote: > Hi all, > > can anyone tell me how I can associate a file with a digital product? > As far as I understood a customer can download the digital product > after the buying process - but I don't know how I can define the file > that "is the product". > > Thanx in advance! > > Cheers > Alexander > |
In reply to this post by Alexander1893
Go Product -> Product Content
Select Digital Download and click on Prepare Create Here's an example product: https://demo.ofbiz.org/catalog/control/EditProductContent?productId=GZ-DIG Regards Scott HotWax Media http://www.hotwaxmedia.com On 9/10/2009, at 4:18 AM, Alexander wrote: > Hi all, > > can anyone tell me how I can associate a file with a digital product? > As far as I understood a customer can download the digital product > after the buying process - but I don't know how I can define the > file that "is the product". > > Thanx in advance! > > Cheers > Alexander smime.p7s (3K) Download Attachment |
Hi Scott,
thanx for your reply. I also have the "digital gizmo" in my system. But I have the following problems: > If I order the gizmo as a customer, I get no possibility the > download the file (it ist not shown in my customer-account for > downloading) > In the backoffice I don't know where I can see the file associated > with the gizmo... Shouldn't it appear under "List Associated Content > infos" on the content-detail-page? > If I upload a file (under content) to my own digital product I get > the message that the upload was succesfull - but I can't sse the > file in the backend and I get no possibilty to download it after > purchasing it as a customer in the frontend... > I looked at the link you sent me - it all looks the same there perhaps I didn't understand the whole thing... thanx for further help best regards alexander Zitat von Scott Gray <[hidden email]>: > Go Product -> Product Content > Select Digital Download and click on Prepare Create > > Here's an example product: > https://demo.ofbiz.org/catalog/control/EditProductContent?productId=GZ-DIG > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 9/10/2009, at 4:18 AM, Alexander wrote: > >> Hi all, >> >> can anyone tell me how I can associate a file with a digital product? >> As far as I understood a customer can download the digital product >> after the buying process - but I don't know how I can define the >> file that "is the product". >> >> Thanx in advance! >> >> Cheers >> Alexander |
In reply to this post by Alexander1893
Hi all,
I now found that there's some problem saving the content to the database: ---- exception report ---------------------------------------------------------- =-=-=-=-=-=-=-=-= Database type warning GenericEntity.set =-=-=-=-=-=-=-=-= In e ntity field [ProductContent.fromDate] set the value passed in [java.lang.String] is not compatible with the Java type of the field [java.sql.Timestamp] Exception: java.lang.Exception Message: Location of database type warning ---- stack trace ---------------------------------------------------------------
|
In reply to this post by Alexander1893
just parameter(fromDate) type is need to cast to Timestamp
With regards, S K Pradeep kumar, On Sun, Oct 11, 2009 at 6:55 PM, Alexander1893 < [hidden email]> wrote: > > Hi all, > > I now found that there's some problem saving the content to the database: > > ---- exception report > ---------------------------------------------------------- > > =-=-=-=-=-=-=-=-= Database type warning GenericEntity.set =-=-=-=-=-=-=-=-= > In e > ntity field [ProductContent.fromDate] set the value passed in > [java.lang.String] > is not compatible with the Java type of the field [java.sql.Timestamp] > Exception: java.lang.Exception > Message: Location of database type warning > ---- stack trace > --------------------------------------------------------------- > > > Alexander1893 wrote: > > > > > > Can anyone help? > > > > Thanks and kind regards > > Alexander > > > > > > Hi all, > > > > can anyone tell me how I can associate a file with a digital product? > > As far as I understood a customer can download the digital product > > after the buying process - but I don't know how I can define the file > > that "is the product". > > > > Thanx in advance! > > > > Cheers > > Alexander > > > > > > -- > View this message in context: > http://www.nabble.com/Digital-Products-tp25809620p25843429.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
Hi,
thanks for the reply - but actually I'm not too sure I understood it right. I'm using that normal functionality in the catalog-manager: picking a from-Date with the date-selector and I get the error... Shouldn't this work with the standard? Thanks & Best regards Alexander
|
Hi Alexander:
I will repeat some instructions I posted before: One way to do this: Use the Content Manager application to create a "Data Resource" for each file. OFBiz "Data Resources" are similar to "meta-data" descriptions for files or other electronic media used by OFBiz. Use the Content Manager application to create a "Content" record for each file. Content records point to "Data Resources." Use the Catalog Manager application to create a "Product" for each file that is associated with the "Content" record created above. Using the "Prepare Content" link as suggested before has not worked for me in the past. Perhaps it has been fixed. I haven't had time to check, however I just tried using it to add a file to an existing PRODUCT and was not successful. If you want more information about how to use the Catalog Manager, please consider purchasing my new book: "Getting Started w/Apache OFBiz The Catalog Manager". See: http://www.myofbiz.com for more specifics. Regards, Ruth Alexander1893 wrote: > Hi, > thanks for the reply - but actually I'm not too sure I understood it right. > I'm using that normal functionality in the catalog-manager: picking a > from-Date with the date-selector and I get the error... > > Shouldn't this work with the standard? > > Thanks & Best regards > Alexander > > > > S K Pradeep kumar wrote: > >> just parameter(fromDate) type is need to cast to Timestamp >> With regards, >> S K Pradeep kumar, >> >> >> >> On Sun, Oct 11, 2009 at 6:55 PM, Alexander1893 < >> [hidden email]> wrote: >> >> >>> Hi all, >>> >>> I now found that there's some problem saving the content to the database: >>> >>> ---- exception report >>> ---------------------------------------------------------- >>> >>> =-=-=-=-=-=-=-=-= Database type warning GenericEntity.set >>> =-=-=-=-=-=-=-=-= >>> In e >>> ntity field [ProductContent.fromDate] set the value passed in >>> [java.lang.String] >>> is not compatible with the Java type of the field [java.sql.Timestamp] >>> Exception: java.lang.Exception >>> Message: Location of database type warning >>> ---- stack trace >>> --------------------------------------------------------------- >>> >>> >>> Alexander1893 wrote: >>> >>>> Can anyone help? >>>> >>>> Thanks and kind regards >>>> Alexander >>>> >>>> >>>> Hi all, >>>> >>>> can anyone tell me how I can associate a file with a digital product? >>>> As far as I understood a customer can download the digital product >>>> after the buying process - but I don't know how I can define the file >>>> that "is the product". >>>> >>>> Thanx in advance! >>>> >>>> Cheers >>>> Alexander >>>> >>>> >>>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Digital-Products-tp25809620p25843429.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >>> >>> >> > > |
Hi Ruth,
thanks for your reply! I will try the desribed steps. But actually I'm really confused... > There's a link in the Back-Office on a Product-Detail-Page saying "Content" > There I can add content with the type "digital download". >> But obviously this does nothing ?!? >> Even the "digital gizmo" in the demo application does not offer a download after ordering in the frontend... (and that's in the demo application) Perhaps I'm too stupid - but shouldn't I get a download-Link in the order history in the front-end after ordering a digital gizmo??? Otherwise I cannot see the sense of the content-type "digital-download"... could PLEASE anyone explain what I'm doing wrong? Thanx Alexander
|
Free forum by Nabble | Edit this page |