Integrating Your Return Portal to Your Magento Store

Add your return portal to your Magento 2 store for customers to easily initiate a return request.

How to Add Your Return Portal to Your Magento 2 Store

To add your return portal to your Magento 2 store:

  1. Add a new page to your store using the Magento admin panel under Content > Pages.

    1. Click on Add New Page.
    2. Under Page Title, enter the portal name, i.e returns.
  1. Open the Content tab.

3. Click on Edit with Page Builder.

4. Open the Elements tab.

5. Drag the HTML Code element to add it to the return portal page.

6. Hover over the new element and click on the settings icon.

7. Add the following code to the page.

Change the data to align with your site (shop, currency, locale, etc) and remove the comments (marked in bold).

<script src="" defer="defer"></script>

<script type="application/javascript">

window.ReturnGO = {

shop: '', //Your shop URL without https://

        currency: {

            active: 'USD', //The portal currency

            rate: '1.0', //The conversion rate between your portal currency and your main store currency, if they are different


        locale: 'en', //The locale to display



<div id="ReturngoPortalEmbedding" style="position: relative; min-height: 600px; background-color: #FFFFFF"></div>

8. Save the new element.
9. Go back to the Page Editor page by clicking on the minimize icon at the top right.
10. Save the return portal page.
11. Go back to the pages list.
12. Your return portal will now be available under <store url>/<URL Key>.

13. Add the return portal URL wherever you want on your store site so that customers can easily find it (i.e header, footer, and product pages).