Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2017
    Location
    White City
    Posts
    8
    Plugin Contributions
    0

    Default New and Featured Page Drop down Product Sorter

    Is there any one that can help me get the New and Featured Page product name and price sort drop down on all of my product pages.

    I notice the product name and price sort drop down sorter that i am looking for is already on the New and Featured Pages. How do I get this drop down to appear on all of my catalog product pages. I also need the grid & list options for all of my catalog product pages.

    v155e
    My site is https://www.kadee.com/store/index.php?

    I am not having any luck finding the code to make this work.
    I would think this is something simple I am overlooking.

    Thanks in advance.

  2. #2
    Join Date
    Jul 2012
    Posts
    13,814
    Plugin Contributions
    16

    Default Re: New and Featured Page Drop down Product Sorter

    If you are referring to the sorter that offers sort by products name, products price, model and date added, then that is incorporated by the call to:
    Code:
    <?php
    /**
     * display the product order dropdown
     */
    require($template->get_template_dir('/tpl_modules_listing_display_order.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_listing_display_order.php'); ?>
    Which can be seen in includes/templates/template_default/templates/tpl_products_new_default.php

    That could be incorporated in other template files depending on where it is desired to be displayed.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  3. #3
    Join Date
    Sep 2017
    Location
    White City
    Posts
    8
    Plugin Contributions
    0

    Default Re: New and Featured Page Drop down Product Sorter

    That code is all ready in tpl_products_all_default.php page but doesn't turn on price sort drop down sorter or the the grid & list options by just being on the page. Otherwise it would already be on, correct.

    If that it the code that turns on the code to view price sort drop down sorter and the the grid & list options on all my product pages. What turns on the code to make it work?

  4. #4
    Join Date
    Jul 2012
    Posts
    13,814
    Plugin Contributions
    16

    Default Re: New and Featured Page Drop down Product Sorter

    Quote Originally Posted by kadeepro View Post
    That code is all ready in tpl_products_all_default.php page but doesn't turn on price sort drop down sorter or the the grid & list options by just being on the page. Otherwise it would already be on, correct.

    If that it the code that turns on the code to view price sort drop down sorter and the the grid & list options on all my product pages. What turns on the code to make it work?
    Note that the tpl_products_all_default.php file is used when your browser has this in it:
    Code:
    index.php?main_page=products_all
    As described, the request was for the sorter to appear on all category pages where one or more product are shown in the central window which is generally accessed by:
    includes/templates/YOUR_TEMPLATE/templates/tpl_index_product_list.php

    where the web address may look like:
    Code:
    index.php?main_page=index&cPath=1_4
    YOUR_TEMPLATE is to represent the template being used on your site where the core file: includes/templates/template_default/templates/tpl_index_product_list.php has needed some modification to suit your wants/needs.

    There is no "switch" in the code to display or hide the dropdown that I described.

    At the moment I am not familiar with the "grid & list options" that you are asking about. Usually the site is setup in the configuration->layout settings to be one or the other as a grid or a list if that option has been enabled/incorporated in the code.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

 

 

Similar Threads

  1. v151 Product Listing Sorter Drop-Down [Support Thread]
    By torvista in forum All Other Contributions/Addons
    Replies: 58
    Last Post: 21 Mar 2019, 03:11 PM
  2. Remove sort by drop down in new and featured products listing
    By Wils in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 Apr 2009, 11:02 PM
  3. Can I add new product type filter to New Products drop down sort?
    By rwoody in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 17 Dec 2008, 08:42 PM
  4. Replies: 8
    Last Post: 21 Oct 2008, 09:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR