wpsc_show_fb_like

Located in: Located in: product-template.php
Version Introduced: 3.8
Return: Boolean

Description: This condition is used to check if the face-book live button should be shown.

[php]
if(wpsc_show_fb_like()): ?>
<div class="FB_like">
<iframe src="https://www.facebook.com/plugins/like.php?href=<?php echo wpsc_the_product_permalink(); ?>&amp;layout=standard&amp;show_faces=true&amp;width=435&amp;action=like&amp;font=arial&amp;colorscheme=light" frameborder="0"></iframe>
</div><!–close FB_like–>
[/php]