Safir Hosting Posted June 13, 2023 Share Posted June 13, 2023 Hello All, On Whmcs default email templates (Like General > Order Confirmation), i can use "order_number" and "order_details" but when i create a custom email template (both on General & Product/Service) i cannot use that variables. The email comes empty on those areas. Working One Dear {$client_name}, We have received your order and will be processing it shortly. The details of the order are below: Order Number: {$order_number} {$order_details} You will receive an email from us shortly once your account has been setup. Please quote your order reference number if you wish to contact us about this order. Regards {$signature} Not Working (Empty) One CONTRACTUAL SERVICE AND PRODUCT INFORMATION The main features of the Product and Service are available on the Website. The sales price of the product and service subject to the contract, including all taxes, is shown in the table below. If the campaign is organized by the PROVIDER, you can review the basic features of the relevant Service during the campaign. The prices listed and announced on the Website are the selling price. Advertised prices and promises are valid until updated and changed. Prices announced for a period of time are valid until the end of the specified period. Order Number : {$order_number} Order Details : {$order_details} 0 Quote Link to comment Share on other sites More sharing options...
leemahoney3 Posted June 13, 2023 Share Posted June 13, 2023 2 hours ago, Safir Hosting said: Hello All, On Whmcs default email templates (Like General > Order Confirmation), i can use "order_number" and "order_details" but when i create a custom email template (both on General & Product/Service) i cannot use that variables. The email comes empty on those areas. Working One Dear {$client_name}, We have received your order and will be processing it shortly. The details of the order are below: Order Number: {$order_number} {$order_details} You will receive an email from us shortly once your account has been setup. Please quote your order reference number if you wish to contact us about this order. Regards {$signature} Not Working (Empty) One CONTRACTUAL SERVICE AND PRODUCT INFORMATION The main features of the Product and Service are available on the Website. The sales price of the product and service subject to the contract, including all taxes, is shown in the table below. If the campaign is organized by the PROVIDER, you can review the basic features of the relevant Service during the campaign. The prices listed and announced on the Website are the selling price. Advertised prices and promises are valid until updated and changed. Prices announced for a period of time are valid until the end of the specified period. Order Number : {$order_number} Order Details : {$order_details} Those variables are only passed through to the email template when an order is created and the initial order confirmation email is sent. You'll actually notice one of the available emails you can re-send is the order confirmation email, however if re-sent it contains no order number or details. So its pointless. Best option is to alter the existing order confirmation email. 0 Quote Link to comment Share on other sites More sharing options...
Safir Hosting Posted June 14, 2023 Author Share Posted June 14, 2023 20 hours ago, leemahoney3 said: Those variables are only passed through to the email template when an order is created and the initial order confirmation email is sent. You'll actually notice one of the available emails you can re-send is the order confirmation email, however if re-sent it contains no order number or details. So its pointless. Best option is to alter the existing order confirmation email. I tried altering Order Confirmation mail but no luck still no order number or details. Also i tried altering credit card payment complete template but nope 😞 0 Quote Link to comment Share on other sites More sharing options...
leemahoney3 Posted June 14, 2023 Share Posted June 14, 2023 1 hour ago, Safir Hosting said: I tried altering Order Confirmation mail but no luck still no order number or details. Also i tried altering credit card payment complete template but nope 😞 Even when you place a new order? As I mentioned, the order number and details will only appear in the initial email sent out after the order is placed and not in subsequent order confirmation emails. 0 Quote Link to comment Share on other sites More sharing options...
Safir Hosting Posted June 18, 2023 Author Share Posted June 18, 2023 On 6/14/2023 at 11:38 PM, leemahoney3 said: Even when you place a new order? As I mentioned, the order number and details will only appear in the initial email sent out after the order is placed and not in subsequent order confirmation emails. Actually yes even on new order. I also created some email templates on WHMCS 7.x.x those templates are working fine with all details included. Only newly created templates not working. (Version latest btw) 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.