Hi guys,
recently I have installed a PrestaShop 1.7.8.6. In checkout there is a condition which needs to be checked. It says something like "I have read the terms and conditions and agree to them without reservation." (translated from German). At the end of the post you can find a screenshot of what I mean.
I found out the condition is coming from this file /themes/classic/templates/checkout/_partials/steps/payment.tpl
<ul> {foreach from=$conditions_to_approve item="condition" key="condition_name"} <li> <div class="float-xs-left"> <span class="custom-checkbox"> <input id = "conditions_to_approve[{$condition_name}]" name = "conditions_to_approve[{$condition_name}]" required type = "checkbox" value = "1" class = "ps-shown-by-js" > <span><i class="material-icons rtl-no-flip checkbox-checked"></i></span> </span> </div> <div class="condition-label"> <label class="js-terms" for="conditions_to_approve[{$condition_name}]"> {$condition nofilter} </label> </div> </li> {/foreach} </ul>
But I can not find where the content is coming from, also Google was not a helper here.
And as I need (or better say want) to add another condition (with a separate checkbox) I need to know where the initial condition is coming from, to add the other one the same way as the first was added.
Thanks a lot for your, appreciate it
Kalle
.png.022b5452a8f28f552bc9430097a16da2.png)