Ejemplo n.º 1
0
/**
 * wpsc also bought
 * Cross Sale product HTML.
 * Moved to canonical plugin.
 * @param $product_id (int) Product ID.
 * @return (string) Cross Sale products HTML.
 * @todo Fully deprecate this in a future version - maybe 4.0?
 */
function wpsc_also_bought($product_id)
{
    if (function_exists('wpsc_cross_sales')) {
        return wpsc_cross_sales($product_id);
    }
    return false;
}
        ?>
							<?php 
    }
    ?>
							<?php 
    do_action('wpsc_product_form_fields_end');
    ?>
						</form><!--close product_form-->
					
						<?php 
    if (get_option('hide_addtocart_button') == 0 && get_option('addtocart_or_buynow') == '1') {
        echo wpsc_buy_now_button(wpsc_the_product_id());
    }
    echo wpsc_product_rater();
    if (function_exists('wpsc_cross_sales')) {
        echo wpsc_cross_sales($product_id);
    }
    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 
    }
    ?>
					</div><!--close productcol-->
		
					<form onsubmit="submitform(this);return false;" action="<?php