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 2 of 2

Thread: Hide Variants

  1. #1
    cjbarth is offline Senior Member
    Join Date
    Oct 2008
    Posts
    392

    Default Hide Variants

    Some variants of products on our site can't be added to cart for various reasons. How do I prevent individual items from being added to a cart? I still have a quote button available to the users, so the product still needs to show.
    ML9.3.1.1
    SQL 2012 Express
    VS 2010
    Azure VM

  2. #2
    cjbarth is offline Senior Member
    Join Date
    Oct 2008
    Posts
    392

    Default

    Since there doesn't seem to be a way I edited the XML file to hid the buy button for anything that has an inventory of 0. I would suggest adding a field to the Variant page that allows it to be individually specified as being for sale like on the main product page.
    ML9.3.1.1
    SQL 2012 Express
    VS 2010
    Azure VM