Remove an invalid <p> tag in the card payment page. This <p> tag contains <div> tag which is invalid. It will causes an error when the debug mode has been activated.
This <p> tag does not affect the display. It does not have any CSS rules declared on it.
Related information:
Related issue: -
Related ticket: -
2. Description of change
Remove an <p> tag and correct the indentation.
3. Quality assurance
Environments:
Platform: PrestaShop 1.7.2.3
Omise plugin: Omise PrestaShop 1.2
PHP version: 5.6.31
Web browser: Safari 11.0
Details:
Activate the debug mode at the PrestaShop back office.
Before change
The screenshot below shows an error at checkout page when debug mode has been activated.
After change
The screenshot below shows the checkout page. The page can be rendered and displayed normally.
4. Impact of the change
-
5. Priority of change
Normal
6. Additional notes
To activate debug mode in PrestaShop, it can be done by go to PrestaShop back office. From the left menu, go to CONFIGURE > Advanced Parameters > Performance > DEBUG MODE.
The screenshot below shows the debug mode configuration.
After debug mode has been activated, PrestaShop will shows that the system is in debug mode from the left top indicator.
The screenshot below shows the indicator that PrestaShop is in debug bug mode.
1. Objective
Remove an invalid
<p>
tag in the card payment page. This<p>
tag contains<div>
tag which is invalid. It will causes an error when the debug mode has been activated.This
<p>
tag does not affect the display. It does not have any CSS rules declared on it.Related information:
2. Description of change
Remove an
<p>
tag and correct the indentation.3. Quality assurance
Environments:
Details:
Before change
The screenshot below shows an error at checkout page when debug mode has been activated.
After change
The screenshot below shows the checkout page. The page can be rendered and displayed normally.
4. Impact of the change
-
5. Priority of change
Normal
6. Additional notes
To activate debug mode in PrestaShop, it can be done by go to PrestaShop back office. From the left menu, go to CONFIGURE > Advanced Parameters > Performance > DEBUG MODE.
The screenshot below shows the debug mode configuration.
After debug mode has been activated, PrestaShop will shows that the system is in debug mode from the left top indicator.
The screenshot below shows the indicator that PrestaShop is in debug bug mode.
Reference:
<p>
tag recommendation