datex Posted March 27, 2013 Share Posted March 27, 2013 Hi I have just upgraded to WHMCS 5.22 - using web20cart. After the upgrade I have experienced this: When i browse the products everything is fine - but when I choose order "Order Now" and goes to "Product Configuration" - all the line breaks are missing in the product description. Any idea how I solve this? 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted August 26, 2013 Share Posted August 26, 2013 Did you ever get a fix for this issue? I am having the same problem on version 5.2.7. Sean 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted August 26, 2013 Share Posted August 26, 2013 I created a new ticket with WHMCS for this issue ( FYW-353828 ). In the meantime, I figured out a workaround. In the configureproduct.tpl template, for your order form template, change the following: {$productinfo.description} to {$productinfo.description|nl2br} This will change all "\n" line breaks to html <br /> tags in the given variable. More info is described here: http://www.smarty.net/docsv2/en/language.modifier.nl2br.tpl This works for me. However, this needs to be addressed by WHMCS, as it shouldn't have to be done. Sean 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.