New Landing How can we help? Themeforest Theme Support Neighborhood Shop action " Read More"

Viewing 3 posts - 16 through 18 (of 18 total)
  • #140642
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    After adding all those changes, open up \woocommerce\loop\add-to-cart.php and in line #59

    you saw a line like this,

    echo apply_filters( 'woocommerce_loop_add_to_cart_link', sprintf('<a href="%s" rel="nofollow" data-product_id="%s" data-product_sku="%s" class="%s product_type_%s" data-added_text="%s">%s</a>', esc_url( $link['url'] ), esc_attr( $product->id ), esc_attr( $product->get_sku() ), esc_attr( $link['class'] ), esc_attr( $product->product_type ), $added_text, $link['label'] ), $product, $link);

    change that to.

    ?>
    <a href="<?php the_permalink(); ?>" class="details">Read More.</a>
    <?php

    You can do that all in the Child themes. ๐Ÿ™‚

    Let us know,

    Thanks,
    laranz.

    #141283
    MarcusF
    Member
    Post count: 75

    Hey Laranz.

    Thanks for the code ๐Ÿ™‚
    I have deleted all the other code and only used your code, and it works :D!

    Is the other code important ?

    Best regards,
    Kristoffer

    #141369
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am glad that your issue resolved. Thanks Laranz. Other code is not important.
    Thanks
    Mohammad

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register