Hello All,
The WYSIWYG editor adds erroneous code to the database if you delete the short description field when editing a product.
For example:
We have roughly 4,000 products and would like to use the long description excerpt for our short descriptions, which cs-cart says it does by default if there is no short description defined for a product.
If we add a product that by default has NO short description everything works like a charm. However if we remove a short description or add a short description and remove it nothing is displayed at all in the areas that either short descriptions should be displayed or if none are defined long descriptions are displayed.
When I look in the database with phpMyAdmin at the cs_cart_product_descriptions table it shows that the editor has automagically added the following code to the short descriptions field:
<br />
<p><br></p><br />
```<br />
<br />
It also seems to do this for the promo text field if you have promo text and then you delete it out and save the product.<br />
<br />
Even if you switch to code view and manually delete the paragraph and break tag(s) it still adds them in on save.<br />
<br />
Although not critical for running our site this is obviously a bug and I am hoping that a fix is available? As going into the database and manually removing code is pretty time intensive.<br />
<br />
Tested with all modern browsers on both Mac and PC.<br />
<br />
Any thoughts anyone? CS-Cart Team?