Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2006
    Posts
    6
    Plugin Contributions
    0

    Default Can Product Detail page order match product listing order?

    I looked around a bit but couldn't find an answer to this question.

    As items sell on our store, instead of removing the item completely, we modify the photo to say "SOLD" and reduce the quantity to none so people can see the types of items we had online in the past.

    In the product listing for each category I used sort order to put the sold items at the bottom of the list, but if you go to a product detail page and then click "NEXT" to cycle through the products, the items display in alphabetical order. Is there a way to match the sort order from the listing page to mirror on the product detail pages?

    I tried changing settings in the "Configuration/Product Info" with no luck.

    I am running ZC 1.3.7 - You can see an example here:

    http://monsterpawn.com/store/index.p...index&cPath=79

    Any help is appreciated.

  2. #2
    Join Date
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default Re: Can Product Detail page order match product listing order?

    It would take some php magic with the GD extension, but you basically need some logic that looks at the quantity and overlays that "SOLD" text accordingly. That code will need to go in the files where product images are looked up and loaded, so start with

    /includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
    and
    /includes/modules/YOUR_TEMPLATE/product_listing.php

    You should create a version of these files in your own template folders if it does not already exist. Also remember that "tpl_product_info_display.php" may be the wrong filename, if you use custom product types.

    Do some research and let us know when you get too baffled.
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Can Product Detail page order match product listing order?

    He wasn't asking how to modify images/display, he wanted to be able to view the product info pages by sort order, as he does on the listing pages.
    The files mentioned are likely the place to start...

  4. #4
    Join Date
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default Re: Can Product Detail page order match product listing order?

    LOL, wow, totally blew it on that one...

    Admin > Configuration > Product Info > Previous Next - Sort Order
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

 

 

Similar Threads

  1. Change Order Of Product Info On Product Detail Page
    By ewramos in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 29 Mar 2011, 10:26 AM
  2. How to display lightbox directly from Product listing? (no product detail page)
    By y2caye in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jan 2010, 03:38 AM
  3. lightbox can working in the page of products listing?it work only in product detail
    By qingtianyu9 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Jun 2008, 08:23 AM
  4. Product sort order dropdown menu on product listing page
    By dealbyethan.com in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Dec 2007, 09:06 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