Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Change size guide image with shortcode #27020
    This reply has been marked as private.
    in reply to: Change size guide image with shortcode #26997
    This reply has been marked as private.
    in reply to: Change size guide image with shortcode #26989
    This reply has been marked as private.
    in reply to: Change size guide image with shortcode #26972

    Hi Harry,

    thanks for your fast answer.

    I have change the source code at function.php. Now i get the link in duplicate view.

    Could you help me again ?

    Best regards Pascal

     

     

    remove_action( ‘woocommerce_single_product_summary’, ‘jas_claue_wc_add_extra_link_after_cart’, 35 );

    function jas_claue_child_wc_add_extra_link_after_cart() {
    // Get page options
    $options = get_post_meta( get_the_ID(), ‘_custom_wc_options’, true );

    // Get image to display size guide
    $size_guide = ( isset( $options[‘wc-single-size-guide’] ) && $options[‘wc-single-size-guide’] ) ? $options[‘wc-single-size-guide’] : cs_get_option( ‘wc-single-size-guide’ );

    // Get help content
    $message = cs_get_option( ‘wc-single-shipping-return’ );

    if ( !empty( $size_guide ) || !empty( $message ) ) {

    echo ‘

    ‘;
    }
    }
    add_action( ‘woocommerce_single_product_summary’, ‘jas_claue_child_wc_add_extra_link_after_cart’, 35 );

     

    Attachments:
    You must be logged in to view attached files.
Viewing 4 posts - 1 through 4 (of 4 total)