Shopify

Product:
If you would like to use CometChat PHP with Shopify, please get in touch with us.

Step 1: Configuration

Add the following code to Shopify Administration Panel ->Online Store->Themes->Option->EDIT HTML/CSS->theme.liquid just before the tag.

<script>
  var chat_id = "{{ customer.id }}";
  var chat_name = "{{customer.name}}";
</script>

Step 2: Add CometChat

Select a layout of your choice and click on “Add To Site” button to proceed.

  • Was this helpful?
  • Yes   No