Announcement

Collapse
No announcement yet.

pagination

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

    pagination

    My levels ready theme store shows 16 products per page. The drop down menu shows 12, 24 or view all. Where do I change it to show 12 products per page instead of 16 products per page.

    Thank you,
    Donna
    Donna Bunnell
    Treasures of the Southwest
    www.treasuresofthesouthwest.com

    #2
    Hi Donna,

    On your category page, you can set the number of products to show per page.
    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


      #3
      Hi Matt,

      Here is the code from the ready theme and i do not see a place to change the 16 products to 12 products.

      Thank you for your help.
      Donna


      <div class="row filter-items-container">
      <nav class="column half medium-one-fifth large-one-fifth per-page np">
      <mvt:if expr="l.settings:category_listing:products_on_page _count GT 1">
      <form method="post" action="&mvte:urls:_self:auto;" class="nm">
      <input type="hidden" name="Search" value="&mvte:global:Search;">
      <input type="hidden" name="Sort_By" value="&mvte:global:Sort_By;">
      <!-- <label for="l-per-page" class="medium uppercase">Per Page</label> -->
      <select name="Per_Page" id="l-per-page" class="input-medium" onChange="this.form.submit();">
      <option <mvt:if expr="g.Per_Page EQ 12">selected</mvt:if> value="12">12 items/page</option>
      <option <mvt:if expr="g.Per_Page EQ 24">selected</mvt:if> value="24">24 items/page</option>
      <option <mvt:if expr="g.Per_Page EQ -1">selected</mvt:if> value="-1">View All</option>
      </select>
      <noscript><button>Go</button></noscript>









      Donna Bunnell
      Treasures of the Southwest
      www.treasuresofthesouthwest.com

      Comment


        #4
        Hi Donna,

        The change you are looking for is not in the code, it is right below that on the page in the admin next to Pagination.
        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


          #5
          Sorry I do not see anything that says pagination. This is what is underneath the first code I sent.

          Thank you,
          Donna


          <div class="column half medium-one-fifth large-one-fifth sorting np">
          <mvt:if expr="l.settings:category_listing:products_on_page _count GT 1">
          <form method="post" action="&mvte:urls:_self:auto;" class="nm">
          <input type="hidden" name="Search" value="&mvte:global:Search;">
          <input type="hidden" name="Per_Page" value="&mvte:global:Per_Page;">
          <!-- <label for="l-sort-by" class="medium uppercase">Sort By</label> -->
          <select name="Sort_By" id="l-sort-by" class="input-medium" onChange="this.form.submit();">
          <mvt:if expr="ISNULL g.Sort_By">
          <option value="disp_order" selected="selected">Sort By&hellip;</option>
          <mvt:else>
          <option value="disp_order">Sort By&hellip;</option>

          </mvt:if>
          <mvt:if expr="g.Sort_By EQ 'price_asc'">
          <option value="price_asc" selected="selected">Lowest Price</option>
          <mvt:else>
          <option value="price_asc">Lowest Price</option>
          </mvt:if>
          <mvt:if expr="g.Sort_By EQ 'price_desc'">
          <option value="price_desc" selected="selected">Highest Price</option>
          <mvt:else>
          <option value="price_desc">Highest Price</option>

          </mvt:if>
          </select>
          <noscript><button>Go</button></noscript>
          </form>
          <!-- end sorting -->
          </mvt:if>
          </div>

          <div class="column hide medium-show medium-three-fifths large-three-fifths align-right page-links">
          <mvt:if expr="l.settings:category_listing:page_links:last_ page GT 1">
          <span class="page-links-container top-page-links">
          <mvt:if expr="l.settings:category_listing:page_links:curre nt_page NE 1">
          <a href="&mvte:urls:_self:auto_sep;&mvte:category_lis ting:page_links:prev_link_params;" class="page-links-previous"><span data-icon="&#x34;"></span> Prev</a>
          <mvt:else>
          <span class="page-links-previous page-links-deactivated"><span data-icon="&#x34;"></span> Prev</span>
          </mvt:if>
          <mvt:if expr="NOT l.settings:category_listing:page_links:contains_fi rst">
          <a href="&mvte:urls:_self:auto_sep;&mvte:category_lis ting:page_links:first_link_params;" class="page-links-inactive">1</a><a href="&mvte:urls:_self:auto_sep;&mvte:category_lis ting:page_links:first_link_params;" class="page-links-inactive hellip">&hellip;</a>
          </mvt:if>
          <mvt:foreach iterator="pages" array="category_listing:page_links:pages">
          <mvt:if expr="l.settings:category_listing:page_links:curre nt_page EQ l.settings:pages:page_num">
          <span class="page-links-active">&mvte:pages:page_num;</span>
          <mvt:else>
          <a href="&mvte:urls:_self:auto_sep;&mvte:pages:link_p arams;" class="page-links-inactive">&mvte:pages:page_num;</a>
          </mvt:if>
          </mvt:foreach>
          <mvt:if expr="NOT l.settings:category_listing:page_links:contains_la st">
          <a href="&mvte:urls:_self:auto_sep;&mvte:category_lis ting:page_links:last_link_params;" class="page-links-inactive hellip">&hellip;</a><a href="&mvte:urls:_self:auto_sep;&mvte:category_lis ting:page_links:last_link_params;" class="page-links-inactive">&mvte:category_listing:page_links:last_p age;</a>
          </mvt:if>
          <mvt:if expr="l.settings:category_listing:page_links:curre nt_page NE l.settings:category_listing:page_links:last_page">
          <a href="&mvte:urls:_self:auto_sep;&mvte:category_lis ting:page_links:next_link_params;" class="page-links-next">Next <span data-icon="&#x35;"></span></a>
          <mvt:else>
          <span class="page-links-next page-links-deactivated">Next <span data-icon="&#x35;"></span></span>
          </mvt:if>
          </span>














          Donna Bunnell
          Treasures of the Southwest
          www.treasuresofthesouthwest.com

          Comment


            #6
            Hi Donna,

            Pagination is changed on the category page in the admin not in the code. It is located right below the code box you are copying the code from.
            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


              #7
              Now I get it!

              Thanks so much for your help.

              Donna
              Donna Bunnell
              Treasures of the Southwest
              www.treasuresofthesouthwest.com

              Comment

              Working...
              X