Create an account to edit articles | See Formatting Syntax for Wiki syntax | We look forward to your contribution!
You are here: The ProductCart Encyclopedia » ProductCart Developers' Corner » Successfully adding a Flash animation to the product description
Successfully adding a Flash animation to the product description
Overview
You can certainly add a Flash® animation to the detailed product description. In fact, you can do so using the built-in HTML editor. The only thing that you need to be careful about is that your code does not contain comments. That's because line breaks will be lost when the code is retrieved from the database (ProductCart uses a function that performs a series of tasks, including removing line breaks): if there are comments in the Flash object code, when line breaks are removed, the animation will stop being displayed.
Symptoms
A Flash animation added to the product description stops working after the product is edited. If you add it again, it works, but it stops again next time you edit the product and resave it.
Solution
The problem can very easily be resolved by simply removing “comments” from the Flash object code.
If you add a Flash object directly using the HTML editor, no comments are added into the HTML code, and therefore the issue will not occur.
Trace: • Performance Tuning • BTO Tips: Taking advantage of hidden categories • BTO Tips: using CSS to style the BTO configuration pages • Increasing the maximum number of products in the cart array • Understanding How Categories Are Displayed • Creating custom Store Map page that uses your store's true (dynamic) header and footer • Database Structure - How Build To Order Prices are stored • When E-mails are Sent and How • Finding the Location of a Text String in the Source Code • Successfully adding a Flash animation to the product description