Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1

    bug [Done v139] Sale Maker listing sort by price

    I think I have found a bug when the Sale Maker is in effect.
    I have tested a 50% discount across my whole catalogue.
    When I list all products and try to sort the list by price, it doesn't work correctly because the 'order by' in the SQL SELECT statement is using 'products_price_sorter' from the products table, but they are all set at zero except for any items I already had on special.
    Should using the Sale Maker populate this field in the products table?

    Apologies if this question has already been asked; I can't search this forum for some reason. Probably because I'm using IE!

    I'm running Zen Cart 1.3.8a

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

    Default Re: Sale Maker listing sort by price

    I would make sure that all of your Products have a master_categories_id set on them ...

    Then, I would check that you have applied the Known Bug Fixes at:
    http://www.zen-cart.com/forum/showthread.php?t=82619

    NOTE: this is also a good time to ensure that you have added all of the Security Updates and Patches:
    http://www.zen-cart.com/forum/showthread.php?t=131115
    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!

  3. #3

    Default Re: Sale Maker listing sort by price

    Thanks Linda,
    I'll have a look at that bug fix and report back.
    I've installed most of the security patches already but haven't checked if there are any new ones for a month or so, so I'll take a look at them too.
    Thanks for reminding me

  4. #4

    Default Re: Sale Maker listing sort by price

    Hi Linda,
    I've checked and all my products have a master category id,
    I'm up to date with all the security patches and I can't see any bug fix related to my problem.
    The closest one is 'Sales made with Salemaker having trouble on some sales with Linked Products' but that doen't really describe my issue.

    Am I right in thinking that applying a sale should populate the products_price_sorter column in the products table?

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

    Default Re: Sale Maker listing sort by price

    Yes it does for all Products that match the Sale ...

    If you have set the Sale on the whole catalog ... you should see the products_price_sorter field update with the new prices ...

    What are your settings on the Sale? and does it have the RED dot or the GREEN dot on it?
    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!

  6. #6

    Default Re: Sale Maker listing sort by price

    Hi Linda,
    I have deduction set at 50 percent
    Price range 0 to 0
    Start date is blank
    End date is blank

    Sale is applied to entire catalogue.
    Green dot is on and prices are reflected in the catalogue.

    I've tried applying the sale to just one category, entering a start and end date and a from and to price but nothing seems to work.
    The products_price_sorter is still 0 on my products table.

    Is there anything else I can check?
    If you can point me at which php file should be doing the update I'll have a look and see if I can see what the problem is.

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

    Default Re: Sale Maker listing sort by price

    What is the setting for:
    Specials Condition: Apply SaleDeduction to Specials Price - Otherwise Apply to Price


    That is what I am using ...
    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!

  8. #8

    Default Re: Sale Maker listing sort by price

    I tried all 3 and got nothing.

    I've just been debugging 'zen_update_salemaker_product_prices' in admin/includes/functions/general.php.

    The first select statement is:
    select sale_categories_selected from zen_salemaker_sales where sale_id = '3'

    ...which returns 1 row. The problem is column sale_categories_selected = NULL so the update loop doesn't fire.

    Any idea why sale_categories_selected = NULL in my table?

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

    Default Re: Sale Maker listing sort by price

    And you are sure that you have the first box checked for Entire Catalog?
    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!

  10. #10

    Default Re: Sale Maker listing sort by price

    Yeah, It's checked.
    I've tried switching the sale off and back on with the green/red dot too.

    Here's my admin/salemaker.php header:
    Code:
    /**
     * @package admin
     * @copyright Copyright 2003-2007 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: salemaker.php 6369 2007-05-25 03:03:42Z ajeh $
     */
    Is that the same as yours?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v138a Sale Maker Do not show the price on the Product Page
    By oraib in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 6 Sep 2012, 02:43 PM
  2. Replies: 17
    Last Post: 26 Jul 2010, 03:18 PM
  3. Product Listing Sort Error (sort by price ... doesn't)
    By Alex Clarke in forum General Questions
    Replies: 12
    Last Post: 18 Mar 2009, 12:02 AM
  4. Sale Maker
    By Tyhapus in forum General Questions
    Replies: 4
    Last Post: 15 Jan 2007, 06:15 PM
  5. Sale Maker
    By aquaessential in forum General Questions
    Replies: 8
    Last Post: 11 Jun 2006, 12:26 AM

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