Skip to content

Commit 12a18f9

Browse files
authored
BB-20501: Add telephone attribute to SKU places on Storefront (#33864)
1 parent addfc47 commit 12a18f9

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.. _how-to-disable-format-detection:
2+
3+
How to Disable Format Detection
4+
===============================
5+
6+
To disable format-detection for whole application, add a meta tag to the head ``<meta name="format-detection" content="telephone=no">``.
7+
To do this, add a block with ``blockType: meta`` to the layout update:
8+
9+
.. code-block:: yaml
10+
11+
layout:
12+
actions:
13+
- '@add':
14+
id: format_detection
15+
blockType: meta
16+
options:
17+
name: format-detection
18+
content: 'telephone=no'
19+
20+
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.

frontend/storefront/how-to/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ Change Corporate Identity:
2626
Replace Placeholder Images for Products <how-to-replace-product-images-placeholders>
2727
Override, Remove or Disable Files <how-to-override-remove-files>
2828
Create Extra JS Build for a Landing Page <how-to-create-extra-js-build-for-landing-page>
29+
Disable Data Format Detection <how-to-disable-format-detection>

0 commit comments

Comments
 (0)