WIACPSite teması 0.2.0-alpha.92
English

§5.7

Satış ortaklığı ve kampanyalar

  • Faz 10.7b
  • tema 1.7.0
Dosya Sayfa Başlıca değişkenler
affiliate.wcp Hesabım › Satış ortaklığı (panel) $status (active / restricted / disabled), $status_message, $code, $ref_url, $level {rank, name, since}, $kpis {total, pending, available, reserved, paid, has_reserved}, $perf {clicks, clients, sales, volume}, $tab, $tabs (key, label, url, active), $terms; sekmeye göre: Özet $recent, $earnings_url, $next_level, $level_locked, $progress (label, have, need, pct, ok), $benefits (label, value); Kazançlar $commissions, $commission_filters, $commission_total, $periods, $earnings_note; Bağlantılar $links (id, label, target, url, clicks, signups, active, toggle_html), $link_limit, $can_create; Çekimler $requests (id, number, date, method, amount, status, status_label, tone, reference, actions_html), $available, $minimum, $can_withdraw; Ödeme bilgileri $payout {holder, bank, iban maskeli} ya da null, $payout_currency; Destek $tickets (subject, date, topic, answered, replies); $blocks: link_form_html, withdraw_form_html, payout_form_html, support_form_html, pagination_html, script_html
affiliate-apply.wcp Satış ortaklığı başvurusu (panel) $state (new / pending / info / rejected), $message, $applied_on, $reapply_on, $can_apply, $points (title, text), $terms, $summary (incelemedeyken: website, channels, iban maskeli), $blocks['form_html'] (başvuru açık değilse null)
affiliate-program.wcp Program sayfası (herkese açık) $heading, $lead, $steps (title, text), $levels (rank, name, rate — oranlar kapalıysa null —, benefits), $show_rates, $terms, $register_url (kayıt kapalıysa null), $login_url
campaigns.wcp Kampanyalar (herkese açık) $heading, $lead, $enabled, $is_client, $campaigns (id, title, summary, body_html temizlenmiş, image, until, ending, coupon, claimed_html, claim_html, open), $phone_pending, $subscribed, $subscribed_text, $blocks (phone_html, subscribe_html)
campaign-message.wcp Bülten onay sonucu (herkese açık) $heading, $text (düz metin), $campaigns_url, $home_url
unsubscribe.wcp Abonelikten çıkış (herkese açık, imzalı bağlantı) $heading, $to (maskeli), $done, $can_sms, $home_url, $campaigns_url, $blocks['form_html'] (çıkılmışsa null)

Kurallar

  • Tutarlar, bakiyeler, seviye ölçütleri ve komisyon durumları Core'dadır; tema hesap yapmaz. Referans müşterinin adı, e-postası, sipariş / fatura / ürün bilgisi, yönetici notu ve tam IBAN temaya gelmez. Kayıtlı IBAN form alanına da yazılmaz.
  • Formlar ve satır işlemleri (*_html) Core parçalarıdır: uçlar, CSRF, doğrulama, hız sınırı, mutabakat onayı, captcha, tuzak alan ve doldurma süresi aynıdır. Kopyalama düğmeleri data-af-copy ile Core betiğini (script_html) kullanır.
  • Kupon kodu yalnızca giriş yapmış müşterinin kendi kodu olarak gelir (claimed_html); ziyaretçiye maskeli adresle "gönderildi" bildirimi gelir.
  • Abonelikten çıkış sayfası bağlantıyı açınca değil düğmeyle çıkarır; tekrar istek idempotenttir. Pazarlama izni ile zorunlu bildirimler ayrıdır.
  • Asgari temada (şablon yoksa) aynı veriyle Core görünümleri kullanılır.