Announcement

Collapse
No announcement yet.

Sub Category Product count variable

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

    #16
    Originally posted by Mark Stephens View Post
    Hey Leslie, yeah still here. But regretfully I don't remember how this played out for us. If we ever did get it working we've since abandoned it. Sorry I don't have a better answer for you.
    No worries, it was worth a shot. Many thanks!
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    Comment


      #17
      Not sure if this is what you are looking for, but couldn't you use this inside the <foreach>?

      Code:
      <mvt:do name="g.doit" file="g.Module_Library_DB" value="Category_Load_Code( 'category_code', l.settings:current_category )" />
      <mvt:do name="g.numberOfProducts" file="g.Module_Library_DB" value="Runtime_ProductList_Load_Offset_Category( l.settings:current_category:id, g.Offset, 100, g.NextOffset, l.settings:products )" />
      
      &mvt:global:numberOfProducts;
      <mvt:assign name="g.numberOfProducts" value="''" />
      note: you'll need to check the input variables...this is just copied from my 'snippets' library.
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment

      Working...
      X