Prestashop: FO - Create a customer account - Property Customer->optin is empty.

Created on 1 Sep 2020  路  8Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

In the FO > Create an account page > an exception is displayed
Property Customer->optin is empty.

Expected behavior

Explain what you expected to happen instead.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go BO > Shop parameters > customer settings > disable "partner offers"
  2. Go to BO > Customers page > set Partner offers as required
  3. Go to FO > create a new account => bug

Screenshots
image

Additional information

  • PrestaShop version: 1767, 177X, develop
  • PHP version: 7.2
1.7.6.7 1.7.7.x Bug Customer Customer settings FO Minor To Do Wording 鉁旓笍 good first issue

All 8 comments

Thanks for opening this issue! We will help you to keep its state consistent

Hi,

To fix this issue, just go BO > Shop parameters > customer settings > enable "partner offers".
image

Hi @khouloudbelguith, thanks for this issue. Do you need a better exception wording here?

Hi @LouiseBonnard,

Yes :+1:
For example an alert
image

Thanks!

@LouiseBonnard @khouloudbelguith I don't understand where the alert message will appear and what it should contains? Is "Your information is incomplete, please update it" just a random example?

Hi @Julievrz,

For example, when we have an incomplete Address, we have this alert.
image

We can add a similar alert in the "Personal Information" step.
@LouiseBonnard what do you think?

Thanks!

Hi @khouloudbelguith
I think the alert message should appear in the BO when the merchand requires partner offers on the Customer page.
image

Maybe something like :

"Before requiring partner offers, please be sure to enable them in the [1] Shop Parameters > Customer Settings[/1] section of the back office. Otherwise, new customers won't be able to create an account and process to check out."

We could also imagine to add another alert message in the Customer Settings page when the merchand disables partner offers
image

saying " "Before desabling partner offers, please be sure they are not a required field in the [1] Customer [/1] section of the back office. Otherwise, new customers won't be able to create an account and process to check out."

@LouiseBonnard What do you think of the wording?

Following Louise's advice, here is an updated wording : "Before requiring partner offers, please make sure you enabled them in the [1]Shop Parameters > Customer Settings[/1] section of the back office. Otherwise, new customers won't be able to create an account and proceed to checkout."

"Before desabling partner offers, please make sure they are not set as required in the [1]Customers[/1] section of the back office. Otherwise, new customers won't be able to create an account and proceed to checkout."

Was this page helpful?
0 / 5 - 0 ratings