This guide will walk you through the process of how to add the integration code to the Dawn Theme. 


On the Collection pages, you have 2 options:


1. Add a new Connectr button

2. Replace the Add to Cart button with the Connectr button


If you are unsure you may simply contact us at 
support@connectr.freshdesk.com. We will assist you in the integration. 


1. Add a new Connectr button (if add to cart HTML code not supported)


Let's say you want to add the Connectr button below the price on the product cards on the Collection page.


Look for snippets/card-product.liquid file (or the file that holds the product card info).


Add the code below the price information.


{% render 'connectr-custom-render', product: card_product, c_showConnectr:1, c_hideCart:0 , c_classes: 'btn product-form__submit button button--full-width', c_imgbtn: 0, c_btn: connectr_btn, c_style: '' %}


The code will look as -  



This will add a Connectr button below the price information on the Product Card.


2. Replace the existing Add to Cart button with the Connectr button


Go to snippets/card-product.liquid file.


Add the below code to replace the add to cart button with a Connectr button for Connectr products.



{% render 'connectr-custom-render', product:card_product, c_showConnectr:1, c_hideCart:1 , c_classes: 'btn product-form__submit button button--full-width', c_imgbtn: 0, c_btn: connectr_btn, c_style: '' %}


<div class="c_original_{{ card_product.id }}">


//button code


</div>


The code will look as - 


This will replace the existing Add to Cart button with the Connectr button.


Note: The code may vary from theme to theme. 


Preview:




Similarly, the Connectr button code can be placed for the Featured Product Card on the Home page, and also on the product grid on the Search page.


 (If you have problems with the integration code or want to change the way the button looks, please raise a support ticket. We will take care of it.)