WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] How to change woocommerce error message - This Item cannot be purchased (3 posts)

  1. kjubick
    Member
    Posted 9 months ago #

    Hello guys,

    please I need a help. I have a e-shop, but I am not selling on-line, because the owner won't it yet. So I have changed one error message half a year ago, but I can not locate it now after the update.

    The problem is that the products without prices when you click on the button "Add to cart" you get alert - This "product name" cannot be purchased, which is the original message. I have change it to "For stock availability and prices please contact us". I did not make a note and after Woocommerce update there is the old message again. I have spend good 2 hours going through all possible files, but without success.

    Would you know please, where to locate this error message? Thanks a lot for your help.

    The link to the alert message:

    http://www.thecakeshopmalta.com/product/biodegradable-wedding-confetti/?add-to-cart=2065

    Jakub

    http://wordpress.org/plugins/woocommerce/

  2. kjubick
    Member
    Posted 9 months ago #

    Hey guys,

    funny enough I found it. It is in folder "CLASS" and the file name is "class-wc-cart.php".

    Jakub

  3. Sunish Sebastian
    Member
    Posted 1 month ago #

    Thank you so much!!!

    I have the same issue with "Sorry, this product cannot be purchased" and I wanted to add a custom message!

    Thanks to you!

Reply

You must log in to post.

About this Plugin

About this Topic