Skip to content

Commit

Permalink
Fixing example of the Product Custom Dimensions (PPTT-4310) (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
wronan authored Aug 23, 2023
1 parent 6f10a16 commit ffe72c2
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1566,4 +1566,8 @@ body {
color: #fff;
text-align: center;
font-weight: 600;
}

.gDsWLk code {
white-space: normal;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//Hack to fix issue PPTECHDOC-54
//RTD is building docs differently since ~ 22-03-2019
//Without it custom.css is introduced before theme.css and is overwritten
let style = document.querySelector('link[href$="/custom_1684133308817.css"]');
let style = document.querySelector('link[href$="/custom_1692341858952.css"]');
let head = document.querySelector('head');
let detectedUnicorn = function () {
let element = document.createElement('div');
Expand Down
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@
ogp_image = "https://developers.piwik.pro/en/latest/_static/images/image-thumb.png"

def setup(app):
app.add_css_file('css/custom_1684133308817.css')
app.add_css_file('css/custom_1692341858952.css')
app.add_js_file('js/unicornDetector.js')
app.add_js_file('js/custom1653024076375.js')
app.add_js_file('js/custom1692341858952.js')

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
Expand Down
27 changes: 26 additions & 1 deletion data_collection/api/tracking_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,32 @@ paths:
*IMPORTANT:* value have to be urlencoded in raw URL, below is decoded JSON, do not use it directly in raw URL.
Decoded value: ``[["craft-311","Unicorn Iron on Patch","Crafts & Sewing",4.99,3,"FairyTales","3-color rainbow"],["craft-312","Unicorn Lamp",["Crafts & Sewing","Lamps"],13.25,1,"FairyTales","black-and-white",{"1":"custom glitter"}]]``
Decoded value: ```[
[
"craft-311",
"Unicorn Iron on Patch",
"Crafts & Sewing",
4.99,
3,
"FairyTales",
"3-color rainbow"
],
[
"craft-312",
"Unicorn Lamp",
[
"Crafts & Sewing",
"Lamps"
],
13.25,
1,
"FairyTales",
"black-and-white",
{
"1":"custom glitter"
}
]
]```
Each product on the list can contain:
Expand Down

0 comments on commit ffe72c2

Please sign in to comment.