Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello… I don’t know if I will break the plug in or not I am looking for the phrase within quotes in a file in editor to change the wording. Changed it in one. Didn’t change the output. I’m still looking.

    thank you for this plug in… it’s just I am doing donations not selling something.. so “name your own price” isn’t appropriate. ??

    K, I’m not really the “safest person” to take WP advice from… ROFLOL… but here’s what I did:

    shatner-name-your-own-price-for-woocommerce/templates/single-product/price.php

    That’s the file….

    In this area below…. the two areas in bold are what I changed to change what it says on the Product page.. more appropriate to donations. Worked for me. Don’t think I broke anything… but you might want to use your own judgment instead of the advice of a novice. ?? Blessings!!!

    if($own_price == ‘yes’)
    {
    ?>
    <div itemprop=”offers” itemscope itemtype=”https://schema.org/Offer”&gt;
    <div class=”name_price”>
    <h5 itemprop=”price” class=”price”>Minimum Gift: <?php echo $product->get_price_html(); ?></h5>
    <p itemprop=”name_price price” class=”price”>
    <label><?php echo get_option(‘shatner_label’, “Enter amount of gift“) ?> </label>
    <input name=’price’ class=’name_price’ type=’text’ />

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change 'Name your own price' to another phrase’ is closed to new replies.