Announcement

Collapse
No announcement yet.

Number of items in a Section

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

    Number of items in a Section

    Been a while since I've worked on one of my client Actinic/SellerDeck sites and I've been trying to find a way to include the number of items (sub sections) within a section range.

    So when we have the section menu, we would have something like Pens (48) | Clocks (12) etc.

    Can this be done?

    Thanks, Richard
    Web . Design . Multimedia . Branding

    #2
    Code:
    <actinic:block type="ChildSectionList" >
    	<actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%201">
    		(<actinic:variable name="ListCount" />)
    	</actinic:block>
    </actinic:block>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Okay, that's exactly what I asked, thanks Norman. But looking at it now, think we actually need to know the total number of products within any section, rather than number of child sections. Is there a variable for that? Can't seem to find one.
      Web . Design . Multimedia . Branding

      Comment


        #4
        Try replacing ChildSectionList in the above with ProductList.

        If you're then about to ask how can I count all products within the sub-section and their child, sections, etc; that's a lot more complex and is already somewhere on the Community. Searching should find it.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          See http://community.sellerdeck.com/showthread.php?t=27615 for a rather long discussion.

          There will undoubtedly be other threads.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            See what you mean! Thanks, I'll take a look.
            Web . Design . Multimedia . Branding

            Comment


              #7
              Perhaps they're going to announce this in V12???
              Elysium:Online - Official Accredited SellerDeck Partner
              SellerDeck Design, Build, Hosting & Promotion
              Based in rural Northants

              Comment


                #8
                Does anyone know if this has been added in V12?

                If not I'm going to have try and implement this and it looks a bit messy!
                Web . Design . Multimedia . Branding

                Comment

                Working...
                X