Page 30 of 33 FirstFirst ... 202829303132 ... LastLast
Results 291 to 300 of 327
  1. #291
    Join Date
    Nov 2007
    Location
    North East United Kingdom
    Posts
    25
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Hi jackie
    Many thanks for the reply (again). I've managed to work around the problem by disabling the 'add multiple items to cart' button so i have an 'add to cart' button next to each item's quantity box and then using Ajeh's fix (here: http://www.zen-cart.com/forum/showthread.php?t=174212) to stop the redirection to the product info page when a customer adds something to their cart. This is working with the Single Listing Template as well as the main category pages (although i still need to give it a good test).
    It's taken a little time to get things working and positioning as i needed but i think i've learnt a lot and now have things right. Fingers crossed a full test will not find any issues!
    Thanks again,
    ben

  2. #292
    Join Date
    Aug 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Hi guys. And girls.

    I'm having a problem.

    I have SLT mod installed.
    I need product listings to randomize their order on each page load. Currently, specials, featured, new, and regular old product listings do not randomize the orders per load.

    I've tried changing (includes/modules/template/product_listing.php)
    Code:
    if ($is_slt_listing) $listing = $listing_split->records
    to
    Code:
    if ($is_slt_listing) $listing = ExecuteRandomMulti($listing_split->records)
    but this caused the products not to display.

    I know that this is the default behavior of ZenCart product listings without Column Display or SLT mod. It could quite possibly be the default behavior of the mod as well!

    I'm not sure, but at the moment it is not possible for me to revert to a non-SLT design.

    Please help, if possible.
    Last edited by tranced; 16 Sep 2011 at 07:09 AM.

  3. #293
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Hi,

    I've installed SLT on a site and have everything displaying fairly close to what I want, but...

    How do I get a sub-category listing to display in columns just like a product listing or the other listings? By sub-category listing, I mean a page which lists sub-categories, not products. (I guess it's a list of categories, whether they're sub- or not.)

    Have a look here to see a page with a New Products listing at the bottom, in 3-columns as desired, and a sub-category listing at the top. That sub-cat listing is what I'm trying to get into 3-columns.

    Thanks,

    Rob

  4. #294
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Using one single listing template

    I should also mention that admin/Configuration/Maximum Values --> Categories To List Per Row as well as Maximum Display Columns Products to Multiple Categories Manager are both set to 3. There must be something in the template that is overruling those settings.

    Rob

  5. #295
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Using one single listing template

    More info...

    (If I talk to myself long enough I may solve this. But a hint or two would be welcome. )

    I've found that if I place the file tpl_columnar_display.php in the common folder in my template, I get 3-column tables for all the lists, including New, Specials, and the cats/sub-cats lists. If I remove it, I get DIVs, and my single listing styles then apply to the DIVs as required. But I instantly lose the 3-column display in the cats/sub-cats lists, while the New, etc. all remain 3-columns.

    My main template, I conclude, is the one supplying the DIVs, though how it does that I don't know. It's a mixture of Twist of Nature and SexyPink. It was minimally mixed to try to keep the DIVs. SP by itself gives the correct 3-column layout for the cats (as does the Classic Green, of course), but it's difficult to style table cells the way I want. TofN + Single Listing gives the styling I want but won't give me the 3-column cats lists.

    Any ideas are welcome at this point.

    Rob

  6. #296
    Join Date
    Sep 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Hey guys,
    Ok so I did the initial things yellow did on page 1-2 (didn't use the mod). and I got all products in the tabular display.

    My problem is that the headers (product image / product name / manufacturer name / price) are not clickable for ascending/descending sorting.

    Anyone else have that problem and have a cure?

    Thanks ahead of time.

  7. #297
    Join Date
    Sep 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Disregard the last question. I figured out how to add things(manufacturer) to the Sort By: Dropdown Menu.

  8. #298
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Using one single listing template

    Question: am I mistaken or if you you the product_listing template for specials ( for instance ) it seems that the main products query runs twice.

    in header_php $listing_sql is set. This is going to be used in product_listing.php.

    but in main_template_vars there is another query which is called $specials_query_raw which is also run.

    So on a specials page that uses the product listing the main product query is run twice, which seems a bit strange and not terribly efficient.

    Basically this line

    Code:
      $specials_split = new splitPageResults($specials_query_raw, MAX_DISPLAY_SPECIAL_PRODUCTS);
    is run in main_template_vars but is completely redundant if you choose to use product_listing.

    Actually looking again I am somewhat confused about what $specials_query_raw actually does. If anyone can enlighten me please let me know.

  9. #299
    Join Date
    Nov 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Quote Originally Posted by lzwdavid View Post
    Hi all,
    I just download the module and install it, but when I patch the sql patck,
    SQL Query Executor said:

    Error Failed: 1
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

    And I open my site, all display is changed to the column layout, that's great!
    But the only thing is the there is nothing in my Mainpage index area, which should be my "Monthly special for xxx."

    Does someone know what's happened here?
    I got the same error message when patching the sql in admin->tool. but cannot find the answer here. Is there anything wrong? pls help.

  10. #300
    Join Date
    Sep 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Using one single listing template

    I'm running zencart 1.3.9h and installed the SLT v1.8. I did everything as per readme but a couple of things went haywire and nothing went better! For starters, my frontpage that displayed all the latest products added, now shows random products and changes everytime you hit refresh. New Products still displays 1 per line as it always did. And under "All Products" there are NO products displayed!

    Please help! I followed every step and don't know why it's not working (and it's a LIVE site!)

 

 
Page 30 of 33 FirstFirst ... 202829303132 ... LastLast

Similar Threads

  1. Single Listing Template
    By AnglersCorner in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 24 Mar 2015, 01:55 PM
  2. single listing template addon - grid layout for products
    By noyloza in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 Nov 2012, 03:45 PM
  3. Column Grid / Single Listing Template Alternative
    By niccol in forum All Other Contributions/Addons
    Replies: 74
    Last Post: 9 Jul 2012, 01:25 PM
  4. Single Listing Template problem
    By gqq0404 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Nov 2010, 08:57 PM
  5. Transfer of one single category from one Zen database to another
    By MeltDown in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 14 Oct 2008, 07:07 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR