Returns Portal v2
Configure a Returns Portal in your shop that provides a streamlined returns process for your customers.
Setting Up the Returns Portal
The following instructions explain the basics of setting up the Returns Portal and how you can customize the data settings in two easy steps, followed by optional advanced configuration for your Returns Portal.
Add the snippet to your website
To insert the snippet onto a page on your website or online shop:
Create an empty landing page, for example: at
/returns-portal.Copy the following snippet and paste it somewhere in the
<body />(not the<head />) of your page where you want the Returns Portal to be displayed.
This will automatically load our JS snippet and default CSS. The plugin will be rendered in the defined DOM node.
<pl-returns-portal
code="your-portal-code"
account-name="parcellab-account-name"
>
</pl-returns-portal>
<script
type="module"
src="https://returns-app.parcellab.com/static/plugin/js/loader.mjs"
>
</script>Modify the data settings
The data settings of the Returns Portal widget will have to be updated based on the following attributes:
code
Required
Your unique Returns Portal code.
xt-de
account-name
Required
Your parcelLab user ID or technical account name.
16147742
weareparkers
entry-point
Optional
The starting page for the Returns Portal.
Default value is returns, where users start at the order search page.
If the value is set to registration, users will start at the login page.
registration
environment
Optional
This allows you to override the automatic environment detection.
Default value is live, and uses the production server.
development
staging
live
lang
Optional
The ISO-2 language code for the initial language to load.
The widget will be displayed in the specified language.
This attribute can also be set via URL query parameter (for example: ?lang=de)
de
Here is an example of the snippet with modified data settings:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Returns Portal</title>
</head>
<body>
<header>
<h1>Our Returns Portal</h1>
</header>
<main>
<div class="container">
<pl-returns-portal code="xt-de" account-name="parkersdemo">
</pl-returns-portal>
</div>
</main>
<footer>
<p>© 2025 Powered by parcelLab</p>
</footer>
<script
type="module"
src="https://returns-app.parcellab.com/static/plugin/js/loader.mjs"
></script>
</body>
</html>
Troubleshooting
This section describes known errors and ways to troubleshoot common issues.
Last updated
Was this helpful?