Price, only for registered users?

  • Author
    Posts
  • #1337755

    mrshaked
    Member

    Hello,

    I want to hide price for unregistered users. I using CART66 plugin

    if(CART66_PRO && $p->is_paypal_subscription == 1) {
    $sub = new Cart66PayPalSubscription($p->id);
    $subPrice = strip_tags($sub->getPriceDescription($sub->offerTrial > 0, '(trial)'));
    $prices[] = htmlspecialchars($subPrice);
    $optionClasses .= " subscriptionProduct ";
    //Cart66Common::log('[' . basename(__FILE__) . ' - line ' . __LINE__ . "] subscription price in dialog: $subPrice");
    }
    else {
    $priceDescription = __('Price:', 'cart66') . ' ' . Cart66Common::currency($p->price);
    if($p->price_description != null) {
    $priceDescription = $p->price_description;
    }

    $prices[] = htmlspecialchars(strip_tags($priceDescription));
    }

    What i must change?

    #1337836

    supportbot
    Member

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

    #1337838

    timethief
    Member

    That’s not a free hosted WordPress.com blog issue and those are the only issue we deal with on the WordPress.com support forums. You are posting to the wrong support forum. WordPress.com and WordPress.org are completely separate and have separate logins. If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there and receive advice from WordPress.ORG bloggers.

The topic ‘Price, only for registered users?’ is closed to new replies.