Okay
  Public Ticket #1073940
Backorder Text
Closed

Comments

  •  2
    Coleen started the conversation

    How can I change the wording on the circle noting that a product is out of stock and can be backordered from "Available for Backorder" to "Special Order"?

    I tried adding this to my functions.php, but saw no different results:

    function backorder_text($availability) {

    foreach($availability as $i) {

    //$availability = str_replace('Available for backorder', 'Desired Text', $availability);
     
    $availability = str_replace('Available for backorder', 'Special Order!', $availability);
     
    }
     
    return $availability;
    }
    add_filter('woocommerce_get_availability', 'backorder_text');


  • [deleted] replied

    Hi Coleen,

    To change that word I suggest you to install Say What plugin, then add new text change and write as original string:

    Available on backorder

    Context: woocommerce

    Then add your own string:

    Special Order

    I hope it will work fine for you.