fldavidallsop Posted November 8, 2015 Share Posted November 8, 2015 As far as I can see HTML is stripped from the output for the standard product description and HTML is allowed for a short description - why is this case? If this is intentional why include the WYSIWYG editor for the long description field?At present if someone wishes to enter HTML in the product description (which is quite common for bold, colours, etc) then they must use the optional short description. Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 8, 2015 Share Posted November 8, 2015 The "rich text" short description is given to the template system and is available for use. However, keep in mind when viewing a Category page, the decision to strip HTML tags from the short description is a "skin-based" decision.If there isn't a short description, then the "rich text" long description is processed by stripping HTML tags before assigning it to the short description and giving the resulting short description to the template system.(This is for CC608.) Quote Link to comment Share on other sites More sharing options...
fldavidallsop Posted December 3, 2015 Author Share Posted December 3, 2015 (edited) Just to check, if someone wants to enter a product description with HTML formatting (like most people do) they should be populating the short description and leaving the main product description blank?Seems strange as most people use the main product description textarea and the expected result would be the entered content (plain or rich text) appearing on the product page.I just want to confirm this before updating documentation related to product descriptions. Edited December 3, 2015 by fldavidallsop Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted December 3, 2015 Share Posted December 3, 2015 Just to check, if someone wants to enter a product description with HTML formatting (like most people do) they should be populating the short description and leaving the main product description blank?No, that is not how it should work. Brian's explanation of how the short description should work above is correct and the main product description should always retain html formatting as this is extensively usedIan 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.