ディスカッション

スイート全体に組み込まれたAI機能は、データをより迅速に分析し、より優れた意思決定を促進する独自の考察を生成できるようにすることで、生産性を向上させ、リーダーに利便性をもたらします。オラクルのAI機能がどのように役立つかについては、これらのオンデマンド・ウェビナーをご覧ください。

AIを用いた自動化で請求書処理を合理化

AIを用いた考察を使用して、計画と予測を迅速化
NetSuiteの保存検索やレポートをマスターするための究極のガイドである分析センターを使用して、データの力を最大限に活用しましょう。複雑さを単純化し、組織の真の可能性を解き放ちます。今すぐ分析センターに参加して、新たな高みを目指しましょう!
NetSuite Release 2025.1リリース・ノートは、こちらからダウンロードできます。
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more

SuiteCommerceでクレジットカード支払い方法を削除する 

編集済:Jun 2, 2025 2:47PM ウェブサイト / Eコマース

適用

製品: NetSuite 2021.1
バンドル:  SuiteCommerceおよびSuiteCommerce Advanced

シナリオ

次の回避策は、DOMを介して支払い方法セレクターのクレジットカードオプションを自動的に非表示にし、基本的にクレジットカードの注文を防ぎます。

解決策

  • 1. サイト管理ツール管理者にログインします

2. ログインしたら、買い物客としてログインし、チェックアウト> 支払いページに移動します

3. 上部の編集モード(鉛筆)ボタンをクリックして、編集モードに切り替えます

4. 編集モードで、追加(プラス)ボタンをクリックします

5. CMS HTML()をクリックして、一番上の「すべてのページ」セクションにドラッグします

6. HTMLコードフィールドに、次のスクリプトを入力します

<script type="text/javascript">
$(document).ready(function() {
if (window.location.hash == '#billing'){


var sel = new Array();
$('.order-wizard-paymentmethod-selector-module-options').find('option').each(function() {
	var pymts= $(this).val();
	sel.push(pymts);
});
var ccIndex = sel.indexOf('creditcard');


var selected = document.getElementsByClassName('order-wizard-paymentmethod-selector-module-options')[0].selectedOptions[0].value;


if (selected == 'creditcard'){
document.getElementsByClassName('order-wizard-paymentmethod-selector-module-options')[0].selectedOptions[0].text = '';
}


document.getElementsByClassName('order-wizard-paymentmethod-selector-module-options')[0].options[ccIndex].style.visibility = 'hidden'
document.getElementById('payment-method-selector-content').style.visibility = 'hidden';
document.getElementById('payment-method-selector-content').style.height = '0px';
document.getElementsByClassName('order-wizard-paymentmethod-creditcard-module-selected-card')[0].style.visibility = 'hidden';
document.getElementsByClassName('order-wizard-paymentmethod-creditcard-module-selected-card')[0].style.height='0px';
}
});


</script>


<script type = "text/javascript">
var cc;
$(document).on('click', 'select.order-wizard-paymentmethod-selector-module-options', retrieve);


function retrieve(){
var sel = new Array();
var pymts;


$('.order-wizard-paymentmethod-selector-module-options').find('option').each(function() {
	pymts= $(this).val();
	sel.push(pymts);
});
var ccIndex = sel.indexOf('creditcard');
cc = $('select.order-wizard-paymentmethod-selector-module-options')[0].options[ccIndex];
$(cc).hide();
console.log('cc hidden');
}
</script>
タグ付けされた:

ようこそ!

サインイン

完全な詳細を表示するには、サインインしてください。

登録

アカウントがありませんか?ここをクリックして始めましょう!

リーダーボード

コミュニティの達人

第4四半期 (Oct-Dec 2025年)

今週のリーダー

今月のリーダー

歴代リーダー