first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{*
* prestashop 1.6
*}
<script>
setTimeout(function() {
var paymentOptions = document.querySelector(".payment-option");
if (paymentOptions !== undefined && paymentOptions.length === undefined) { // only one payment method active
var inputId = paymentOptions.id.replace('-container', '');
document.getElementById(inputId).checked = true;
var additionalInformation = document.getElementById(inputId + '-additional-information');
if (additionalInformation) {
additionalInformation.style.display = "block";
}
var formObj = document.getElementById('pay-with-' + inputId + '-form');
if (formObj) {
formObj.style.display = "block";
}
}
}, 500);
</script>