Thread: Specials

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36
  1. #21
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Specials

    That is why I was hoping it was your template or an old file out of date etc.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #22
    Join Date
    Jul 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Specials

    This is the source for the main page too..
    <!-- bof: specials -->
    <div class="centerBoxWrapper" id="specialsDefault">
    <h2 class="centerBoxHeading">Monthly Specials For August</h2>
    <div class="centerBoxContentsSpecials centeredContent back" style="width:100%;"><a href="http://www.jazmin-books.co.uk/index.php?main_page=product_info&amp;cPath=1117_1144&amp;products_id=31538"><img src="http://www.images.jazmin-books.co.uk/images/011/m_9781416948872.jpg" alt="The Tudors: King Takes Queen: Series Two Companion" title=" The Tudors: King Takes Queen: Series Two Companion " width="100" height="150" /></a><br /><a href="http://www.jazmin-books.co.uk/index.php?main_page=product_info&amp;cPath=1117_1144&amp;products_id=31538">The Tudors: King Takes Queen: Series Two Companion</a><br /><span class="normalprice">&pound;9.87 </span>&nbsp;<span class="productSpecialPrice">&pound;9.00</span><span class="productPriceDiscount"><br />Save:&nbsp;9% off</span></div>
    <div class="centerBoxContentsSpecials centeredContent back" style="width:100%;"><a href="http://www.jazmin-books.co.uk/index.php?main_page=product_info&amp;cPath=1117_1144&amp;products_id=31538"><img src="http://www.images.jazmin-books.co.uk/images/011/m_9781416948872.jpg" alt="The Tudors: King Takes Queen: Series Two Companion" title=" The Tudors: King Takes Queen: Series Two Companion " width="100" height="150" /></a><br /><a href="http://www.jazmin-books.co.uk/index.php?main_page=product_info&amp;cPath=1117_1144&amp;products_id=31538">The Tudors: King Takes Queen: Series Two Companion</a><br /><span class="normalprice">&pound;9.87 </span>&nbsp;<span class="productSpecialPrice">&pound;9.00</span><span class="productPriceDiscount"><br />Save:&nbsp;9% off</span></div>
    <div class="centerBoxContentsSpecials centeredContent back" style="width:100%;"><a href="http://www.jazmin-books.co.uk/index.php?main_page=product_info&amp;cPath=1117_1144&amp;products_id=31538"><img src="http://www.images.jazmin-books.co.uk/images/011/m_9781416948872.jpg" alt="The Tudors: King Takes Queen: Series Two Companion" title=" The Tudors: King Takes Queen: Series Two Companion " width="100" height="150" /></a><br /><a href="http://www.jazmin-books.co.uk/index.php?main_page=product_info&amp;cPath=1117_1144&amp;products_id=31538">The Tudors: King Takes Queen: Series Two Companion</a><br /><span class="normalprice">&pound;9.87 </span>&nbsp;<span class="productSpecialPrice">&pound;9.00</span><span class="productPriceDiscount"><br />Save:&nbsp;9% off</span></div>
    <br class="clearBoth" />

    </div>
    <!-- eof: specials -->

  3. #23
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Specials

    In phpMyAdmin ...

    When you check the table:
    products_to_categories

    for the products_id 31538 ... what does the categories_id read?

    If you recheck the table:
    products

    for the products_id 31538 ... what does the master_categories_id now read?

    If you run this query in the SQL of phpMyAdmin, do you get 1 row?
    Code:
    select distinct p.products_id, p.products_image, pd.products_name, p.master_categories_id
                                 from (products p
                                 left join specials s on p.products_id = s.products_id
                                 left join products_description pd on p.products_id = pd.products_id )
                                 where p.products_id = s.products_id
                                 and p.products_id = pd.products_id
                                 and p.products_status = '1' and s.status = '1'
                                 and pd.language_id = 1
                                 and p.products_id in (31538);
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #24
    Join Date
    Jul 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Specials

    products_id categories_id
    31538 1144

    master_categories_id
    1144


    products_id products_image products_name master_categories_id
    31538 http://www.images.jazmin-books.co.uk/images/011/m_... The Tudors: King Takes Queen: Series Two Companion 1144

  5. #25
    Join Date
    Jul 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Specials

    I think it could be down to the mass amount of books I have there is over 250k of books in the data base so I guess it might have some problems not sure what the max is for Zen Cart

  6. #26
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Specials

    The number of products should not affect this at all ...

    I just cannot pinpoint if this is bad data or something with the files ...

    Could you edit the file:
    /includes/modules/specials_index.php

    and around line 52 add this code:
    Code:
    echo 'SQL SAYS: ' . $specials_index_query;
    if ($specials_index_query != '') $specials_index = $db->ExecuteRandomMulti($specials_index_query, MAX_DISPLAY_SPECIAL_PRODUCTS_INDEX);
    What does that read on the screen?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #27
    Join Date
    Jul 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Specials

    Hi

    Its not just doing it for specials through.

    Check this out

    http://www.jazmin-books.co.uk/index....Path=1264_1266

    When there is not 12 products its doubling them its wired.


    I have even done a update query to start adding dates to products inserted but its not really had a effect on it.

  8. #28
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Specials

    Any chance you could try adding the echo so we can see what the SELECT is reading?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #29
    Join Date
    Jul 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Specials

    SQL SAYS: select p.products_id, p.products_image, pd.products_name, p.master_categories_id from (products p left join specials s on p.products_id = s.products_id left join products_description pd on p.products_id = pd.products_id ) where p.products_id = s.products_id and p.products_id = pd.products_id and p.products_status = '1' and s.status = 1 and pd.language_id = '1'

  10. #30
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Specials

    That looks correct ...

    Without actually seeing your database and code on the server I really cannot go much further with this ...

    It strikes me as bad data, or possibly something in the code, but so far we have not pin pointed it ...

    You do not have Products and Categories mixed in your Categories do you?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v139h Catalog / Specials Page, How to change the number of specials displayed
    By lynbor in forum Customization from the Admin
    Replies: 2
    Last Post: 12 Jun 2015, 07:19 PM
  2. Replies: 1
    Last Post: 23 Jun 2013, 01:59 AM
  3. specials page is not displaying items that were set to be specials
    By mayleine in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Dec 2010, 12:49 PM
  4. fixing specials product in specials box on homepage
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Nov 2010, 04:25 PM
  5. Include specials end date to under specials price?
    By this side up in forum Setting Up Specials and SaleMaker
    Replies: 7
    Last Post: 13 Jun 2007, 04:47 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