Announcement

Collapse
No announcement yet.

display quantity in stock on listing page?

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

  • display quantity in stock on listing page?

    Does anyone know how to modify product listing page(s) to display quantity on hand, either in addition to or instead of Availability? I know it's the Stock field, but can't seem to figure out the code.

    Thanks!
    Sue

  • #2
    In Settings > Design > Store Language, there is a setting called "Availability-Instock". Search the page for that setting and then change the text in that field to say

    [stock] In Stock

    That will make your stock status display like this:

    5 In Stock (or however many you have in stock for that item)

    Comment


    • #3
      Super! Just what I needed, and way easier than I was making it! Thanks!

      Comment


      • #4
        Hi - one more thing you will need to do for this to work properly. The code [stock] In Stock will display just like that on the search results page unless you also edit the search.html template. You will need to replace the [availability] tag with [stock] In Stock to correct this.
        Laura Z
        Brass & Silver Traditions
        www.brassandsilvertraditions.com

        Comment


        • #5
          Oh, good catch - I would have totally missed that! Thanks!

          Comment


          • #6
            brassandsilver, thanks for that info. I had seen the issue with the search results, but as a newbie just now building my store, hadn't yet figured out how to fix it. Now I've got it good to go! :)

            Comment


            • #7
              Is there something that will work to show the amount in stock if you are using advanced options? We sell shoes so on our products we have dropdown showing available sizes. How can I add how many in stock for each size?

              Comment


              • #8
                I wish they had it available too, but from what I have read here in the forums, that's not currently a feature of the store. I've put a Feature Request in at http://3dcart.uservoice.com (their new Feature Request service) so go vote for it if you want to see that added to the new release!

                Here's the direct link to that feature request:
                http://3dcart.uservoice.com/forums/7...ge-f?ref=title

                Comment


                • #9
                  Thanks I voted! This would be a great feature!

                  Comment

                  Working...
                  X