ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Agarwal <praveenagrawa...@gmail.com>
Subject Re: This item is out of stock with variant products
Date Tue, 04 Sep 2012 12:02:39 GMT
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