Jump to content

[Gelöst] Nach Verschieben: Bestellungen werden auch ohne Akzeptieren der AGB durchgeführt


Recommended Posts

Hallo zusammen,<br/><br/>ich habe in PS 1.4.2.5 die Checkbox zum Akzeptieren der AGBs von der Versand-Seite auf die letzte Seite des Bestellprozesses verschoben (also z.B. modules/bankwire/payment.php). Nun wird aber die Fehlermeldung nicht mehr angezeigt, wenn die Checkbox nicht angeklickt wird und die Bestellung geht trotzdem durch. Hat jemand eine Ahnung, woran das liegen kann? Habe ich irgendetwas vergessen, mit rüberzunehmen? <br/><br/>Hier ist meine modules/bankwire/payment_execution.tpl, in der die Abfragen nun drin sind: <br/><br/>

<br/>{if !$opc}<br/>    [removed]<br/>    <!--<br/>        var baseDir = '{$base_dir_ssl}';<br/>    --><br/>    [removed]<br/>    [removed]<br/>    var msg = "{l s='You must agree to the terms of service before continuing.' js=1}";<br/>    {literal}<br/>    function acceptCGV()<br/>    {<br/>        if ($('#cgv').length && !$('input#cgv:checked').length)<br/>        {<br/>            alert(msg);<br/>            return false;<br/>        }<br/>        else<br/>            return true;<br/>    }<br/>    {/literal}<br/>    [removed]<br/>{/if}<br/><br/>{capture name=path}{l s='Bank wire payment' mod='bankwire'}{/capture}<br/>{include file="$tpl_dir./breadcrumb.tpl"}<br/><br/><h2>{l s='Order summary' mod='bankwire'}</h2><br/><br/>{assign var='current_step' value='summary'}<br/>{include file="$tpl_dir./order-steps.tpl"}<br/><br/>{if $nbProducts <= 0}<br/>    <p class="warning">{l s='Your shopping cart is empty.'}</p><br/>{else}<br/>{include file=$tpl_dir./shopping-summary.tpl} <br/><br/><h3>{l s='Bank wire payment' mod='bankwire'}</h3><br/><form action="{$link->getPageLink('validation.php', true)}" method="post"><br/><p><br/>    <img src="{$this_path}bankwire.jpg" alt="{l s='bank wire' mod='bankwire'}" width="86" height="49" style="float:left; margin: 0px 10px 5px 0px;"><br/>    {l s='You have chosen to pay by bank wire.' mod='bankwire'}<br/>    <br/>
<br/>    {l s='Here is a short summary of your order:' mod='bankwire'}<br/></p><br/><p style="margin-top:20px;"><br/>    - {l s='The total amount of your order is' mod='bankwire'}<br/>    <span id="amount" class="price">{displayPrice price=$total}</span><br/>    {if $use_taxes == 1}<br/>        {l s='(tax incl.)' mod='bankwire'}<br/>    {/if}<br/></p><br/><p><br/>    -<br/>    {if $currencies|@count > 1}<br/>        {l s='We accept several currencies to be sent by bank wire.' mod='bankwire'}<br/>        

<br/>        {l s='Choose one of the following:' mod='bankwire'}<br/>        <select id="currency_payement" name="currency_payement"><br/>            {foreach from=$currencies item=currency}<br/>                <option value="{$currency.id_currency}" {if $currency.id_currency == $cust_currency}selected="selected"{/if}>{$currency.name}</option><br/>            {/foreach}<br/>        </select><br/>    {else}<br/>        {l s='We accept the following currency to be sent by bank wire:' mod='bankwire'} <b>{$currencies.0.name}</b><br/>        <input type="hidden" name="currency_payement" value="{$currencies.0.id_currency}" /><br/>    {/if}<br/></p><br/><p><br/>    {l s='Bank wire account information will be displayed on the next page.' mod='bankwire'}<br/>    

<br/>    <b>{l s='Please confirm your order by clicking 'I confirm my order'' mod='bankwire'}.</b><br/></p><br/><br/>{if $conditions AND $cms_id}<br/>    <h2 class="condition_title">{l s='Terms of service'}</h2><br/>    <p class="checkbox"><br/>        <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} /><br/>        <label for="cgv">{l s='I agree to the terms of service and adhere to them unconditionally.'}</label> <a href="../../cms.php?id_cms=3" class="iframe">{l s='(read)'}</a><br/>    </p><br/>    [removed]$('a.iframe').fancybox();[removed]<br/>{/if}<br/><br/><p class="cart_navigation"><br/>    <a >getPageLink('order.php', true)}?step=3" class="button_large hideOnSubmit">{l s='Other payment methods' mod='bankwire'}</a><br/>    <input type="submit" name="submit" value="{l s='I confirm my order' mod='bankwire'}" class="exclusive_large hideOnSubmit" ><br/></p><br/></form><br/>{/if}

<br/><br/>Wäre für jede Hilfe dankbar!!!!<br/><br/>Gruß,<br/>Sassenach

Link to comment
Share on other sites

  • 2 weeks later...

Hallo,

ich habe genau das selbe Problem, nur das ich die Checkbox nicht verschoben habe, sondern das Problem nach dem Update auf PS 1.4 aufgetreten ist UND die Bestellungen NICHT durchgehen. Der Kunde weiß also gar nicht, warum sein Bestellprozess nicht voran geht. Das stellt sich als großes Problem heraus. Die Fehlermeldung erscheint nicht und die Bestellung bleibt stehen.

Brauche dringend Hilfe.

Danke! Crizzy

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...