Altersabfrage hinzufügen

Dein Shop kann von jeder Person im Internet aufgerufen werden, darunter auch von Minderjährigen. Falls du in deinem Shop nicht jugendfreie Produkte wie zum Beispiel Alkohol anbietest, kannst du bei Betreten der Seite eine Altersabfrage hinzufügen.
Dafür sind die folgenden Schritte notwendig:

Schritte, um das Template zu erstellen:

  • Kopiere den unten stehenden Code
  • Erstelle auf deinem PC ein neues Textdokument
    • Klicke mit der rechten Maustaste auf den Desktop und wähle dann neu -> Textdokument
  • Füge den Code ein
  • Klicke auf Datei -> Speichern unter
  • Speichere die Datei als altersverifizierung.json

Schritte, um die Altersabfrage hinzuzufügen:

  1. Navigiere in deinem Admin-Bereich zu Design -> Popups
  2. Klicke auf Templates importieren
  3. Klicke auf Datei auswählen
  4. Wähle das Template aus und klicke auf Jetzt Importieren
  5. Klicke auf Mit dem Elementor bearbeiten
  6. Bearbeite das Popup nach deinen Vorstellungen
  7. Klicke auf Speichern
  8. Klicke auf Konditionen hinzufügen
  9. Wähle den Reiter Triggers und aktiviere On Page Load
  10. Wähle den Reiter Advanced Rules, aktiviere Show up to X times und setze den Zähler auf 3
  11. Klicke auf Safe and Close

Die Bearbeitung des Popups erfolgt mit dem Elementor. Weitere Informationen zum Elementor kannst du hier finden.

Code:

{"version":"0.4","title":"alter","type":"popup","content":[{"id":"409f56fc","settings":{"custom_height":{"unit":"px","size":"","sizes":[]}},"elements":[{"id":"42e2b0c9","settings":{"_column_size":"100","padding":{"unit":"px","top":"25","right":"25","bottom":"25","left":"25","isLinked":"1"}},"elements":[{"id":"668b3a36","settings":{"image":{"id":326,"url":"https:\/\/lh-testshop.mysupr.de\/wp-content\/uploads\/sites\/5621\/2020\/04\/placeholder.png"},"image_size":"thumbnail","align":"center","width":{"unit":"px","size":"220","sizes":[]},"_margin":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":""},"_padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":""},"_animation":"tada","space":{"unit":"%","size":"80","sizes":[]}},"elements":[],"isInner":false,"widgetType":"image","elType":"widget"},{"id":"f404c92","settings":{"title":"Pr\u00fcfung der Vollj\u00e4hrigkeit","align":"center"},"elements":[],"isInner":false,"widgetType":"heading","elType":"widget"},{"id":"2dd41afc","settings":{"editor":"<p>\u00a0<\/p><p style=\"text-align: center;\">... setzt sich f\u00fcr den verantwortlichen Umgang mit ... und den Schutz von Kindern und Jugendlichen ein. Da der Internetauftritt auch Informationen zu ... enth\u00e4lt, richtet er sich an Personen \u00fcber 18 Jahren.<\/p>","typography_typography":"custom","typography_font_family":"Ubuntu","typography_font_size":{"unit":"px","size":"15","sizes":[]},"column_gap":{"unit":"px","size":"0","sizes":[]},"_margin":{"unit":"px","top":"-14","right":"0","bottom":"0","left":"0","isLinked":""},"_padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":"1"}},"elements":[],"isInner":false,"widgetType":"text-editor","elType":"widget"},{"id":"7c01a7bf","settings":{"structure":"20"},"elements":[{"id":"28c3113","settings":{"_column_size":"50","space_between_widgets":"0"},"elements":[{"id":"324f5a58","settings":{"text":"Ich bin \u00fcber 18","align":"justify","selected_icon":{"value":"fas fa-check","library":"fa-solid"},"background_color":"#9b9b9b","button_background_hover_color":"#595959","border_radius":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":"1"},"__dynamic__":{"link":"[elementor-tag id=\"fc019aa\" name=\"popup\" settings=\"%7B%22action%22%3A%22close%22%2C%22do_not_show_again%22%3A%22yes%22%7D\"]"}},"elements":[],"isInner":false,"widgetType":"button","elType":"widget"}],"isInner":"1","elType":"column"},{"id":"4fccb403","settings":{"_column_size":"50"},"elements":[{"id":"564442e5","settings":{"text":"Ich bin unter 18","link":{"url":"https:\/\/google.de","is_external":"","nofollow":""},"align":"justify","typography_typography":"custom","typography_font_weight":"400","button_text_color":"#ffffff","background_color":"#9b9b9b","button_background_hover_color":"#595959","border_radius":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":"1"}},"elements":[],"isInner":false,"widgetType":"button","elType":"widget"}],"isInner":"1","elType":"column"}],"isInner":"1","elType":"section"}],"isInner":"","elType":"column"}],"isInner":"","elType":"section"}],"page_settings":{"width":{"unit":"px","size":"630","sizes":[]},"height":{"unit":"px","size":"530","sizes":[]},"content_position":"center","close_button":"","entrance_animation":"bounceIn","border_radius":{"unit":"px","top":"5","right":"5","bottom":"5","left":"5","isLinked":"1"},"box_shadow_box_shadow":{"horizontal":"2","vertical":"8","blur":"23","spread":"3","color":"rgba(0,0,0,0.68)"},"overlay_background_color":"rgba(63,61,61,0.7)","prevent_close_on_background_click":"yes","prevent_close_on_esc_key":"yes","prevent_scroll":"yes","avoid_multiple_popups":"yes","margin":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":"1"},"padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":"1"},"background_background":"classic","background_color":"#f9f9f9"}}

Template erstellen:

Altersabfrage hinzufügen: