Jump to content

AGB + Widerruf: Verlinkungen beim Checkbox Label funktionieren nicht richtig


Recommended Posts

hallo zusammen,

 

ich habe im Modul die Funktion "Widerrufsrecht in den AGB" aktiviert. Damit wird der folgende Code relevant, soweit ich das verstanden habe:

<label for="cgv">
{l s='I agree to the [1]terms of service[/1] and to the [2]terms of revocation[/2] and will adhere to them unconditionally.' tags=['<a href="'|cat:{$link_conditions|escape:'html':'UTF-8'}|cat:'" class="iframe" rel="nofollow">','<a href="'|cat:{$link_revocations|escape:'html':'UTF-8'}|cat:'" class="iframe" rel="nofollow">']}
</label>

Und mit dem Code erscheint der folgende Text auf der Checkout page:

 

I agree to the terms of service and to the terms of revocation and will adhere to them unconditionally.

wobei hier "terms of service" und "terms of revocation" als iframe Link hinterlegt sind, wie im Code ersichtlich wird.

 

Es funzt aber nur, wenn noch keine Adresse eingegeben wurde.

 

Sobald man im Guest Checkout eine Adresse speichert, ändert sich der Abschnitt mit der Checkbox. Es erscheint immer noch derselbe Text, aber der zweite Link wird nicht übernommen. Der iFrame lädt bei Klick als Overlay aber es erscheint nur die Meldung "The requested content cannot be loaded. Please try again later." Im Quelltext ist auch keine URL zu sehen.

 

Was läuft hier falsch? Was lädt im Hintergrund neu und warum geht der Link dann nicht mehr?

 

(Habe übrigens in allen denkbaren Dateien denselben Code für das Label hinterlegt: order-carrier.tpl, order-payment-advanced.tpl, hookOverrideTOSDisplay.tpl etc.)

 

 

Bin dankbar für jeden Tipp!

 

Gruss

Roland

Edited by Netzfischer (see edit history)
Link to comment
Share on other sites

  • 2 years 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...