Skip to content

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

To add Convermax script:

  1. Navigate to Settings -> Design -> Themes & Styles. Click the Open Template Editor button

  1. Locate frame.html and click on the gear icon and choose Edit:

  1. Find the following line
<!--END: quicksearch-->

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://XXX.myconvermax.com/static/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

  1. Click on the Add button

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

  1. Locate the Search page and click on the gear icon and choose Settings:

  1. Click on View Source Code text bellow the Launch Page Editor button

  1. Paste the following code line into the Page Content input

    <div id="cm_results"></div>

    It will look like this:

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

  1. Click Save