Support » Plugin: Smartsupp Live Chat » Detailed visitor info

  • Resolved jarinokovac

    (@jarinokovac)


    Good day,
    the client would like to incorporate functionality into smartsupp to see how many euros an existing customer has in their cart.

    Although I found this code but I can’t set the correct variables for woocomerce, can you please tell me how to do it?

    Thank you very much.

    <script>
      smartsupp('variables', {
        userId: {
          label: 'User ID ',
          value: 123
        },
        role: {
          label: 'Customer status',
          value: 'VIP'
        },
        orderedPrice: {
          label: 'Customer spending',
          value: '100 EUR'
        }
      });
    </script>

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Smartsupp

    (@smartsupp)

    Hi,

    unfortunately, we are unable to assist you with this situation, the integration must be done from your side. Firstly, it will be most likely necessary to establish a connection with your database. To make it work correctly, some knowledge of PHP, Javascript and HTML is required. Therefore, we would recommend sending our API documentation, with the example of a script to your web developer who can set it up correctly, without damaging your website.
    https://docs.smartsupp.com/examples/detailed-visitor-info/

    Thank you for understanding

Viewing 1 replies (of 1 total)
  • The topic ‘Detailed visitor info’ is closed to new replies.