Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Changing the way product info is displayed

    Hi,

    I am not currently liking the way the products are displayed on my site - HERE
    (images yet to be added)

    Ideally I would like something like this



    Making the price stand out more and things generally looking tidier. Is this possible? If yes what should I be changing? Is it a style sheet thing or can this be done from the admin or a bit of both?
    Thanks

  2. #2
    Join Date
    Jan 2009
    Location
    The Netherlands/Germany
    Posts
    142
    Plugin Contributions
    12

    Default Re: Changing the way product info is displayed

    it's a stylesheet thing and a PHP thing both...

    first of all you want to play with the tpl_product_info_display.php file so you have the three wrapperdiv's in place.

    Then with CSS you get them neatly side by side.

    Google a bit on three column layout CSS.
    I came, I saw, I got zenned... :)

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

    Default Re: Changing the way product info is displayed

    It would just be a stylesheet matter if you had the stock product listing display. You appear to have done the "one single listing layout" mod, since your product listing is using the "all products" layout which strings all of the right-side elements vertically. You would need to reverse that, and then the job will be trivial.

    tpl_product_info_display.php is irrelevant to the product listing; that is for the product info page.

  4. #4
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Changing the way product info is displayed

    Thanks for looking into this for me

    Quote Originally Posted by gjh42 View Post
    It would just be a stylesheet matter if you had the stock product listing display. You appear to have done the "one single listing layout" mod, since your product listing is using the "all products" layout which strings all of the right-side elements vertically. You would need to reverse that, and then the job will be trivial.

    tpl_product_info_display.php is irrelevant to the product listing; that is for the product info page.
    Sorry but you have lost me What do I need to do to 'reverse'?!

    Thanks

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

    Default Re: Changing the way product info is displayed

    If you had done this yourself, you would remember it, as it involves manually editing several files. Where did your template originally come from? Did you start from stock, or install a template? Perhaps it had this included - you could ask the source.

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

    Default Re: Changing the way product info is displayed

    Your stylesheet has this
    Code:
    .productListing-data+.productListing-data+.productListing-data, #listCell0-2 {display: none;}
    which is hiding the stock price/add table cell. This is simply a matter of pasting a line in your stylesheet; getting the price and add button below the description had to involve some coding in /includes/modules/your_template/product_listing.php.

    I don't know if the Clean Business Theme (your template's origin) has that as a stock feature, or what.

  7. #7
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Changing the way product info is displayed

    Thanks Glenn, the template I used for the Zen cart was the red passion one and I have combined the shop site a bit with my original non-shop site.

    I'll look into this when I get a chance and see how it goes.

    Thanks for your help.

  8. #8
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Changing the way product info is displayed

    Hi,

    I managing to arrange the different elements but now have two Add boxes and two prices showing - here

    How can I delete the centred ones below the description? Is this an Admin thing?

    Thanks

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

    Default Re: Changing the way product info is displayed

    Nope - the elements below the description were hard-coded there by your template designer, and you will have to edit /includes/modules/your_template/product_listing.php to remove them.

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

    Default Re: Changing the way product info is displayed

    Code:
       <td class="productListing-data"><h3 class="itemTitle"><a href="http:...ducts_id=272">Single sided business card design</a></h3><div class="listingDescription">Single sided business card design: View your design online to give us feedback. Unlimited revisions.</div>&pound;20.00<br /><br />Add: <input type="text" name="products_id[272]" value="0" size="4" /><br /><br /></td>
    This is the output; the actual file will have more code in it than this, and variables/constants in place of the text, but it will have the red </div>, and you should be able to delete most of the code after that.
    You will find this section under the second case 'PRODUCT_LIST_NAME': heading halfway down the file or so.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. the images displayed under main product image and i want to be displayed on the right
    By magnum17 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 27 Nov 2012, 11:10 PM
  2. Changing the way products are displayed
    By CestProuve in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 8 Nov 2008, 08:13 AM
  3. Changing the way the product description page looks
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 18 Jul 2006, 12:21 AM
  4. Changing the Way Products are Displayed
    By TurtleDove in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Jun 2006, 05:04 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