Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F130D940 for ; Tue, 4 Sep 2012 12:57:20 +0000 (UTC) Received: (qmail 40165 invoked by uid 500); 4 Sep 2012 12:57:19 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 40141 invoked by uid 500); 4 Sep 2012 12:57:19 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 40132 invoked by uid 99); 4 Sep 2012 12:57:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 12:57:19 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bsh666@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 12:57:13 +0000 Received: by iabz21 with SMTP id z21so10040289iab.31 for ; Tue, 04 Sep 2012 05:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=chNofgbYYVIdESVFpwGjVMEzk8evgqbL6QNEb8yKXRU=; b=EUlNbb/4NK8PXnzf4RH7faYw02tnN/nSGexl4N1YNOAzRb6uneqo74qgV5CHwBaPph CdARjiUYu2rW6DeTHL/mMiP2PaD6pnJ5wpWXUZE//43zNhLnPzjbQJlF2U++q8QN8yfs XsuGPs1dEO8uwGwrQBoOodMoFhwArNPQSb9hOtp936LBUpRhIcIq1I+GyOLU64anRKKF LtCzsfTc0bviCu/p0HNVUlYQqNgznX457vXMIsi4+8bRB2/c+M8R8xxJw+Rn20ySLzzY 4Yb0UsqA5p6S+NuUGV3FNAPMxoIUzDtF+NsB+JuWQ9yh3NUvjPvpTbbsECvMjx+wqiTZ yDnw== MIME-Version: 1.0 Received: by 10.60.25.131 with SMTP id c3mr16345557oeg.50.1346763412514; Tue, 04 Sep 2012 05:56:52 -0700 (PDT) Received: by 10.182.60.198 with HTTP; Tue, 4 Sep 2012 05:56:51 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 Sep 2012 15:56:51 +0300 Message-ID: Subject: Re: This item is out of stock with variant products From: Boris Hamanov To: user@ofbiz.apache.org Content-Type: multipart/alternative; boundary=e89a8fb206bacca69304c8dfca84 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb206bacca69304c8dfca84 Content-Type: text/plain; charset=ISO-8859-1 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 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 wrote: > > > Hi guys, > > > > My setup is like this (taken form DemoData) > > > > > 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"/> > > > 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"/> > > > 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"/> > > > > > > > productAssocTypeId="PRODUCT_VARIANT" productId="GZ-1006" > > productIdTo="GZ-1006-1" quantity="1.0" reason=""/> > > > productAssocTypeId="PRODUCT_VARIANT" productId="GZ-1006" > > productIdTo="GZ-1006-2" quantity="1.0" reason=""/> > > > > productFeatureCategoryId="8000" > > productFeatureTypeId="LICENSE" description="LGPL"/> > > productFeatureCategoryId="8000" > > productFeatureTypeId="LICENSE" description="GPL"/> > > > > > productFeatureApplTypeId="SELECTABLE_FEATURE" > fromDate="2001-05-13 > > 12:00:00.0" sequenceNum="1"/> > > > 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 > > > --e89a8fb206bacca69304c8dfca84--