• Resolved cgabelli

    (@cgabelli)


    In the reformat key option I have the print of the string without underscore and in small caps, can I replace the string with a custom text?

Viewing 1 replies (of 1 total)
  • Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @cgabelli

    That’s not possible now, unless you are comfortable with diving in to the code?

    If so, then you can look at the function star_cloudprnt_print_additional_order_info() in the order-handler.php file, which handles printing these fields. The line:
    $printer->add_text_line(star_cloudprnt_filter_html($formatted_key) . ": " . star_cloudprnt_filter_html($item_data["value"]));

    is responsible for printing the key/value, so just above that, you can add something like:

    if($formatted_key == "original key text")
      $formatted_key = "new key text";
Viewing 1 replies (of 1 total)

The topic ‘Re-format Key’ is closed to new replies.