WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce
[resolved] A facebook like button under each product (2 posts)

  1. robertodimarco
    Member
    Posted 11 months ago #

    Hello, and sorry for my english.
    can I display for each product displayed in the grid, a facebook like button?
    any suggestions? Thanks!

    http://wordpress.org/extend/plugins/wp-e-commerce/

  2. robertodimarco
    Member
    Posted 11 months ago #

    Very simple!
    Add this inside price_container div:

    <div class="fb-like" data-href="<?php wpsc_the_product_permalink(); ?>" data-send="true" data-layout="button_count" data-width="90" data-show-faces="false" data-font="verdana"></div>

    Follow instructions here:
    https://developers.facebook.com/docs/reference/plugins/like/

Reply

You must log in to post.

About this Plugin

About this Topic