Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.
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 ‘
‘;
if ( ! empty( $size_guide ) ) {
echo do_shortcode(‘[ct_size_guide]’);
}if ( ! empty( $message ) ) {
echo ‘‘ . esc_html__( ‘Delivery & Return’, ‘claue’ ) . ‘‘;
}
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. -
AuthorPosts