WordPress.org

Ready to get started?Download WordPress

Forums

Cart66 Lite :: WordPress Ecommerce
Price, only for registered users? (1 post)

  1. skmaksio
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/cart66-lite/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.