Changing Order Number prefixes
-
Hi all,
Example: Thank you. Your order number is: OrderaDlE3
Where it says OrderaDlE3 how can I customize that so its like something different?
-
For orders placed from the front end (using the customer-form shortcode), that prefix is automatically added. There is currently no option in the plugin to change this. You could modify the plugin code directly to achieve this, but we’d only suggest this if you’re comfortable doing so. And it’s important to note that any change made to the code would be overwritten if you update the plugin. The line to modify would be the following in the “Prepare_Data_For_Insertion.php” file in the “Functions” folder:
$Order_Number = __('Order', 'order-tracking') . EWD_OTP_RandomString(5);Thank you.
Im having issues with two things and I need alittle help.
1) I need instead of for it to be SMC-Randomstringhere, the random string I want to be preferably numbers.
2) When I test a order thats in my system I don’t seem to see any results.
https://www.dropbox.com/s/7hznshb4lilnrpb/Screenshot%202018-01-22%2012.51.17.png?dl=0Hello,
1. Replace the following line:
$Order_Number = __('Order', 'order-tracking') . EWD_OTP_RandomString(5);with:
$Order_Number = __('SMC-', 'order-tracking') . EWD_OTP_RandomString(5);And then replace the following line in the function EWD_OTP_RandomString:
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';with:
$characters = '0123456789';2. Could you please specify the shortcode that you are using?
1) Also, I would like to change the Order Name label on the [customer-order] form since I cant in the settings, what file would I edit and where?
Here is the page https://smcshippingja.com/member-order-shipment/
2)
Also on that page https://smcshippingja.com/member-order-shipment/I would like to put a horizontal line with different headings in between sections of that form, is that even possible?
Also please see this: https://d.pr/free/i/pHSrmx
Bumping this, need serious help as I have not been able to use the system effectively yet. =(
2. You aren’t using the tracking-form shortcode on that page. You are using the customer-form shortcode. You can tell because it says “Customer Number” in the input field.
1) You can use the “Labelling” area of the “Options” tab to change the wording of the labels in the plugin
2) There is no option to add headings or horizontal lines in the customer order form.
For your spacing question, you should be able to just use custom CSS for this. For example:
.ewd-otp-tracking-results input[type="submit"] { margin-top: 12px; }-
This reply was modified 8 years, 4 months ago by
etoilewebdesign.
Thank you.
I seem to be using the tracking form.
https://www.dropbox.com/s/71y5wfykfdru1ym/Screenshot%202018-01-31%2012.35.22.png?dl=0
It’s asking me for tracking number based on the label I changed it to.
What file should I edit for the spacing?
Heres a better view of my issue.
https://www.dropbox.com/s/jnrj3bs3ss53208/Screenshot%202018-01-31%2013.23.13.png?dl=0
Just a question, I purchased premium, do you have somewhere else you provide faster service from like maybe a ticket system I don’t know about?
Hello 10-fah,
You could always email us with any technical issues that you might be having and our support team would get back to you as soon as possible. Email: [email protected]
Are you sure that you have an Order number by that number: SMC-85945
Best regards,
Hello
Thank you.
Yes see the screenshot https://www.dropbox.com/s/f5g5149m47mfuzp/Screenshot%202018-02-01%2016.48.50.png?dl=0
Hi fah,
What is the loading thing that happens after a tracking number is input? Does your theme have some kind of JS page loader add on? Can you disable that and test again? It might be affecting the query our plugin is doing.
Also, do you happen to have “Order E-mail Confirmation” (in the “Basic” area of the “Options”) tab set to “Auto Entered”? If you do, please change this, to either “No” or “User Entered”.
Also, can you try making an order number that doesn’t have the hyphen, but only letters and/or numbers (e.g. AB123)?
-
This reply was modified 8 years, 4 months ago by
etoilewebdesign.
-
This reply was modified 8 years, 4 months ago by
The topic ‘Changing Order Number prefixes’ is closed to new replies.