Skip to content

Commit 0df2978

Browse files
committed
clean up script initialization
remove the initial window.convert_cart and window.convert_profile initializtions they are repeated in the appropriate blocks.
1 parent 96d681c commit 0df2978

File tree

1 file changed

+0
-7
lines changed
  • app/design/frontend/base/default/template/rekko

1 file changed

+0
-7
lines changed

app/design/frontend/base/default/template/rekko/rekko.phtml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ $enabled = Mage::getStoreConfig('advanced/modules_disable_output/' . $moduleName
99
<script type="text/javascript">
1010
var cvtJsHost = (("https:" == document.location.protocol) ? "https://dnhgz729v27ca.cloudfront.net/" : "http://use.convertglobal.com/");
1111
document.write(unescape("%3Cscript src='" + cvtJsHost + "client/setup.js' type='text/javascript'%3E%3C/script%3E"));
12-
if (!window.convert_cart) {
13-
window.convert_cart = {};
14-
convert_cart.shoppingCartItems = new Array();
15-
}
16-
if (!window.convert_profile) {
17-
window.convert_profile = {};
18-
}
1912
</script>
2013
<script type="text/javascript">
2114
window.convert = new Convert("<?php echo $merchantID; ?>");

0 commit comments

Comments
 (0)