New answers tagged php
0
votes
Magento 2 Command Not working
Please run the below commands :
rm -rf generated/ var/
php bin/magento s:up
php bin/magento s:di:compile
php bin/magento s:static-content:deploy -f
php bin/magento c:f
Command error : It seems you ...
0
votes
Not Display Product Name in the Email template?
Please use the email_order_set_template_vars_before event, which allows you to send custom parameters to your order email. Check the working code below:
app/code/Magetrend/Custom/etc
events.xml
<?...
0
votes
Magento 2.2: Weird $_files array after image upload
I would like to extend @Marius excellent response as I myself got into the same issue with a little difference.
In my case what was making the $_FILES having this strange format is that I had in my ...
0
votes
Magento 2.3: Customer ID from Session Returning NULL with Cache Enabled
You need to first be aware how to Magento cache work. You can't use customer ID in cachable pages. Why? Cause when you have unique version of website for every user - it is not from cache.
By default ...
Top 50 recent answers are included
Related Tags
php × 3816magento2 × 1522
magento-1.9 × 1024
database × 243
javascript × 188
magento-2.1 × 173
magento-1.8 × 146
magento2.3 × 145
magento-1.7 × 143
product × 136
module × 118
html × 104
error × 95
checkout × 87
category × 84
magento2.2 × 82
xml × 82
admin × 78
phtml × 67
api × 66
attributes × 63
event-observer × 63
magento-1 × 60
layout × 58
cart × 56