Results 1 to 2 of 2

Thread: Duplicate coupons

  1. #1
    Affiliate Member AppThemes Affiliate vulcain's Avatar
    Join Date
    Feb 2012
    Location
    France
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Duplicate coupons

    I you use a service like icodes or any other to feed the database the script needs to create a coupon unique identifier to avoid duplicates coupons, sometimes 10 times the same in the same page.
    In this case this script is useless for automatic feeding.

    I believe the best would be to create an unique id with the url of the site the title.
    The unique id should be created on the fly when the coupon is created with the crc32 or md5 of urlsite+title.
    Duplicates won't be inserted in the db.
    I see you use
    $clpr_item_id = uniqid(rand(10,1000), false);
    the id is unique but for the same coupon, it will have another id, so posted again.

    I believe this is the most important feature for coupons, otherwise I just cannot use it.

  2. #2
    meloniq's Avatar
    Join Date
    May 2011
    Location
    Poland
    Posts
    1,074
    Thanks
    17
    Thanked 178 Times in 159 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Have Clipper website?! --> You need coupons importer!!!
    See available integrations with affiliate networks: Commission Factory, CJ Affiliate, Daisycon, Rakuten LinkShare, ShareASale, Tradedoubler, TradeTracker

    Payment gateways: Bitpay, Dotpay, PayU PL, Przelewy24, Skrill

    me @ AT || meloniq.net

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. anyway to find duplicate coupons
    By mefindcoupon in forum Report Clipper Bugs
    Replies: 3
    Last Post: June 4th, 2014, 03:22 PM
  2. Duplicate coupons with same clpr_id
    By ladybug in forum Report Clipper Bugs
    Replies: 21
    Last Post: September 25th, 2013, 06:05 PM
  3. Display popular coupons instead of new coupons on landing page
    By rbatt in forum Clipper General Discussion
    Replies: 7
    Last Post: March 4th, 2013, 08:17 AM
  4. Why are Expired Coupons showing as Active Coupons?
    By davids in forum Report Clipper Bugs
    Replies: 1
    Last Post: October 27th, 2011, 06:31 AM