No announcement yet.

Sub Category Product count variable

  • Filter
  • Time
  • Show
Clear All
new posts

    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]

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


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

      <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: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