Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2010
    Posts
    19
    Plugin Contributions
    0

    Default edit products_listing

    Edit the pages of specials, and produts_new produts_all.
    No problems but product_listing tube is not the same, what I want you to be a list like this:

    PHP Code:
    <img src="'.$imagendeatras.'" alt="'.$listing->fields['products_name'].'" width="168" height="175" class="atras">
        <
    a href="'. zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . $productsInCategory[$listing->fields['products_id']] . '&products_id=' . $listing->fields['products_id']).'" title="'.$listing->fields['products_name'].'" width="168" height="175">
            <
    img src="'.DIR_WS_IMAGES . $listing->fields['products_image'].'" alt="'.$listing->fields['products_name'].'" width="168" height="175" class="adelante">
        </
    a>
        <
    div class="descripcion">
            <
    a href="'. zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . $productsInCategory[$listing->fields['products_id']] . '&products_id=' . $listing->fields['products_id']).'" title="'.$listing->fields['products_name'].'" width="168" height="175">
            <
    strong>' . $listing->fields['products_name'] . '</strong></a><br />
            
    ' . $descripcion . '<br />
            <
    small>'.$preciocarater.'<strong>') .  $products_price . '</strong></small>
        </
    div
    *some variables are from my catalog

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

    Default Re: edit products_listing

    If you want divs instead of tabular layout for the product listing, start with the Column Layout Grid mod from Free Addons. You can then tweak the elements you want different in product_listing.php, and turn off the elements you don't want in admin.

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

    Default Re: edit products_listing

    You might find it helpful to use the Flexible Product Listing mod, attached to post 50 in a forum thread styling product listing pages with column layout grid.

  4. #4
    Join Date
    Jun 2010
    Posts
    19
    Plugin Contributions
    0

    Default Re: edit products_listing

    thanks for replying, what happens is that I do not want to have the list I want it fitted into columns and div (css), as the code that will display and not display add to cart but only the price the image and the description / name

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

    Default Re: edit products_listing

    Yes, Column Grid (or Flexible Product Listing) in Columns mode will give a div layout, and you can turn off the other elements in admin.

    It's generally best to modify only what you need to in copies of stock files rather than trying to build the functionality from scratch, unless you know all of the code and its purposes intimately.

  6. #6
    Join Date
    Jun 2010
    Posts
    19
    Plugin Contributions
    0

    Default Re: edit products_listing

    I show you the code in use in specials, and products_all produts_news
    listing_products but do not understand how this assembly, there is some module that raises the sql query like products_all??

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

    Default Re: edit products_listing

    If you use the Flexible Product Listing files, there is little if any modification you will need to do to product_listing.php to get the layout you want. It will be mostly stylesheet work and admin settings.

  8. #8
    Join Date
    Jun 2010
    Posts
    19
    Plugin Contributions
    0

    Default Re: edit products_listing

    thanks be closed

 

 

Similar Threads

  1. v150 Pre-fill edit address & edit shipping forms
    By webguy262 in forum General Questions
    Replies: 1
    Last Post: 29 Jul 2013, 05:03 PM
  2. v150 How to edit header text/images, also edit pages?
    By Gary Compton in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Feb 2012, 10:01 PM
  3. add categories_row to products_listing
    By BluGallagher in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Nov 2011, 08:05 AM
  4. Replies: 6
    Last Post: 5 Nov 2010, 06:58 PM
  5. Replies: 2
    Last Post: 19 Aug 2006, 09:01 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