Results 1 to 6 of 6

where is the html associated with product_listing.php

This is a discussion on where is the html associated with product_listing.php within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hello. Perhaps I'm just tired but I'm having a heck of a time finding the html associated with the product_listing.php ...

      
  1. #1
    New Member
    Join Date
    May 2005
    Location
    Easthampton, MA
    Posts
    28
    Rep Power
    0


    Default where is the html associated with product_listing.php

    Hello. Perhaps I'm just tired but I'm having a heck of a time finding the html associated with the product_listing.php file. I need to modify the layout to match the designer's design and I'm having a heck of a time finding it.

    I see that in index_products.tpl.php there is a call to

    include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING);

    but when I open this file I see a lot of php logic and no html. Specifically I'm looking to edit the table that has a class of productListing.

    In searching the forums I thought that products_info.tpl.php would have this code but I don't see it and a search for class="productListing" returns nothing.

    Any pointing of me in the right direction will be greatly appreciated.

  2. #2
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    408
    Rep Power
    7


    Default Re: where is the html associated with product_listing.php

    DIR_WS_MODULES . FILENAME_PRODUCT_LISTING is referring to /includes/modules/product_listing.php (yes, there is quite a bit of code in there, in case you expected a plain HTML file...)

  3. #3
    New Member
    Join Date
    May 2005
    Location
    Easthampton, MA
    Posts
    28
    Rep Power
    0


    Default Re: where is the html associated with product_listing.php

    hmm. any tips about how to modify the table this code produces? I'm looking to take the four columns and make them 2 or 3. I can control a lot just with the css but need to modify the table itself a bit.

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: where is the html associated with product_listing.php

    There is a SIMPLE setting in ADMIN for number of columns..... No need to modify table at all.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #5
    New Member
    Join Date
    May 2005
    Location
    Easthampton, MA
    Posts
    28
    Rep Power
    0


    Default Re: where is the html associated with product_listing.php

    thanks for the quick reply. i should clarify ... yes, i believe you are referring to admin under configuration -> product listing. i did change that do display 1 item per row, which is closer to what i want. but the table that is produced for that row now has four columns (img, product name, price, buy now button) ... I'm looking to modify the layout of this table for the design the designer has passed on.

    any advice would be greatly appreciated!

  6. #6
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    408
    Rep Power
    7


    Default Re: where is the html associated with product_listing.php

    Admin -> Configuration -> Product Listing

    You can change there what columns are shown, and in what order.

Similar Threads

  1. Trying to edit product_listing.php
    By Phixon in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 05-08-2008, 04:28 PM
  2. 7 different views for your product listing table (product_listing.php)
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-16-2007, 03:23 AM
  3. Parse Error - product_listing.php
    By m_rockett in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 03-30-2006, 10:42 AM
  4. Custom product_listing pages? help !
    By fridgemags in forum osCommerce 2.2 Modification Help
    Replies: 9
    Last Post: 09-08-2004, 03:19 AM
  5. Where to change the heading text in product_listing.php???
    By johnnyosc in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 02-18-2003, 10:32 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
  •