Questions tagged [magento-ecg]

Denotes questions related to Magento ECG Coding Standard

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
254 views

The use of function html_entity_decode is forbidden. What should we use instead?

Ecg coding standards forbids using html_entity_decode method. What should we use instead?
1
vote
2answers
289 views

ECG compliant alternative method for file_get_contents (remote XML)

What is correct "ECG-way" to load an remote XML file? For local files this works: $xml = new Varien_Simplexml_Config($configFile); $node = $xml->getNode('my/selected/node'); But not from remote ...
0
votes
1answer
30 views

Magento 2 - How to apply OG Tag for all products

I am update OG tag for home page, app\design\frontend\Zero\mytheme\Magento_Theme\layout\default_head_blocks.xml <meta property="og:image" content="http://example.com/DEFAULTIMAGE....