Announcement

Collapse
No announcement yet.

Showing out of stock on below thumbnail

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

    Showing out of stock on below thumbnail

    Hi all,

    Can someone help. We are now selling baby shoes as well as baby gifts. I have created a new site call Snuggle Feet. I'm displaying the products in thumbnail images, when you like on a thumbnail it then goes to the main product. See here http://www.snugglefeet.com/shoes-for...12-months.html


    I've created the thumbnails the old fashion Actinic way by creating loads of sub-sections and then droping the main products into the sub-sections.

    My problem is that I would like to show shoes that are out of stock below the thumbnail image. Is their anyway of doing this?
    Regards,

    Les


    Abc Baby Gifts
    Snuggle Feet
    Baby Casting From My Perfect Impression

    #2
    It's been a week. Any ideas anyone? Thanks.
    Regards,

    Les


    Abc Baby Gifts
    Snuggle Feet
    Baby Casting From My Perfect Impression

    Comment


      #3
      Does actinic decide whether out of stock or you doing it manually?

      Comment


        #4
        This might work.

        Add the following below the code calling the thumbnail

        Code:
        <actinic:block type="ProductList" >
        <b>Estimated Available Stock</b>: <span style="color:#f00"><actinic:variable name="StockLevel" /></span><br />
        </actinic:block>
        "Opportunities multiply as they are seized." - Sun Tzu

        Comment


          #5
          Hi,

          The above code works great. Thanks alot!!!

          See it working here...

          http://www.snugglefeet.com/shoes-for...12-months.html

          How do I change the code so it shows 'Out of stock' when the stock level is 0? instead of showing all the stock level numbers.
          Regards,

          Les


          Abc Baby Gifts
          Snuggle Feet
          Baby Casting From My Perfect Impression

          Comment


            #6
            Just wrap the "Out of Stock" text you want displaying in a block if with the condition StockLevel <=0 (obviously don't type in full, use the variable for StockLevel)
            It should then only display if an item has 0 or less stock level (she says, optimistically LOL)

            or use the IsInStock ==False? I'm less sure about that one. blockifs aren't my forte lol
            Tracey

            Comment


              #7
              Stupid question but, are you sure that the product you are testing this on is actually marked as fully out of stock.

              Not related but on the left column a piece of code which shows a small white line under the credit card logos.
              Peblaco

              Comment


                #8
                Originally posted by peblaco
                which shows a small white line under the credit card logos
                Sort of makes it look like a picket line poster. Half expect to see some babies walking in circles chanting all sorts of profanities
                "Opportunities multiply as they are seized." - Sun Tzu

                Comment


                  #9
                  Thank you all for your replies.

                  Just had a look in Firefox and you are right, will sort out later.

                  Can anyone give me the right code for showing 'out of stock' below the thumbnails.

                  I need to read up on conditions and variables, but running the business is hard enough at the moment. We are very very busy!

                  I've tried this...

                  HTML Code:
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e" >
                              <br /><br /><strong><actinic:variable name="OutOfStock" /></strong>         </actinic:block>
                  But it didn't work.

                  Can you help.
                  Regards,

                  Les


                  Abc Baby Gifts
                  Snuggle Feet
                  Baby Casting From My Perfect Impression

                  Comment


                    #10
                    I was missing a block. The code works now. Good Fun

                    I'm no expert but here's a wild stab at the block if's Tracey mentioned above.

                    Replace the code I gave you previously with this:
                    Code:
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22StockLevel%22%20%2f%3e%20%20%3e%200">
                    <actinic:block type="ProductList" >
                    <b>Estimated Available Stock</b>: <span style="color:#f00"><actinic:variable name="StockLevel" /></span><br />
                    </actinic:block>
                    </actinic:block>
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22StockLevel%22%20%2f%3e%20%20%3c%3d%200">
                    	<b>Out of Stock</b><br />
                    </actinic:block>
                    "Opportunities multiply as they are seized." - Sun Tzu

                    Comment


                      #11
                      Originally posted by lessharma
                      HTML Code:
                      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e" ><br /><br /><strong><actinic:variable name="OutOfStock" /></strong></actinic:block>
                      But it didn't work.
                      Didn't work for me either. All I got was a line break.
                      "Opportunities multiply as they are seized." - Sun Tzu

                      Comment


                        #12
                        Originally posted by peblaco
                        Stupid question but, are you sure that the product you are testing this on is actually marked as fully out of stock.
                        Thanks for your reply. Yes item is 'out of stock'.

                        The only code that works well is the first code from Jsnow. Shows the stock level in numbers. But all I want is to show the items out of stock.

                        Anymore ideas?
                        Regards,

                        Les


                        Abc Baby Gifts
                        Snuggle Feet
                        Baby Casting From My Perfect Impression

                        Comment


                          #13
                          Whatever template put in Actinic is putting it in twice.
                          Peblaco

                          Comment


                            #14
                            Originally posted by lessharma
                            But all I want is to show the items out of stock.
                            Remove the first block from the second bit of code I posted so that all you see is this:

                            Code:
                            <actinic:block if="%3cactinic%3avariable%20name%3d%22StockLevel%22%20%2f%3e%20%20%3c%3d%200">
                            	<span><b>Out of Stock</b></span><br />
                            </actinic:block>
                            This block checks whether your stock is less than or equal to 0. If so, display "Out of Stock".

                            Works a charm for me.
                            "Opportunities multiply as they are seized." - Sun Tzu

                            Comment


                              #15
                              Originally posted by peblaco
                              Actinic is putting it in twice
                              I couldn't begin to think even if I wanted to

                              It's a Friday so that's it, fullstop.
                              "Opportunities multiply as they are seized." - Sun Tzu

                              Comment

                              Working...
                              X