Display Products Category in Basket?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MusicMan
    Mivite

    • Feb 2009
    • 101

    #1

    Display Products Category in Basket?

    Is there a way to display the category code/name a product is assigned to in the basket (without using tool kit)?
    Or even the canonical category?

    Thanks in advance!
    David Limon
    E-Commerce Signal

    [email protected]
    http://www.ecommercesignal.com
    http://www.davidlimon.com
  • Brennan
    Super Moderator









    • Jun 2009
    • 3481

    #2
    Re: Display Products Category in Basket?

    Here is how you would pull all products a category is assigned to:

    Code:
    <mvt:do name="l.result" file="g.Module_Library_DB" value="CategoryList_Load_Offset_Product_Assigned(l.settings:item:id,0,'','',0,l.null, g.assigned_categories )" /> 
    
    
    <mvt:foreach iterator="category" array="global:assigned_categories">
    
    
    	&mvt:category:active;<br>
            &mvt:category:code;<br>
    	&mvt:category:id;<br>
    	&mvt:category:name;<br>
    	
    </mvt:foreach>
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment

    Working...
    X