2
votes
Accepted
Magento 2: Add class to body from PHP
You can achieve your requirement by following steps:
Step 1. Create registration.php under
app/code/M2Expert/Classes/registration.php
with below content:
<?php
\Magento\Framework\Component\...
1
vote
Accepted
How to magento1 compatible with php 7.4?
Magento 1.9.x is actually compatible with PHP 7.4 if you've applied the patches that enable PHP 7.2 compatibility.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
php × 3690magento2 × 1411
magento-1.9 × 1025
database × 222
javascript × 183
magento-2.1 × 168
magento-1.8 × 145
magento-1.7 × 142
magento2.3 × 139
product × 133
module × 118
html × 101
error × 91
checkout × 87
category × 85
magento2.2 × 82
xml × 80
admin × 78
phtml × 65
api × 64
attributes × 62
event-observer × 60
layout × 59
customer × 55
cart × 53