Support » Plugin: Storefront Product Sharing » Location & Print

Viewing 1 replies (of 1 total)
  • I managed to move the buttons under the product meta using the functions below by unhook it from the default location (woocommerce_after_single_product_summary) and hook it after the meta (woocommerce_single_product_summary):

    add_action( 'init', 'my_remove_product_sharing' );
    function my_remove_product_sharing() {
        remove_action( 'woocommerce_after_single_product_summary', array( Storefront_Product_Sharing(), 'sps_product_sharing' ), 5 );
    add_action( 'woocommerce_single_product_summary', 'my_single_product_sharing', 45 );
    function my_single_product_sharing() {
        return Storefront_Product_Sharing()->sps_product_sharing();

    I believe replacing ‘woocommerce_single_product_summary’ with ‘woocommerce_after_main_content’ should achieve what you need.

Viewing 1 replies (of 1 total)
  • The topic ‘Location & Print’ is closed to new replies.