<?php if ($item['action'] == 'license'): ?>
  <?php $sslpaketi = $whmcs->GetProducts($item['productId']);?>
  <div class="cart-item">
      <h4><?php echo $sslpaketi['name']; ?></h4>
      <p id="service-duration-<?php echo $item['productId']; ?>" data-domain="<?php echo $item['domain']; ?>">
        <?php echo $item['domain'] ?> - Ürün / Hizmet - (1 Ay) <usd>$<?php echo $sslpaketi['pricing']['USD']['monthly']; ?></usd><try>₺<?php echo number_format($sslpaketi['pricing']['USD']['monthly'] * $currency_rate, 2); ?></try>
      </p>
      <div class="row">
        <div class="col-sm-10">
          <p class="form-control">IP Adresi: <?php echo $item['domain']; ?></p>
        </div>
        <div class="col-sm-2">
          <form action="" method="post">
            <input type="hidden" name="delete" value="<?php echo $item['productId']; ?>">
            <button style="width:100%;" type="submit" class="btn btn-warning"><i class="fa-solid fa-trash"></i> Kaldır</button>
          </form>
        </div>
        <div style="display:none;">
          <span id="original-price-<?php echo $item['productId']; ?>" class="original-price">0.60</span>
          <span id="discounted-price-<?php echo $item['productId']; ?>" class="discounted-price">0.50 (%20 indirim)</span>
        </div>
      </div>
  </div>
<?php endif; ?>
