<p><?phpechoSyC::t('sdk','In order to see the {brand} button on a <strong>post</strong> or <strong>page</strong> you can use the following shortcode:',array('{brand}'=>'<a href="http://www.shareyourcart.com" target="_blank" title="Shareyourcart™" onclick=" if(_gaq) _gaq.push([\'_trackPageview\', \'/admin/documentation/logo-click\']);">ShareYourCart™</a>'));?></p>
<pre><code>[shareyourcart]</code></pre>
<p><?phpechoSyC::t('sdk','If you want to use the {brand} button directly in a <strong>theme</strong> or <strong>page template</strong> you have to use the following function call:',array('{brand}'=>'<a href="http://www.shareyourcart.com" target="_blank" title="Shareyourcart™" onclick=" if(_gaq) _gaq.push([\'_trackPageview\', \'/admin/documentation/logo-click\']);">ShareYourCart™</a>'));?></p>
<li><?phpechoSyC::t('sdk','This plugin allows you to easilly set the above meta properties directly in the post or page edit form');?></li>
<?phpendif;?>
<li><p><?phpechoSyC::t('sdk','To position the {brand} button, you need to override the following CSS classes',array('{brand}'=>'<a href="http://www.shareyourcart.com" target="_blank" title="Shareyourcart™" onclick=" if(_gaq) _gaq.push([\'_trackPageview\', \'/admin/documentation/logo-click\']);">ShareYourCart™</a>'));?></p>
<ul>
<li><?phpechoSyC::t('sdk','{css_class} for the horrizontal button',array('{css_class}'=>'<code>button_iframe-normal</code>'));?></li>
<li><?phpechoSyC::t('sdk','{css_class} for the vertical button',array('{css_class}'=>'<code>button_iframe</code>'));?></li>
<p><?phpechoSyC::t('sdk','If you want to fully style the {brand} button, use instead the following HTML code',array('{brand}'=>'<a href="http://www.shareyourcart.com" target="_blank" title="Shareyourcart™" onclick=" if(_gaq) _gaq.push([\'_trackPageview\', \'/admin/documentation/logo-click\']);">ShareYourCart™</a>'));?></p>
<?phpif(isset($action_url)&&!empty($action_url))://only show if a known shopping cart is active ?>
<h3><?phpechoSyC::t('sdk','Remarks');?></h3>
<p><?phpechoSyC::t('sdk','If you want to use the {brand} button on a product\'s page, you need to <strong>append</strong> {product-property} to the {callback-url} value, where {product-property} is the product\'s id',array('{brand}'=>'<a href="http://www.shareyourcart.com" target="_blank" title="Shareyourcart™" onclick=" if(_gaq) _gaq.push([\'_trackPageview\', \'/admin/documentation/logo-click\']);">ShareYourCart™</a>','{product-property}'=>'<code>&p=<product_id></code>','{callback-url}'=>'<strong>data-syc-callback_url</strong>'));?></p>
<?phpendif;?>
<?phpif($show_footer):?>
<h2><?phpechoSyC::t('sdk','Contact');?></h2>
<p><?phpechoSyC::t('sdk',"If you've got 30 seconds, we'd {link-1} love to know what ideal outcome you'd like ShareYourCart to help bring to your business</a>, or if you have a private question, you can {link-2} contact us directly</a>",array('{link-1}'=>'<a href="http://shareyourcart.uservoice.com" target="_blank" title="forum" class="api-link" onclick=" if(_gaq) _gaq.push([\'_trackPageview\', \'/admin/documentation/forum-click\']);">','{link-2}'=>'<a href="http://www.shareyourcart.com/contact" target="_blank" class="api-link" onclick=" if(_gaq) _gaq.push([\'_trackPageview\', \'/admin/documentation/contact-click\']);">'));?></p>