Join our new community forum for support & discussion

Join Now

Home Support Extensions Paid Listings delete the product link in the woo order information

delete the product link in the woo order information

  • Author
    Posts
  • Konstantin

    @ihor, hi! in the paid listings extension, you made a cool widget with paid ad packages. but there is one point:
    https://skr.sh/s8biChj4I6I?
    a in the order information, a link to the purchased product appears, and it takes us to the store (which is a complete mess due to the fact that there are both paid listing plans and membership plans and an advertising rate). let’s delete this link? she’s ruining your whole picture

    Konstantin

    in general, we need to hide the page with products from everyone, or change to remove all links to /SHOP. or redefine them to the address of your pricing page, designed as needed

    Konstantin

    /* Changes URL for Return to Shop button in the Cart, expired_session */
    function wc_expired_session_redirect_url() {
    return ‘http://sitename.com/page’;
    }
    add_filter( ‘woocommerce_return_to_shop_redirect’, ‘wc_expired_session_redirect_url’ );

    here is one of my attempts doesn’t work and the other one works:

    /* Changes URL for Return to Shop button in the Cart */
    function wc_empty_cart_redirect_url() {
    return ‘http://sitename.com/page”;
    }
    add_filter( ‘woocommerce_return_to_shop_redirect’, ‘wc_empty_cart_redirect_url’ );

    Konstantin

    the “redirect” plugin does things, if someone needs to get away from an unnecessary immutable link, then this is the thing that is needed

    ihor developer

    It’s possible, but requires code customizations, you can try using snippets like this one https://wordpress.stackexchange.com/questions/294164/redirect-the-single-product-page-link-to-the-shop-page

    capitalss2

    @Konstantin How to solve the problem please tell me too because the user does not need to know that we use woocomerce and also when you click on orders you can see the list of products yes this can be hidden using css but in the code it is visible

Viewing 7 posts - 1 through 7 (of 7 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.