Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

Commit fa7b339

Browse files
Update paywall3.md
1 parent dcb6cfa commit fa7b339

File tree

1 file changed

+4
-31
lines changed

1 file changed

+4
-31
lines changed

docs/paywall3.md

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -165,19 +165,6 @@ var paywall = new InplayerPaywall('c6f4002f-7415-4eb6-ab03-72b0f7aff0e8',
165165
</script>
166166
```
167167

168-
The main available global option is `userMenuPosition`. The user menu can be set up to be positioned on the `left` or on the `right`:
169-
170-
```
171-
<div id="inplayer-81562" class="inplayer-paywall"></div>
172-
<script>
173-
var paywall = new InplayerPaywall('50845603-2d99-4734-b96f-69943cd05827',
174-
[{
175-
id: 81562
176-
}], {
177-
userMenuPosition: 'right'
178-
});
179-
</script>
180-
```
181168

182169
### Additional Asset Options
183170

@@ -281,24 +268,6 @@ var paywall = new InplayerPaywall('c6f4002f-7415-4eb6-ab03-72b0f7aff0e8',
281268
</script>
282269
```
283270

284-
Disabling the `buy as a gift` option on the **Price Options Screen** and disabling it on the **screen after successful purchase** respectively:
285-
286-
```
287-
<div id="inplayer-81562" class="inplayer-paywall"></div>
288-
289-
<script>
290-
var paywall = new InplayerPaywall('50845603-2d99-4734-b96f-69943cd05827',
291-
[{
292-
id: 81562,
293-
options: {
294-
hideBuyGiftOption: true,
295-
hideGiftFlowAfterPurchase: true
296-
}
297-
}], {
298-
userMenuPosition: 'right'
299-
});
300-
</script>
301-
```
302271

303272
### Additional Global Options
304273

@@ -394,6 +363,10 @@ To gain a better understanding of all paywall options mentioned above (both per
394363
| `brandingId` | Sets a global branding theme for all assets on a page. | Number | Global option |
395364
| `registerFirst` | If `true`, it sets the 'Register screen' as default, as opposed to the 'Login screen'; optional. | Boolean(set `false` by default) | Global option |
396365
| `ssoDomain` | By providing a valid `ssoDomain`, the SSO feature will be enabled; optional. | String | Global option |
366+
| `userMenuPosition` | The user menu can be set up to be positioned on the `left` or on the `right`. By default it is positioned on the right. | String | Global option |
367+
| `hideBuyGiftOption` | Disabling the `buy as a gift` option on the 'Price Options Screen'. | Boolean(set `false` by default) | Asset option |
368+
| `hideGiftFlowAfterPurchase` | Disabling the `buy as a gift` option on the screen after successful purchase. | Boolean(set `false` by default) | Asset option |
369+
397370

398371
## Paywall Methods
399372

0 commit comments

Comments
 (0)