Results 1 to 4 of 4

Thread: Price tag

  1. #1
    Unregistered
    Thread Starter
    Guest Unregistered's Avatar

    Price tag

    Hello, I would like to replace the price tag by a green button that lights on when user is "on line" and a red button next to it when user is "offline". Is there a way to get a quote for that so i can budget before buying the theme? thanks

  2. #2
    meloniq's Avatar
    Join Date
    May 2011
    Location
    Poland
    Posts
    1,079
    Thanks
    17
    Thanked 178 Times in 159 Posts
    Price tag is added by action hooks, You can remove it with:
    PHP Code:
    function childtheme_remove_price_tag() {
      
    remove_action'appthemes_before_post_title''cp_ad_loop_price' );
    }
    add_action'appthemes_init''childtheme_remove_price_tag' ); 
    and then hook into this place your user login status buttons with:
    PHP Code:
    function childtheme_add_user_status_buttons() {
      
    // Your buttons goes here
    }
    add_action'appthemes_before_post_title''childtheme_add_user_status_buttons' ); 
    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

  3. #3
    Sciexy
    Guest Sciexy's Avatar
    Bravo, fantasy))))

  4. #4
    Unregistered
    Thread Starter
    Guest Unregistered's Avatar
    i'm not really an expert with all this, but from what i understood is that i simply need to add these 2 functions you listed with both buttons and it shoud work? thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How can I hide the price and yellow button when price is not required?
    By manilaboy in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: December 28th, 2012, 06:13 PM
  2. Replace price slider with min and max price boxes in refine results
    By einstein in forum ClassiPress General Discussion
    Replies: 0
    Last Post: November 17th, 2012, 09:36 AM
  3. Pricing Structure -- % of Sellers ad Price & Fixe Price per Ads
    By tech9 in forum ClassiPress General Discussion
    Replies: 2
    Last Post: December 28th, 2010, 01:38 PM
  4. mixture of fixed price and price per category
    By techbroker in forum ClassiPress General Discussion
    Replies: 1
    Last Post: December 14th, 2010, 10:36 PM