Results 1 to 3 of 3

specials appear twice

This is a discussion on specials appear twice within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi, When an item is made a special, it appears twice if the manufacturers link is clicked for that item, ...

      
  1. #1
    Member
    Join Date
    Apr 2010
    Posts
    69
    Rep Power
    4


    Default specials appear twice

    Hi,

    When an item is made a special, it appears twice if the manufacturers link is clicked for that item, but not if the specials link is clicked. Once in awhile, I get this error message but when the page is refreshed there is no error. In the image below, if you click on the first item in "browse by product", the dupes appear as the image shows. Any thoughts? website is bubalina

    1062 - Duplicate entry '0' for key 'PRIMARY'

    insert into specials_retail_prices select s.products_id, s.specials_new_products_price, s.status, s.customers_group_id from specials s where s.customers_group_id = '0'

    [TEP STOP]

    Capture.JPG

  2. #2
    Member
    Join Date
    Nov 2011
    Location
    Scotland
    Posts
    78
    Rep Power
    21


    Default Re: specials appear twice

    I am getting a similar error when I click the link in the title of my Specials box.

    1062 - Duplicate entry '531' for key 1

    insert into specials_retail_prices select s.products_id, s.specials_new_products_price, s.status, s.customers_group_id from specials s where s.customers_group_id = '0'

    [TEP STOP]

    Have you had any success fixing this error?

  3. #3
    Member
    Join Date
    Nov 2011
    Location
    Scotland
    Posts
    78
    Rep Power
    21


    Default Re: specials appear twice

    After searching through the specials table in my database I found I have a duplicate entry.

    No idea how it happened but fixed now.

    If you get this problem just run this query changing the 531 for the number that shows in the error message;
    SELECT * FROM specials WHERE products_id=531
    Then delete one of the duplicate rows.

    Don't know if the duplicate shows up in Specials on the admin panel, if it does then you should be able to delete it from there if you are not comfortable using SQL

Similar Threads

  1. Scrolling Specials Bos
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-26-2009, 12:10 AM
  2. Mindsparx Specials
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-05-2009, 02:10 AM
  3. Web 2.0 Scrolling Specials
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-15-2009, 09:06 PM
  4. Specials Admin with Tax
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 03-02-2009, 05:50 AM
  5. Specials Administration fix
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-30-2008, 05:00 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
  •