Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Attempting to restructure product listings

    ohh ok,
    This is what i would do.

    Copy the file includes/templates/template_default/templates/tpl_products_new_default.php
    Save it to includes/templates/YOUR_TEMPLATE/templates/tpl_products_new_default.php and then modify it there, this will override the template_default in case you would want that in the future

  2. #2
    Join Date
    Nov 2013
    Posts
    24
    Plugin Contributions
    0

    Default Re: Attempting to restructure product listings

    Good afternoon,
    Would simply copying the product listing code copy that formatting, or would it be more complicated than that?
    Cheers,
    Peter M Dodge

  3. #3
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Attempting to restructure product listings

    It is slightly different from my experience. However you could take the stock versions of both do a comparison, and then add your changes to the version you wish.

  4. #4
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: Attempting to restructure product listings

    In my distribution I only had "classic" and "template_default" templates.
    That is all there is.

    a) template_default - do not touch these files, only copy elsewhere to modify. The source of the structure of every page UNLESS you create a modified version "elsewhere".

    b) "classic" - an example of an "elsewhere". A fugly template who's only function is to demonstrate all the bells and whistles that can be displayed.
    Also do not touch!
    Why? - For when you get white screens of death and odd things happening due to your mods, you can revert back to classic, see if the problems go away and so prove its your modified template file causing the problem. Or not.

    c) YOUR_TEMPLATE: your changes to the default css and templates files. Single files copied here only as you need to modify them.

    Really the way to go is design your own website style in a graphics program and then implement, not try and tweak classic bit by bit.

    The product listing code is very complicated, no doubt about it. I stick <?php echo __LINE__; ?> everywhere to get more idea what bit of code is producing what bit of the page.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  5. #5
    Join Date
    Nov 2013
    Posts
    24
    Plugin Contributions
    0

    Default Re: Attempting to restructure product listings

    Good afternoon,
    The classic template is no doubt very "90s" design. I copied that template_default design and have so far gotten a design I'm fairly happy with. It has a ways to go and I just got stumped on how to make the "new products" listing the same sort of list format as the general product listings.
    Cheers,
    Peter M Dodge

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Attempting to restructure product listings


  7. #7
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: Attempting to restructure product listings

    The Single Listing Template....don't do it, I did.
    It's still embedded in my site and I get ill when I come across it. It works but....it's very complicated and the mod is not maintained.

    Maybe drop it into a test site and it will give you some clues how it all works, in fact I think the readme is useful (I did it!)

    There's SNAF which has support

    http://www.zen-cart.com/showthread.p...highlight=snaf
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Attempting to restructure product listings

    As I usually say when I point to a mod, I haven't used it. SNAF is the better option.

 

 

Similar Threads

  1. v153 Corrupted product database entry leads to blank product listings
    By delia in forum General Questions
    Replies: 72
    Last Post: 13 Apr 2016, 10:31 PM
  2. change price layout on product info and product listings
    By chrislum24 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Jun 2009, 12:13 PM
  3. Need Help on Category Listings, Product Listings
    By wgvania in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 15 Jan 2008, 12:12 AM

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