Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2013
    Posts
    47
    Plugin Contributions
    0

    help question Redirect product listing page

    i modified the file /includes/modules/product_listing.php

    before
    $error_categories = true;

    i added
    zen_redirect(zen_href_link(FILENAME_PAGE_NOT_FOUND));

    but it doesn't work, is there any other method? thanks

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,872
    Plugin Contributions
    96

    Default Re: Redirect product listing page

    Do you possibly have a copy of the product_listing.php in your custom template-override directory (/includes/modules/YOUR_TEMPLATE/product_listing.php). If that file is there, it will be used instead of the default one (/includes/modules/product_listing.php).

    P.S. You should always make your modifications to a template-override version; otherwise, your changes will stand a big chance of being overwritten when you upgrade.

 

 

Similar Threads

  1. v155 Filter: listing only one product - dont' redirect to product page ?
    By mesnitu in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 May 2016, 02:43 PM
  2. customizing: Empty cart and redirect back to products listing page
    By Nick1973 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 20 Jun 2012, 06:13 PM
  3. Replies: 0
    Last Post: 20 Dec 2011, 03:33 AM
  4. How to redirect a pseudo-static page using a 301 redirect ?
    By anahong in forum General Questions
    Replies: 1
    Last Post: 23 Jul 2010, 02:37 PM
  5. product listing page to look like new listing page
    By christienicole in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jun 2006, 03:19 PM

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