Ask For Details Pro - Magento 2 module documentation

Author: Paweł Wasiluk

Ask For Details Pro Module

Module overview

Help your customers gain more information about products. Let them ask you precise questions with a custom template, designed by yourself.
Pro version gives you option to set up Google reCaptcha. Be sure that real customers send questions about products and protect against spam from robots.

Module compatibility

This module is compatibile with Magento Community versions: 2.2 and 2.3.

How it works

After installing, the module is disabled by default, head to the Admin Panel to enable it. Go to Stores > Catalog > Ask For Details Pro. There you will have two sections.

16 2

  • Enable Ask For Details - enable or disable module manually
  • Enable Captcha - enable or disable Captcha
  • reCaptcha Options - URL to verify reCaptcha google account
  • Feedback For Customer - when enabled, customer receives the confirming email
  • Form title - create your own title for email

17

  • Sends Emails To - set an email that question will be send to
  • Email Sender - set sender type
  • Store Email Template - chose template for emails, you can edit them in Stores > Configuration > General > Store Email Addresses
  • Customer E-mail Template -field appear when Feedback For Customer is on pole. Chose template for emails, you can edit them in Stores > Configuration > General > Store Email Addresses > Ask For Details Pro

18

Since you enabled the module, head to Content > Form Fields in panel. To add new field to form click on Add New Field.

B 3
B 4

Enable Field – turns on or off visibility of field
Field Label – set custom field label
Field Type – you can choose whether type of field should be text or textarea
Required – chose if field should be required
Validation Type – set validation type e.q. Email, Number, Url
Sord order – set a number to sort your categories
Store View – a store/store view that this category should be visible in

Added field will be seen in the Content > Form Fields grid.

To display Ask About Produt button on product page you have to add product attribute
19
20
Afterwards new field will appear in section Attributes on product edit page named Show Ask for Details button. Turn it on and save product.
The module also allows you to define the email addresses of sellers for selected products through the set_seller attribute, we give it to the product in the same way as the previous attribute. In the attribute edition, we should now define the sellers along with their emails.

Button Ask About Product will be located ob product page. When clicked, form modal appears.

B 5

Template consists fields that you created in previous steps, after clicking send user will be noticed whether an email was sent properly.

B 6

After question was sent by user, you can view it in Reports > Ask For Details Pro > Mail. Here you will have a grid that contains all questions.

B 7

In the Action column click on Select > View to see the content that will look like presented below:

B 8

To set up google reCaptcha you should remember to addGoogle API website key and Google API website key in Stores > Configration > Security > Google reCaptcha.

Installation

Composer

  1. Add repo to composer.json:
"repositories": [
    ...
    {
        "type": "vcs",
        "url": "git@git.auroracreation.com:aurora-modules/AskForDetailsPro.git"
    }
    ...
],
  1. Add package to composer.json:
"require": {
    ...
    "aurora/module-ask-for-details-pro": "*"
    ...
},
  1. In Magento root folder run commands:
composer update aurora/module-faq
php bin/magento module:enable Aurora_AskForDetailsPro
php bin/magento setup:upgrade

Manual

  1. Unzip archive.
  2. Upload extension files on your server to:
{Magento root}
└── app/
    └── code
  1. In Magento root folder run commands:
php bin/magento module:enable Aurora_AskForDetailsPro
php bin/magento setup:upgrade

Thank you for your interest in our products!