Skip to main content

How to add Convermax script and search page into your Shift4Shop store

To add Convermax script:

1. Navigate to Settings -> Design -> Open Template Editor

img

2. Locate frame.html and click on the gear icon and choose edit:

img

3. Find the <!--END: quicksearch--> closing tag and paste the following code after it:

    <!--START: Convermax Site Search-->
    <script>
        window.Convermax = window.Convermax || {};
        window.Convermax.cartuserid = '[userid]';
        window.Convermax.cartpricelevel = '[price_level]';
        window.Convermax.catalogid = '[catalogid]';
    </script>
    <script src="https://client.convermax.com/static/XXX/search.min.js"></script>
    <!--END: Convermax Site Search-->

Replace XXX in the script src with your domain without www and .com.

For example: for https://www.your-site.com paste your-site

To create Convermax search page:

1. Navigate to Content -> Site Content and click on the Edit button in the Footer Extra Pages section

img

2. Click on the Add button

img

3. In the pop-up window enter Search into the Page Name input and click the Add button

img

4. Locate the Search page and click on the gear icon and choose Content:

img

5. Click on View Source Code

img

6. Paste <div id="cm_results"></div> into the Page Content input

img

7. Expand the SEO tab and enter Search Results into the Page Title input and enter search into the Custom File Name input

img

8. Click Save

img