짧은 버전 :
미국 내 48 세 미만 사용자는 Paypal을 결제 방법으로 만 받겠습니다.
이 옵션은 이미 bigcommerce에 결제 옵션으로 설치되어 있으며 드롭 다운 메뉴의 선택에 따라 해당 지불 게이트웨이를 숨기는 기능이 아닙니다.
불행히도 나는 충분히 큰 커머스를 모른다. 그러나 나는 많은 문제없이 x- 카트와 같은 다른 카트에 이것을 코드화 해 냈다. 누군가가 이것을 경험했거나 나를 위해 고치는가?
현재 Google은 판매자 계정을 통해 결제 할 때 미국 이외의 국가에있는 판매자에게 지급을 중단하고 Google 사이트에 배너를 게시했으나 사람들이 그 곳에 앉아서 CC 정보를 12,000 번 홍수에 범했습니다 캡처 경고 -_- 미리
덕분에 내 메일 박스
Currnetly 초석 1.5 테마를 실행BigCommerce : 국가 별 지불 옵션 제한
0
A
답변
0
한 가지 가능한 솔루션은 배송 또는 청구 국가 중 하나를 읽고 다음 관련 지불을 표시하기 위해 자바 스크립트를 사용할 수 행동 양식. 여기
는 특정 요소를 선택 (대상 요소에 대한 적절한 선택기를 결정하기 위해 브라우저의 개발자 도구를 사용)하는 방법을 알고 가정 개념 예입니다 ../**
* This example binds a change event to the shipping country input dropdown,
* so whenever a country is selected or changed, this code will show the relevant
* payment methods.
* NOTE: The change method here might not work if the payment methods section
* is inaccessible at the time of country selection, at which point you should
* modify the code to read the country at the time of DOM load for the payment methods.
*/
//** Whenever the shipping country is selected or changed **//
$("#shipping_country_dropdown").change(function() {
// Hide/Clear all visible payment options:
$(".payment_methods :input").each(function() {
$(this).hide();
});
togglePaymentMethodsByCountry($(this).find('option:selected').text());
});
/**
* Displays specific payment methods depending on the customer's selected billing or shipping country.
* You set the list of countries and their allowed payment methods here.
* @param country String - The customer selected country.
* @return Void
*/
function togglePaymentMethodsByCountry(country) {
//** Define your country/payment options here, countries in caps **//
switch(country.toUpperCase()) {
case "UNITED STATES OF AMERICA":
$('#payment_method_1').show();
$('#payment_method_2').show();
$('#payment_method_3').show();
break;
case "CANADA":
$('#payment_method_1').show();
$('#payment_method_2').show();
break;
default:
// For all other countries not listed above:
$('#payment_method_3').show();
break;
}
}
관련 문제
- 1. 국가 별 액세스 제한
- 2. 사용자 국가 별 iPhone 인앱 구매를 제한합니다.
- 3. 국가 별 자홍색 제품
- 4. 국가 별 앱 스토어
- 5. 국가 별 좌표/지역
- 6. Wordpress 국가 별 콘텐츠
- 7. 로케일 별 심포니 국가
- 8. 국가 별 주소 입력란
- 9. 국가 별 YQL
- 10. 국가 별 지리 차트
- 11. 국가 별 팝업
- 12. 국가 별 이자율보기
- 13. Sharepoint - 국가 별 설정
- 14. 국가 별 페이지 순위
- 15. 국가 별 SqL 디자인 - 국가 - 도시
- 16. 옵션 국가 html로 mysql
- 17. 특정 국가 제한 Appstore
- 18. Facebook 앱 국가 제한
- 19. DotNetZip 국가 별 편지 변경
- 20. 국가 별 maptools로 그려보기 - R
- 21. Nginx : 국가 별 SSL 인증서
- 22. 국가 별 퀴즈 결과 정렬
- 23. Yahoo Weather 국가 별 Query?
- 24. 국가 별 드롭 다운 내역
- 25. 국가 별 수퍼 유저 액세스
- 26. 국가 별 국기로 국기 표시
- 27. 탄성 검색 - 국가 별 유사
- 28. 콤보 상자의 국가 별 정렬
- 29. Laravel 4 국가 별 번역
- 30. 국가 별 그림 정보 Android