Page 7 of 16 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 159
  1. #61
    Join Date
    Jan 2013
    Posts
    3
    Plugin Contributions
    0

    Default Re: Products Pagination - Support Thread

    It does it on the product pages as well not just the main page slider

  2. #62
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Products Pagination - Support Thread

    The problem is that the main page's slider defines the paging for the slider using the same class name as the products' pagination. Since stylesheet_slider sorts higher alphabetically than stylesheet_prod_pagination, it's being loaded after the pagination stylesheet and causing its styles for the pagination class to be applied to the pagination links.

    Since the slider is only used on your home page, I suggest renaming stylesheet_slider.css to index_home.css so that it's only loaded on the home page. That way its definitions for the styling of the pagination class won't conflict with those in the products' pages.

  3. #63
    Join Date
    Jan 2013
    Posts
    3
    Plugin Contributions
    0

    Default Re: Products Pagination - Support Thread

    Thanks for the reply. Pulling the pagination from the slider css worked

  4. #64
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Products Pagination - Support Thread

    Glad you got it sorted out!

  5. #65
    Join Date
    Oct 2010
    Location
    Finland
    Posts
    26
    Plugin Contributions
    0

    Default Re: Products Pagination - Support Thread

    Hello and thanks for this great addon! :)

    I have a one question, how can I setup this to work with descending model order? Products are listed in descending order by their model number, but pagination is opposite of that. First product with largest model number is displayed last in pagination and I have to click "previous" to go to the second product.
    What I'm trying to say is that I want to reverse pagination order. By clicking next-button, it should go to product that has smaller model number. Pagination numbers should be 1=largest model number, 2=one smaller and so on...

    My site is: www(dot)hkproduction(dot)fi(/)kauppa

    Is there something that I can change from the code? I don't believe it's the settings that causes this, because it worked with the original prev-next code.

  6. #66
    Join Date
    Dec 2009
    Posts
    206
    Plugin Contributions
    2

    Default Re: Products Pagination - Support Thread

    For some reason, pagination is still having issues with dropping the search_in_description variable on the advanced search results page. If I use the search on the advanced search page for burningbutterfly . com for "red" and choose the "search in description" option, I initially get 115 results but that drops to 17 when I paginate. If I manually add the search_in_description back into the url, the correct number of products returns. I'm using the most recent version and have replicated the error on a clean install of zen cart v1.5.1. I've also looked at a couple of other sites that use this mod and it's happening there too.

    When I use web developer for ff to display hidden content, search_in_description is attached to the function.

    If you get the chance, would you please direct me where I need to look to try to fix this?

    Thanks in advance!

  7. #67
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Products Pagination - Support Thread

    I see the issue, but no "ready" fix at this time (that search page was a pain, if I remember correctly!). I'll give it a look later today or early tomorrow.

  8. #68
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Products Pagination - Support Thread

    I think I found it ... look in the plugin's /includes/classes/split_page_results.php, starting at line 95:
    Code:
    //-bof-product pagination
    //    if (strpos($query_lower, 'distinct') || strpos($query_lower, 'group by')) {
        if ((strpos($query_lower, 'distinct') || strpos($query_lower, 'group by')) && is_numeric($count_key)) {
    //-eof-product_pagination
    and back that change out:
    Code:
        if (strpos($query_lower, 'distinct') || strpos($query_lower, 'group by')) {
    Let me know if this gets it (it did on one of my sites) and I'll package up a bugfix release.

  9. #69
    Join Date
    Dec 2009
    Posts
    206
    Plugin Contributions
    2

    Default Re: Products Pagination - Support Thread

    Quote Originally Posted by lat9 View Post
    I think I found it ... look in the plugin's /includes/classes/split_page_results.php, starting at line 95:
    Code:
    //-bof-product pagination
    //    if (strpos($query_lower, 'distinct') || strpos($query_lower, 'group by')) {
        if ((strpos($query_lower, 'distinct') || strpos($query_lower, 'group by')) && is_numeric($count_key)) {
    //-eof-product_pagination
    and back that change out:
    Code:
        if (strpos($query_lower, 'distinct') || strpos($query_lower, 'group by')) {
    Let me know if this gets it (it did on one of my sites) and I'll package up a bugfix release.
    Unfortunately not. Because it isn't passing parameters, I was thinking (and please feel free to correct me if I'm wrong) it had to be one of the href lines in either the class or function. Either way, it isn't a big deal - I'm not getting enough visitors to necessitate a full in-depth search; I just like to know how things work so I can learn to fix them myself.

  10. #70
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Products Pagination - Support Thread

    What version of products_pagination are you using? I ask because the mini-form for the dropdown pagecount has an onchange="this.form.submit();" parameter, but yours has onsubmit="this.form.submit();", so there's been some messing in /includes/classes/split_page_results.php. It's also not usual that all the next-page links are disabled.

 

 
Page 7 of 16 FirstFirst ... 56789 ... LastLast

Similar Threads

  1. Compare multiple products - support thread
    By willie bee in forum Addon Templates
    Replies: 37
    Last Post: 9 Jan 2020, 08:25 PM
  2. v154 All Products Virtual -- No Shipping [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 22 Jul 2019, 12:04 PM
  3. v153 Linked Products Report [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 11 Jun 2015, 09:52 PM
  4. Products Disclaimer Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 2 Jun 2010, 11:29 PM
  5. Products/Categories URLs Exporter Support Thread
    By joshuayang in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 28 Mar 2010, 05:33 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