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.
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
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;