How to add toolbar and pager to new.phtml?Recently product view not workingHow to Bring Products in...

Movie: boy escapes the real world and goes to a fantasy world with big furry trolls

Did Amazon pay $0 in taxes last year?

Should we avoid writing fiction about historical events without extensive research?

The (Easy) Road to Code

Under what conditions can the right to remain silent be revoked in the USA?

How should I solve this integral with changing parameters?

If nine coins are tossed, what is the probability that the number of heads is even?

Trocar background-image com delay via jQuery

Locked Away- What am I?

Idiom for feeling after taking risk and someone else being rewarded

How do I increase the number of TTY consoles?

ESPP--any reason not to go all in?

Does an unused member variable take up memory?

What passages of Adi Shankaracharya’s Brahmasutra Bhashya does Sudarshana Suri cite?

Was it really inappropriate to write a pull request for the company I interviewed with?

Would those living in a "perfect society" not understand satire

Can't make sense of a paragraph from Lovecraft

Do black holes violate the conservation of mass?

If sound is a longitudinal wave, why can we hear it if our ears aren't aligned with the propagation direction?

Translation of 答えを知っている人はいませんでした

Is there a logarithm base for which the logarithm becomes an identity function?

Are all players supposed to be able to see each others' character sheets?

Is there a way to make cleveref distinguish two environments with the same counter?

When an outsider describes family relationships, which point of view are they using?



How to add toolbar and pager to new.phtml?


Recently product view not workingHow to Bring Products in homepage?The code in the home page does not show on the front endHow to Add New Products Automatically in Magento 1.9?Configurable swatches are not displaying on new products page ( new.phtml )Include Toolbar Pager in custom product collection in custom pageCustom toolbar block has no collectionConditionally load js based on cms static block typehow to override vendor/magento/module-catalog/Model/ImageUploader.php in my custom module and magento showing error “Code Duplicates Detected”Magento2 How to move toolbar













0















How to add toolbar and pager to new.phtml ? I tried this code below but the toolbar/pager doesn't show up. Thankyou!!



<reference name="head">
<action method="addItem">
<type>skin_js</type>
<name>js/jquery.elevateZoom-3.0.8.min.js</name>
</action>
<action method="addItem">
<type>skin_js</type>
<name>js/product-custom-list.js</name>
</action>
<action ifconfig="spp/setting/enableModule" method="addItem">
<type>skin_js</type>
<name>js/simple_product_pricing_quickview.js</name>
</action>
</reference>
<reference name="root">
<action method="setTemplate">
<template>page/category-layered.phtml</template>
</action>
</reference>
<reference name="content">
<block type="catalog/product_new" name="just.catalog.product.new" template="catalog/product/new.phtml">
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
<block type="page/html_pager" name="product_list_toolbar_pager"/>
</block>
<action method="setCategoryId">
<category_id>2</category_id>
</action>
<action method="setToolbarBlockName"><name>product_list_toolbar</name </action>
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
</block>
</reference>
<reference name="left">
<block type="amshopby/catalog_layer_view" name="amshopby.navleft" before="-" template="catalog/layer/view.phtml"/>
</reference>
<cms_page_view>
<update handle="infinitescroll"/>
</cms_page_view>
<reference name="before_body_end">
<block type="infinitescroll/init" name="infinitescroll_init">
<action method="setTemplate">
<template>strategery/infinitescroll/init_notoolbar.phtml</template>
</action>
</block>
</reference>









share|improve this question
















bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    How to add toolbar and pager to new.phtml ? I tried this code below but the toolbar/pager doesn't show up. Thankyou!!



    <reference name="head">
    <action method="addItem">
    <type>skin_js</type>
    <name>js/jquery.elevateZoom-3.0.8.min.js</name>
    </action>
    <action method="addItem">
    <type>skin_js</type>
    <name>js/product-custom-list.js</name>
    </action>
    <action ifconfig="spp/setting/enableModule" method="addItem">
    <type>skin_js</type>
    <name>js/simple_product_pricing_quickview.js</name>
    </action>
    </reference>
    <reference name="root">
    <action method="setTemplate">
    <template>page/category-layered.phtml</template>
    </action>
    </reference>
    <reference name="content">
    <block type="catalog/product_new" name="just.catalog.product.new" template="catalog/product/new.phtml">
    <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
    <block type="page/html_pager" name="product_list_toolbar_pager"/>
    </block>
    <action method="setCategoryId">
    <category_id>2</category_id>
    </action>
    <action method="setToolbarBlockName"><name>product_list_toolbar</name </action>
    <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
    </block>
    </reference>
    <reference name="left">
    <block type="amshopby/catalog_layer_view" name="amshopby.navleft" before="-" template="catalog/layer/view.phtml"/>
    </reference>
    <cms_page_view>
    <update handle="infinitescroll"/>
    </cms_page_view>
    <reference name="before_body_end">
    <block type="infinitescroll/init" name="infinitescroll_init">
    <action method="setTemplate">
    <template>strategery/infinitescroll/init_notoolbar.phtml</template>
    </action>
    </block>
    </reference>









    share|improve this question
















    bumped to the homepage by Community 12 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      How to add toolbar and pager to new.phtml ? I tried this code below but the toolbar/pager doesn't show up. Thankyou!!



      <reference name="head">
      <action method="addItem">
      <type>skin_js</type>
      <name>js/jquery.elevateZoom-3.0.8.min.js</name>
      </action>
      <action method="addItem">
      <type>skin_js</type>
      <name>js/product-custom-list.js</name>
      </action>
      <action ifconfig="spp/setting/enableModule" method="addItem">
      <type>skin_js</type>
      <name>js/simple_product_pricing_quickview.js</name>
      </action>
      </reference>
      <reference name="root">
      <action method="setTemplate">
      <template>page/category-layered.phtml</template>
      </action>
      </reference>
      <reference name="content">
      <block type="catalog/product_new" name="just.catalog.product.new" template="catalog/product/new.phtml">
      <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
      <block type="page/html_pager" name="product_list_toolbar_pager"/>
      </block>
      <action method="setCategoryId">
      <category_id>2</category_id>
      </action>
      <action method="setToolbarBlockName"><name>product_list_toolbar</name </action>
      <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
      </block>
      </reference>
      <reference name="left">
      <block type="amshopby/catalog_layer_view" name="amshopby.navleft" before="-" template="catalog/layer/view.phtml"/>
      </reference>
      <cms_page_view>
      <update handle="infinitescroll"/>
      </cms_page_view>
      <reference name="before_body_end">
      <block type="infinitescroll/init" name="infinitescroll_init">
      <action method="setTemplate">
      <template>strategery/infinitescroll/init_notoolbar.phtml</template>
      </action>
      </block>
      </reference>









      share|improve this question
















      How to add toolbar and pager to new.phtml ? I tried this code below but the toolbar/pager doesn't show up. Thankyou!!



      <reference name="head">
      <action method="addItem">
      <type>skin_js</type>
      <name>js/jquery.elevateZoom-3.0.8.min.js</name>
      </action>
      <action method="addItem">
      <type>skin_js</type>
      <name>js/product-custom-list.js</name>
      </action>
      <action ifconfig="spp/setting/enableModule" method="addItem">
      <type>skin_js</type>
      <name>js/simple_product_pricing_quickview.js</name>
      </action>
      </reference>
      <reference name="root">
      <action method="setTemplate">
      <template>page/category-layered.phtml</template>
      </action>
      </reference>
      <reference name="content">
      <block type="catalog/product_new" name="just.catalog.product.new" template="catalog/product/new.phtml">
      <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
      <block type="page/html_pager" name="product_list_toolbar_pager"/>
      </block>
      <action method="setCategoryId">
      <category_id>2</category_id>
      </action>
      <action method="setToolbarBlockName"><name>product_list_toolbar</name </action>
      <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
      </block>
      </reference>
      <reference name="left">
      <block type="amshopby/catalog_layer_view" name="amshopby.navleft" before="-" template="catalog/layer/view.phtml"/>
      </reference>
      <cms_page_view>
      <update handle="infinitescroll"/>
      </cms_page_view>
      <reference name="before_body_end">
      <block type="infinitescroll/init" name="infinitescroll_init">
      <action method="setTemplate">
      <template>strategery/infinitescroll/init_notoolbar.phtml</template>
      </action>
      </block>
      </reference>






      magento-1.9 xml new-products






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 6 '17 at 0:40









      PЯINCƏ

      8,21831143




      8,21831143










      asked Jul 5 '17 at 21:29









      KaraKara

      56212




      56212





      bumped to the homepage by Community 12 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 12 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Go to app/design/frontend/{package}/{theme}/layout/local.xml then add this one :



          <your_layout_handle>
          <reference name="root">
          <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
          <block type="page/html_pager" name="product_list_toolbar_pager"/>
          </block>
          </reference>
          </your_layout_handle>


          Then go to your new.phtml and add this code where you want to display the toolbar :



          <?php echo $this->getBlockHtml('product_list_toolbar'); ?>


          Clear your Magento and browser cache.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f182238%2fhow-to-add-toolbar-and-pager-to-new-phtml%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Go to app/design/frontend/{package}/{theme}/layout/local.xml then add this one :



            <your_layout_handle>
            <reference name="root">
            <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
            <block type="page/html_pager" name="product_list_toolbar_pager"/>
            </block>
            </reference>
            </your_layout_handle>


            Then go to your new.phtml and add this code where you want to display the toolbar :



            <?php echo $this->getBlockHtml('product_list_toolbar'); ?>


            Clear your Magento and browser cache.






            share|improve this answer




























              0














              Go to app/design/frontend/{package}/{theme}/layout/local.xml then add this one :



              <your_layout_handle>
              <reference name="root">
              <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
              <block type="page/html_pager" name="product_list_toolbar_pager"/>
              </block>
              </reference>
              </your_layout_handle>


              Then go to your new.phtml and add this code where you want to display the toolbar :



              <?php echo $this->getBlockHtml('product_list_toolbar'); ?>


              Clear your Magento and browser cache.






              share|improve this answer


























                0












                0








                0







                Go to app/design/frontend/{package}/{theme}/layout/local.xml then add this one :



                <your_layout_handle>
                <reference name="root">
                <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
                <block type="page/html_pager" name="product_list_toolbar_pager"/>
                </block>
                </reference>
                </your_layout_handle>


                Then go to your new.phtml and add this code where you want to display the toolbar :



                <?php echo $this->getBlockHtml('product_list_toolbar'); ?>


                Clear your Magento and browser cache.






                share|improve this answer













                Go to app/design/frontend/{package}/{theme}/layout/local.xml then add this one :



                <your_layout_handle>
                <reference name="root">
                <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
                <block type="page/html_pager" name="product_list_toolbar_pager"/>
                </block>
                </reference>
                </your_layout_handle>


                Then go to your new.phtml and add this code where you want to display the toolbar :



                <?php echo $this->getBlockHtml('product_list_toolbar'); ?>


                Clear your Magento and browser cache.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 5 '17 at 22:15









                PЯINCƏPЯINCƏ

                8,21831143




                8,21831143






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f182238%2fhow-to-add-toolbar-and-pager-to-new-phtml%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                    How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                    變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...