Important
You are browsing documentation for version 5.1 of OroCommerce, supported until March 2026. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
How to Disable Format Detection
To disable format-detection for whole application, add a meta tag to the head <meta name="format-detection" content="telephone=no">
.
To do this, add a block with blockType: meta
to the layout update:
layout:
actions:
- '@add':
id: format_detection
blockType: meta
options:
name: format-detection
content: 'telephone=no'
If there is a need to disable the format detection for a specific element, wrap the value in a tag <a>
without the href
attribute and disable default styles for links.