>> Check out our new theme: Benous - Elementor MultiPurpose WordPress Theme <<
If you can't submit the support ticket here, please use the contact form at THEMELOGI profile page on ThemeForest

Tickets › Tickets › Roneous › How to disable individual product pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4043
    7A

    Hi Support,

    Under the Cart page, the product thumbnail and product name is linked to their respective individual product pages.

    Would it be possible to disable the linking to each individual product pages?

    Thanks in advance!

    Regards,
    7A

    #4064
    Danny
    Supporter

    Hi there,

    Thanks for writing in!

    About this issue, please add the code below to your functions.php file:

    add_filter('woocommerce_cart_item_permalink','__return_false');

    P.S: You may want to use child-theme (https://codex.wordpress.org/Child_Themes) so your changes won’t be lost on theme updates.

    Hope this helps,
    Danny

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.