• Morning,

    Using the Premium with Woocom, I want to change the name that is used to automatically enter.

    instead of it inputing “WooCommerce Order #10088” I want it to use “*Customer Name* #10088”
    How can I make this change?

    thank you
    Jordan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi Jordan,

    There’s no option in the plugin to do that. The only way would be to modify the core plugin code, which we wouldn’t suggest unless you’re comfortable doing so, as it gets overwritten when the plugin updates and also has the potential to break other functionality.

    Thread Starter mixeddesign

    (@mixeddesign)

    Can you please point me in the right direction for that please. I need to change it otherwise the plugin is too complicated and doesn’t serve the purpose I require it for

    Thank you

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hello @mixeddesign,

    We have never tried this before, so I can’t confirm that it will even work. Give it a try and let me know. Also note that, if you ever update the plugin, the custom code will be overwritten, so you will need to manually add the code back every time.

    Alright, now to go about this, you will need to open up the EWD_OTP_Woo_Commerce_Integration.php file found in the functions folder and replace line 97 with the following:

    $Order_Name = $Customer_Name . " #" . $post_id;

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change the name Woo uses’ is closed to new replies.