Quantcast
Channel: Cartweaver Community Forums
Viewing all articles
Browse latest Browse all 25

Integrating Social Networks with your Cartweaver 4 store

0
0
If you want to place social media links in your product page please use the following steps.

Step 1)
Visit AddThis at http://www.addthis.com, and get your free code. ( click the “Free Get Started” blue button)

At this stage, you will be prompted to create an account. Although it’s a nice feature, since it will give you a whole lot of stats on the script usage, you don’t NEED to create an account. You can proceed without using analytics by clicking the “Don’t want analytics” link below the Sign In button.

 Step 2)
You can choose what buttons to use, or just use the default options provided by AddThis.

In this example we will use the default code (similar to the code below) :

<!– AddThis Button BEGIN –>
<div class=”addthis_toolbox addthis_default_style “>
<a class=”addthis_button_facebook_like” fb:like:layout=”button_count”></a>
<a class=”addthis_button_tweet”></a>
<a class=”addthis_button_pinterest_pinit”></a>
<a class=”addthis_counter addthis_pill_style”></a>
</div>
<script type=”text/javascript” src=”//s7.addthis.com/js/300/addthis_widget.js”></script>
<!– AddThis Button END –>

Step 3)
Open file cw4\cw-product.php (or .cfm), and paste the AddThis code where you want it to be displayed.

For instance, if you want to display it right after the product title:

PHP :
<h1 class=”CWproductName”><?php echo $product["product_name"]; ?></h1>
AddThis Code here

ColdFusion:
<h1 class=”CWproductName”>#product.product_name#</h1>
AddThis Code here

Following is the preview of the social media icons coming on products page.





























Viewing all articles
Browse latest Browse all 25

Latest Images

Trending Articles





Latest Images