ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Hamanov <bsh...@gmail.com>
Subject Re: This item is out of stock with variant products
Date Tue, 04 Sep 2012 12:56:51 GMT
Thanks Praveen,

This does not work. Choosing STANDARD FEATURE creates additional error:
[java] 2012-09-04 15:35:28,049 (http-0.0.0.0-8080-1) [    ProductServices.j
ava:170:WARN ] Problem reading product features. for product HUSA-1000-A

requireInventory = 'N' also did not make any difference.

I found out that those does not exists in productdetail.ftl

product.virtualVariantMethodEnum
featureLists
variantTree

and that leads program flow to the point where out of stock message is
displayed

I will check where are those initialized.

I am using ofbiz 09.04.02 if that helps?

On Tue, Sep 4, 2012 at 3:02 PM, Praveen Agarwal
<praveenagrawal18@gmail.com>wrote:

> Hi Boris,
>
> 1) check the 'requireInventory' field for Virtual Product in Product
> Entity. This should be set as 'N' if you are not using Inventory.
>
> 2) Make the ProductFeatureAppl  entry for Variant Products also setting the
> productFeatureApplTypeId = 'STANDARD_FEATURE'.
>
> Thanks,
> Praveen Agrawal
>
>
> On Tue, Sep 4, 2012 at 5:16 PM, Boris Hamanov <bsh666@gmail.com> wrote:
>
> > Hi guys,
> >
> > My setup is like this (taken form DemoData)
> >
> > <Product productId="GZ-1006" productTypeId="FINISHED_GOOD"
> > primaryProductCategoryId="102" productName="Open Gizmo"
> internalName="Open
> > Gizmo" description="Gizmo based on open standards"
> longDescription="Highest
> > quality gizmo around." taxable="Y" chargeShipping="Y"
> > autoCreateKeywords="Y" isVirtual="Y" isVariant="N"
> createdDate="2001-05-13
> > 12:00:00.0" createdByUserLogin="admin" lastModifiedDate="2001-05-13
> > 12:00:00.0" lastModifiedByUserLogin="admin"/>
> > <Product productId="GZ-1006-1" productTypeId="FINISHED_GOOD"
> > primaryProductCategoryId="102" productName="Open Gizmo (LGPL)"
> > internalName="Open Gizmo (LGPL)" description="Gizmo based on open
> > standards" longDescription="Highest quality gizmo around." taxable="Y"
> > chargeShipping="Y" autoCreateKeywords="Y" isVirtual="N" isVariant="Y"
> > createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin"
> > lastModifiedDate="2001-05-13 12:00:00.0"
> lastModifiedByUserLogin="admin"/>
> > <Product productId="GZ-1006-2" productTypeId="FINISHED_GOOD"
> > primaryProductCategoryId="102" productName="Open Gizmo (GPL)"
> > internalName="Open Gizmo (GPL)" description="Gizmo based on open
> standards"
> > longDescription="Highest quality gizmo around." taxable="Y"
> > chargeShipping="Y" autoCreateKeywords="Y" isVirtual="N" isVariant="Y"
> > createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin"
> > lastModifiedDate="2001-05-13 12:00:00.0"
> lastModifiedByUserLogin="admin"/>
> >
> >
> >     <ProductAssoc fromDate="2001-05-13 12:00:00.0"
> > productAssocTypeId="PRODUCT_VARIANT" productId="GZ-1006"
> >         productIdTo="GZ-1006-1" quantity="1.0" reason=""/>
> >     <ProductAssoc fromDate="2001-05-13 12:00:00.0"
> > productAssocTypeId="PRODUCT_VARIANT" productId="GZ-1006"
> >         productIdTo="GZ-1006-2" quantity="1.0" reason=""/>
> >
> >     <ProductFeature productFeatureId="8000"
> productFeatureCategoryId="8000"
> > productFeatureTypeId="LICENSE" description="LGPL"/>
> >     <ProductFeature productFeatureId="8001"
> productFeatureCategoryId="8000"
> > productFeatureTypeId="LICENSE" description="GPL"/>
> >
> >     <ProductFeatureAppl productId="GZ-1006" productFeatureId="8000"
> >         productFeatureApplTypeId="SELECTABLE_FEATURE"
> fromDate="2001-05-13
> > 12:00:00.0" sequenceNum="1"/>
> >     <ProductFeatureAppl productId="GZ-1006" productFeatureId="8001"
> >         productFeatureApplTypeId="SELECTABLE_FEATURE"
> fromDate="2001-05-13
> > 12:00:00.0" sequenceNum="2"/>
> >
> >
> > I get the main(base / virtual) product page, but it says: *This item is
> out
> > of stock* and I don't see any variants listed to choose from.
> > Maybe this has something to do with my store, I don't use inventory in
> it.
> > I don't have any such trouble with my normal products. Is there
> something I
> > am missing here?
> >
> > Kind Regards,
> > Boris
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message