Announcement

Collapse
No announcement yet.

Allow ordering of 0 stock products?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Allow ordering of 0 stock products?

    Hi,

    I want to use stock monitoring, but allow people to order even if there is no current stock. i.e. automatically put up an out of stock message, like it does, but together with a stock due date and allow customers to order.

    Is this possible?

    Thanks,

    Steve

    #2
    Any ideas for this are welcome, haven't been able to work out an ideal way to do it. What do you do with pre ordering situations like this?

    Steve

    Comment


      #3
      Hi there

      In order to fix this, you need to edit the condition that controlls whether the add to cart button is shown or not.

      To do this, go to 'Design | Library | Conditions' and expand the 'Product Group'. The fourth one in the list is called 'IsAddToCartButtonShown'. Edit this.

      Remove the following part of the condition...

      AND (IsInStock == TRUE)

      Comment


        #4
        Thanks for the reply. Not working though. The add to cart button shows but when I add to cart I get an out of stock error message. What else do I have to change?

        Thanks,

        Steve

        Comment


          #5
          What I would so is to put the condition back the way it was and then just include a custom stock message into the product layout such as:

          Code:
          <actinic:block if="%3cactinic%3avariable%20name%3d%22StockLevel%22%20%2f%3e%20%3c%3d%205">
            <p>OUT OF STOCK</p>
          </actinic:block>
          This will just appear if the stock level gets low. You can then change the 'Suspend If Below' level of the product to something like '-99999' to ensure that the product is never marked as being out of stock properly.

          Comment


            #6
            Excellent.. Seems to work perfectly. Didn't think you would be able to put a negative number in there, very handy.. Just one improvement so it works for products that are not stock monitored too.
            Code:
            <actinic:block if="%3cactinic%3avariable%20name%3d%22StockLevel%22%20%2f%3e%20%3c%3d%200%20AND%20%3cactinic%3avariable%20name%3d%22IsStockMonitored%22%20%2f%3e" >
            <p>OUT OF STOCK</p>
            </actinic:block>
            Thanks,

            Steve

            Comment


              #7
              I was doing this differently. I had a custom property 'stock date' set up for each product. If the stock date was not empty, an out of stock message was shown.

              I think I may have found a bug with the csv import though. Updating the dates worked, however if I removed a date and did a csv update, current stock date values were not removed.

              Steve

              Comment


                #8
                This is all going over my head a little but would it be possible to add a field (if so how?) to the product info for expected date for item to be in stock and then within the product layout have it show that the item is out of stock and display the due in stock date and allow pre-ordering of the product?

                Comment


                  #9
                  It is possible Adrian, but you will need to understand about setting up and placing variables. Read the inline help on variables, it's very helpful and should get you on your way.

                  Comment

                  Working...
                  X