Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: product will not display if default variant is sold out?

  1. #1
    ohmydude_ML is offline Member
    Join Date
    Feb 2007
    Posts
    75

    Default product will not display if default variant is sold out?

    hi,
    having a issue with the default variant being out of stock causing category view "results" to not display the product at all, even if other variants (that are not default) are in stock.

    so for example,
    we have sizes set as variants, so for example:

    product: raiders shirt
    variant1: MED (default variant - stock 0)
    variant2: LARGE ( in stock 2)
    variant3: XL (in stock 2)

    when we view the category page search results on the front end, if variant 1 is sold out, nothing displays! and hence, our stock sits on the shelves! (FYI we're using entity.gridwithprices.xml.config)

    this is a big deal, because it means that when 1 size is sold out, nothing gets displayed even though other variants are in stock! is there any way to turn this behavior off so that the in stock variants get the main product to show up in the CATEGORY results?

    this does not appear to happen with general "search box" searches.

    looked all over manual/app configs/ and board and could not find anyone else with this problem.

    thanks!

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    That is the standard behavior if you have HideProductsWithLessThanThisInventoryLevel set. That's because the default variant's information is used all over the place on the site - the search page, shopping cart page, entity pages, etc. You don't want to have customers see one thing (say a price on the search page) then click the product and find something different entirely because that variant is actually sold out and is hidden.

  3. #3
    ripyard is offline Junior Member
    Join Date
    May 2010
    Posts
    9

    Default

    I have the same issue, did you ever find a word around for this?

  4. #4
    ripyard is offline Junior Member
    Join Date
    May 2010
    Posts
    9

    Default

    I have the same issue, did you ever find a work around for this?

  5. #5
    Vegarari is offline Member
    Join Date
    Nov 2006
    Posts
    35

    Unhappy

    We are having a similar problem while testing a 7.x ML to 9.x ML upgrade...

    Upsell items do not show on product pages if the inventory is 0 or less.
    These AppConfigs have no affect;
    Inventory.LimitCartToQuantityOnHand (= false)
    HideProductsWithLessThanThisInventoryLevel (= false)

  6. #6
    Alkaline is offline Senior Member
    Join Date
    May 2006
    Posts
    459

    Default

    Modify some stored procedures such as the getproducts and xml packages and you can fix this. We have 5 websites selling vitamins / clothes e.t.c. that display products if ANY variant is in stock, but informs the customer which of the variants are available.
    Simrun AspDotNetStoreFront Development
    Preferred AspDotnetStorefront Development Partner
    ahsan[@]simrun[.]com
    remove the "[]" for email

    Have a Nice Day