Page 8 of 32 FirstFirst ... 67891018 ... LastLast
Results 71 to 80 of 317
  1. #71
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    48
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Hi Yellow!

    So, I tried but I didn't see any diference. I think is because the template is already uniform in listing products...
    So, I can't do anything to make all my listings to look like the new products?
    I was thinking to try and copy some of the style of the new product into the product listing, but I don't know what files and to guess... it takes a long time.
    What do you think?
    Also I would like to put the category description on my produyt info page... and again... I don't know how I can do that.

    Can you help me?

    Thank you!
    justMARK
    mainMAG.NET - The place where you get magnetized!
    ZenCart 1.3.7.1 - for now...

  2. #72
    Join Date
    Oct 2006
    Posts
    5,486
    Plugin Contributions
    12

    Default Re: Using one single listing template

    This process is to make all the product all etc look like the product listing, and it is only for the listing "pages", not the ones in the index page.
    Please re read my post above to see the reason why

    Regards
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #73
    Join Date
    Oct 2008
    Location
    Midwest USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Hello Yellow and DrByte,

    Guys I just want to say that I really appreciate the mods that you have put up and all of the help you give to the folks in the forum. ( Once I'm done with my mods and get this puppy up and cooking you'll definitely see a donation from me!)

    So on to my question... I struggled as to where exactly to post this question and decided this was probably as good a place as any where to post it, please correct me if there is a better place.

    I have been experimenting with an override for product_listing.php and tpl_modules_product_listing.php, I was able to get close to what I wanted then discovered DrBytes Column Layout Grid for Product Listing and it accomplished the same things as my hand coded mods but went on to add the buttons to the admin panel (nice mod by the way!)

    But I really need the names of the product data to show up as it does in the final Product listing page (div Category Icon? Not sure if this is the right file, it is related to the "productMainImage" div javascript call)

    Here is a screen shot: (Sorry but I can't give out a link, it's on a secure intranet server with no domain name to point to.)


    As you can see all of the information is underneath the image, not to the side, this is how the customer wants every product listing page accessed through the navbar to look, the only pages he wants to show up in grids are the featured, all and new products page.

    I installed the "Column Layout Grid for Product Listing" mod and it works great (I set columns: to 1, the tabular version jams everything into a table structure and it's can't be styled this way!) except that it doesn't show the product lc_text names next to the values.

    I.E. "Column Layout Grid for Product Listing" shows the following:
    SKU-C2
    Chrome Dome Motorcycle Products
    $150.00


    I need it to show as in the screen shot like this:
    The "Original" Chrome Skull
    $150.00
    Product Description blah blah blah....

    * Model: SKU-C2
    * Shipping Weight: 10lbs
    * 998 Units in Stock
    * Manufactured by: Chrome Dome Motorcycle Products

    Initially I thought that maybe the Single Listing Template may do the trick but will that also apply to the all, featured and new listing pages? And does anyone have a suggestion for a mod that will do what I need?

    A simple solution may be to add additional code to tpl_columnar_display.php to insert the names before the values but I'm not sure where to go from here (the truth is my brain is full, I've learned a lot about the template system today but I'm beat now!) If someone can help me with this I'll gladly make my mods available for use by others.

    Thanks in advance,

    Gary777

  4. #74
    Join Date
    Aug 2005
    Posts
    26,008
    Plugin Contributions
    9

    Default Re: Using one single listing template

    From what your pic looks to be then this is what is termed "productlisting" and as you have found and I suspect installed the column/grid module what is left is to define this as one column for display(versus 2 or 3) and this is in the admin > config > product listing ...BUT only if you have the module installed....

    Then you may have to adjust the image size to be displayed
    admin > config > images > image product listing > height & width and have an image availavble to suit
    Zen-Venom Get Bitten
    Get Your Business Found

  5. #75
    Join Date
    Oct 2006
    Posts
    5,486
    Plugin Contributions
    12

    Default Re: Using one single listing template

    Did you know that you can set the display order? for example: name first then image then description....

    I dont remember the exact place, but check configuration->product listing
    Quote Originally Posted by Gary777 View Post
    Hello Yellow and DrByte,

    Guys I just want to say that I really appreciate the mods that you have put up and all of the help you give to the folks in the forum. ( Once I'm done with my mods and get this puppy up and cooking you'll definitely see a donation from me!)

    So on to my question... I struggled as to where exactly to post this question and decided this was probably as good a place as any where to post it, please correct me if there is a better place.

    I have been experimenting with an override for product_listing.php and tpl_modules_product_listing.php, I was able to get close to what I wanted then discovered DrBytes Column Layout Grid for Product Listing and it accomplished the same things as my hand coded mods but went on to add the buttons to the admin panel (nice mod by the way!)

    But I really need the names of the product data to show up as it does in the final Product listing page (div Category Icon? Not sure if this is the right file, it is related to the "productMainImage" div javascript call)

    Here is a screen shot: (Sorry but I can't give out a link, it's on a secure intranet server with no domain name to point to.)


    As you can see all of the information is underneath the image, not to the side, this is how the customer wants every product listing page accessed through the navbar to look, the only pages he wants to show up in grids are the featured, all and new products page.

    I installed the "Column Layout Grid for Product Listing" mod and it works great (I set columns: to 1, the tabular version jams everything into a table structure and it's can't be styled this way!) except that it doesn't show the product lc_text names next to the values.

    I.E. "Column Layout Grid for Product Listing" shows the following:
    SKU-C2
    Chrome Dome Motorcycle Products
    $150.00


    I need it to show as in the screen shot like this:
    The "Original" Chrome Skull
    $150.00
    Product Description blah blah blah....

    * Model: SKU-C2
    * Shipping Weight: 10lbs
    * 998 Units in Stock
    * Manufactured by: Chrome Dome Motorcycle Products

    Initially I thought that maybe the Single Listing Template may do the trick but will that also apply to the all, featured and new listing pages? And does anyone have a suggestion for a mod that will do what I need?

    A simple solution may be to add additional code to tpl_columnar_display.php to insert the names before the values but I'm not sure where to go from here (the truth is my brain is full, I've learned a lot about the template system today but I'm beat now!) If someone can help me with this I'll gladly make my mods available for use by others.

    Thanks in advance,

    Gary777
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #76
    Join Date
    Aug 2005
    Posts
    26,008
    Plugin Contributions
    9

    Default Re: Using one single listing template

    My Opps!!!

    Re-looking at this if you do as you are stating you will end up with 2 identical pages

    productlisting
    product info

    What I think you want is to by pass the product listing pages altogether???
    Zen-Venom Get Bitten
    Get Your Business Found

  7. #77
    Join Date
    Sep 2007
    Location
    Sweden / Gothenburg
    Posts
    9
    Plugin Contributions
    0

    Default Re: Using one single listing template


    Hi!
    Thanks for the "all product listing" contribution!
    Even though I have read this whole thing, i can not figure out the code to put into the products_new/header_php.php?

    I would be glad to apply this column layout to the "new product listing".

    Thanks in advance!!!!!
    Best regards,

    Pär Westerlind
    Thank you in advance!

    Best regards,

    Pär Westerlind

  8. #78
    Join Date
    Apr 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Notice how I keep the all listing query, but just change from $products_all_query_raw to $listing_sql, and then some minor changes to make it work?
    Not to look a gift horse in the mouth, but it would be nice to know what those "minor changes" are. As with everything with Zen Cart, "The devil is in the details."

    Okay, enough whining. Has anyone got this to work with Specials in v1.3.8? I noticed the file header_php.php has had some code moved to main_template_vars.php. Also, the query doen't work when copied verbatum into the new variable $listing_sql.
    Last edited by zranno; 13 Oct 2008 at 01:19 AM. Reason: improper syntax on quote

  9. #79
    Join Date
    Oct 2008
    Location
    Midwest USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Hi Kobra & Yellow,

    Sorry, I forgot to subscribe to this thread and just now noticed you had replied...

    Kobra - As you surmised I figured out that setting it to 1 does what I want it to for the sub-cat listing page, that is all good.

    Yellow - Yep, I know I can change the sort orders etc... the problem is that some of the details of the product aren't showing up at the sub-cat level... This is hard to explain in print but here is a chart...

    Horn Covers (Top Category)
    Skulls (Sub Category)
    Chrome 1xx (Product)
    Chrome 2xx (Product)
    Chrome 3xx (Product)


    When you click on any of the product level menu items it shows just that one product and all of it's details, that is what the first screen shot shows... All of the details are listing in a nice clean vertical order under the product description.

    However when you click on the "Skulls" sub category menu item (blue level of the menu) it shows the second screen shot, the product details show no title and the weight, qty in stock and shipping weight are not showing up, nor are titles for each of the product detail lines...

    I need to add more detail to the sub-cat listing so it matches the actual product level listing, in fact the only difference I want between the cub-cat listing and the single product listing is that the sub-cat listing shows x number of products (as set in admin) and the single product listing only shows the selected product.

    Does this make any more sense? Any ideas...

    Thanks!

    Gary777

  10. #80
    Join Date
    Oct 2008
    Location
    Midwest USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Quote Originally Posted by kobra View Post
    My Opps!!!

    Re-looking at this if you do as you are stating you will end up with 2 identical pages

    productlisting
    product info

    What I think you want is to by pass the product listing pages altogether???
    Hi Kobra,

    I don't know if your still watching this thread but I missed your comment from above...

    This is exactly what I want to do but in reverse! I want the listing page to show exactly what tpl_product_info shows, the only difference is that the productlisting will still show x number of products per page as set in Admin

    I have been digging through the code on and off for days and I am stumped as to where the product properties (weight, mfg, price, model etc) are being inserted into the productlisting page, the values are there but there are no titles preceding the values...


    I am using DrBytes columnar mod which calls tpl_columnar_display.php in tpl_modules_product_listing.php

    Apparently a "for" loop is recursively parsing through the db and inserting the product property values, I just need to preface those values with the field "name" value.

    Again, instead of showing
    XYZ-001
    10 Lbs
    $199.00

    I want it to show
    Model: XYZ-001
    Weight: 10 lbs
    Price: $199.00

    Any ideas?

    Gary777
    Last edited by Gary777; 19 Oct 2008 at 09:06 PM.

 

 
Page 8 of 32 FirstFirst ... 67891018 ... LastLast

Similar Threads

  1. qty boxes missing in product listing page - cannot add multiples to cart?
    By SarahL in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Feb 2008, 01:32 PM
  2. All Product Listing Page - Edit Template Question
    By thehighlandsgroup in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Nov 2007, 04:37 AM
  3. making New Products Listing look like Category/Manufacturer Listing ??
    By simplifiedmedia in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2006, 10:43 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
  •