Results 1 to 2 of 2

Thread: How to load STORE URL

  1. #1
    Thread Starter
    Member frostiecuk's Avatar
    Join Date
    Nov 2011
    Location
    United Kingdom
    Posts
    84
    Thanks
    11
    Thanked 3 Times in 3 Posts

    How to load STORE URL

    I need to go though and change everything so that any clicks load the STORE URL and not the MERCHANT URL.

    I know the change/mod needs to be made in the theme-functions.php file, and have found the actual line that needs to be updated;
    Code:
    <a href="<?php echo clpr_get_coupon_out_url( $post ); ?>" id="coupon-link-<?php echo $post->ID; ?>" class="coupon-code-link" title="<?php _e( 'Click to copy &amp; open site', APP_TD ); ?>" target="_blank" data-rel="<?php echo wptexturize( get_post_meta( $post->ID, 'clpr_coupon_code', true ) ); ?>">
    Does anyone know how I can get this to echo the associated STORE ULR and not the associated post or merchant URL?

    I've checked in the backend database (wp_clpr_storesmeta) and can see that the STORE URL is saved as a meta kety called cplr_store_url whereas the MERCHANT URL is saved as a meta kety called cplr_store_aff_url. Sadly despite trying, I've failed to get it to work.

  2. #2
    Thread Starter
    Member frostiecuk's Avatar
    Join Date
    Nov 2011
    Location
    United Kingdom
    Posts
    84
    Thanks
    11
    Thanked 3 Times in 3 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. Replies: 2
    Last Post: February 4th, 2014, 04:18 PM
  2. Replies: 0
    Last Post: November 22nd, 2013, 01:05 AM
  3. Replies: 0
    Last Post: November 22nd, 2013, 12:39 AM
  4. Dimitris store coupons not show in store name page
    By slvester in forum Report Clipper Bugs
    Replies: 1
    Last Post: February 25th, 2013, 01:44 PM
  5. Store logos in stead of store screenshot.
    By savebox in forum Report Clipper Bugs
    Replies: 1
    Last Post: July 3rd, 2012, 08:54 AM