Results 1 to 6 of 6

Thread: How to Import New Stores with Stores URL

  1. #1
    Thread Starter
    validcouponsco's Avatar
    Join Date
    Jul 2012
    Location
    United States
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to Import New Stores with Stores URL

    I am in the process of importing coupon codes from Popshops.

    To do this, I am using "wp_insert_post" to add the new coupons.

    I am setting the store name via "wp_set_object_terms."

    Everything works fine, a new "store" is created with the correct name.

    The problem is, my "store" does not contain a "store url".

    I am trying to populate the "store url" using this function:

    wp_update_term( 41, 'stores',
    array(
    'clpr_store_url' => $url,
    )
    );



    41 is the taxonomy id of the specific store
    clpr_store_url is the field I believe represents "store url"
    $url is the store url I am getting from popshops.

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,865 Times in 1,765 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Newbie franzi's Avatar
    Join Date
    Nov 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,865 Times in 1,765 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Newbie franzi's Avatar
    Join Date
    Nov 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,865 Times in 1,765 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Popular Stores isn't showing more then 3 stores???
    By agency in forum Report Clipper Bugs
    Replies: 10
    Last Post: June 24th, 2012, 06:05 PM
  2. Import Stores Only
    By nubricks in forum Report Clipper Bugs
    Replies: 1
    Last Post: June 11th, 2012, 08:49 AM
  3. ClassiPress Stores
    By paragsj in forum ClassiPress General Discussion
    Replies: 2
    Last Post: August 2nd, 2011, 02:48 AM
  4. ClassiPress Stores
    By paragsj in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: August 2nd, 2011, 02:35 AM