thinkerytim Posted November 19, 2014 Share Posted November 19, 2014 When I use simple HTML to create a product description, after viewing it in the browser from the shopping cat view, the text is all backwards. For example, here's the very simple HTML I post in the product description: This is my basic product offering <br /> If you're experienced with basic website design, this is for you.<br /> Learn all about web design at <a href="http://webdesign.org/" target="_blank">Web Design</a>.<br /> NOTE: web design is just a thing to learn. Here's the HTML generated on the front end by WHMCS: <div class="name"> Basic</div> <span class="prodfeature"><span class="feature">Learn all about web design at <a href="http://webdesign.org/" target="_blank">Web Design</a>.<br /></span> <span class="prodfeature"><span class="feature">NOTE</span><br /> web design is just a thing to learn.</span> <div class="clear"></div> <div class="description">This is my basic product offering. <br /><br /> If you're experienced with Joomla and basic website design, this is for you.<br /><br /> </div> How does this all happen? Why are my paragraphs broken out as features, and the order of the items reversed? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 20, 2014 Share Posted November 20, 2014 this occurs because WHMCS thinks that you are using "Feature Highlights"... http://docs.whmcs.com/Standard_Order_Form_Templates#Using_Feature_Highlights Using Feature Highlights Feature Highlights are supported by the Slider, Modern and Comparison cart templates. The idea behind these is to allow you to highlight or bring attention to certain key features of each product/service. They are used by entering features in the format "Attribute: Value" within the product description field, one per line, starting on the first line of the description. And in the case of the Slider & Modern templates, you can also include a text description to be displayed below them. so because your descriptions contains colons, WHMCS is converting them to use Feature Highlights. the way to get around this if use Comparison, Modern or Slider (or a custom based on any of them) is to either not use colons in your description - in your case, after "Note" and in your URL link... or replace all colons with its html code equivalent & # 5 8 ; (remove the spaces). so using the html code replacements, your description would be This is my basic product offering <br />If you're experienced with basic website design, this is for you.<br /> Learn all about web design at <a href="http://webdesign.org/" target="_blank">Web Design</a>.<br /> NOTE : web design is just a thing to learn. 0 Quote Link to comment Share on other sites More sharing options...
thinkerytim Posted November 20, 2014 Author Share Posted November 20, 2014 Thanks-- that was the issue. 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.