Last Updated 4 years ago

Installing and using the RODO / GDPR module

Installation

After installing the module in your PrestaShop store, you need to manually add a few lines of code (hooks) in the places where the consents and information created in the module should appear.
In the module you will find instructions on where and what code to paste in order to freely display consents there:

  • Inserting code in the new account registration process
  • Inserting code in the checkout process
  • Inserting code below the contact form
  • Inserting code for the newsletter

NOTE

The module relies on the element structure of the standard PrestaShop theme. For dedicated PrestaShop themes and OPC carts, you need to modify the file
/views/js/main.js
to define the elements responsible for actions related to registration and the shopping cart:

#file: /views/js/main.js

/**
 * @type {String}
 * List of all elements (buttons) before which condition verification should appear (comma-separated)
 */
var listCSSButton = '#order-confirm-button button,#order-confirm-button, .cart_navigation input[type=submit],#submitAccount,.register-form .form-control-submit,.cart_navigation button,#payment-confirmation button';
/**
 * @type {Array}
 * List of all elements (conditions) and assigned (buttons) before which condition verification should appear
 */

var listConditionAndButtonCSS = [
//[condition, button]
    ['.account_creation .requiredch', '#submitAccount'],
    ['.register-form .requiredch', '.register-form .form-control-submit'],
    ['#order .requiredch', '.cart_navigation button'],
    ['#order .requiredch', '.cart_navigation input[type=submit]'],
    ['#checkout .requiredch', '#payment-confirmation button'],
    ['#carrier_area .requiredch', '.cart_navigation input[type=submit]'],
    ['#order-opc .requiredch', '#order-confirm-button']
];


PShowConditions module functionality

The PShowConditions module allows defining conditions and terms for customer acceptance.

Admin panel

  • Defining terms in multiple languages
  • Setting whether customer acceptance is required
  • Defining the display method and position (POPUP on every page, Cart, Registration)
  • List of terms and conditions accepted and not accepted by unregistered users (by IP), and registered customers (first and last name)

Front-end and customer panel

  • Displaying terms and conditions as a POPUP on every page, until accepted
  • Displaying all accepted and not accepted terms and conditions in the customer panel

POPUP conditions

Every visit to the site requires accepting or rejecting terms/conditions when the term/condition is not required, and accepting all conditions that have been marked as required. If not accepted, the POPUP window will display on every page.

CHECKBOX conditions

Conditions related to registration and the checkout process:
Conditions will be displayed every time during the registration and purchase process.

NOTE
Terms/conditions accepted or rejected are stored permanently - editing the conditions by the administrator in the admin panel does not change the content of the terms/conditions that have already been accepted or rejected by users.

Creating a new condition, field explanations


  • Name - Condition name visible only to the administrator
  • Active - Display of the term/condition
  • Acceptance required - Blocks the ability to proceed to the next step without accepting the terms/conditions
  • Position - where the terms/conditions are displayed
    a) POPUP - The term/condition will be visible on every page as a popup window,
    b) Registration - The term will be visible during registration
    c) Cart - The term will be visible when placing an order
  • Condition content - field for adding the condition content for the language versions seen by the customer


Please Wait!

Please wait... it will take a second!

Kliknij by skopiować