Category Discount Description

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


    • Mar 2006
    • 296

    #1

    Category Discount Description

    Is the discount description not available on the cat page? I can not get this to display &mvt:discount:descrip;
  • Matt Zimmermann
    Mega Mivite










    • Apr 2008
    • 2482

    #2
    By default, the category product listing loop does not contain the discounts loop. Have you added that or are you only including "&mvt:discount:descrip;"?
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment

    • greggc
      Mivite


      • Mar 2006
      • 296

      #3
      Matt,
      I am only including "&mvt:discount:descrip;"

      Comment

      • Matt Zimmermann
        Mega Mivite










        • Apr 2008
        • 2482

        #4
        In that case, you will probably want to include something like this within the "figcaption" element on the category page:

        Code:
        <mvt:foreach iterator="discount" array="product:discounts">
        <mvt:if expr="l.settings:discount:display">
        <p>&mvt:discount:descrip;: <strong>&mvt:discount:formatted_discount;</strong></p>
        </mvt:if>
        </mvt:foreach>
        Matt Zimmermann

        Miva Web Developer
        Alchemy Web Development
        https://www.alchemywebdev.com
        Site Development - Maintenance - Consultation

        Miva Certified Developer
        Miva Professional Developer

        https://www.dev4web.net | Twitter

        Comment

        • greggc
          Mivite


          • Mar 2006
          • 296

          #5
          Thanks, Matt.

          Comment

          Working...
          X