I'm trying to assign two replacement tags to JavaScript vars in template file checkout-step4.html:
<!--START: extrafields-->
<!--START: extra_field_1-->
<script language="JavaScript" type="text/JavaScript">
var bookurl = "[extra_field_1]";
</script>
<!--END: extra_field_1-->
<!--END: extrafields-->
<!--START: pass-->
<script language="JavaScript" type="text/JavaScript">
var passw = "[pass]";
</script>
<!--END: pass-->
____________________
[extra_field_1] & [pass] are not being replaced as expected - this technique is working for other tags, provided they are inside the correct <START><END> comments, so I am unsure what is happening here.
Am I missing some higher level <START><END> tags? Do these only work in certain templates?
Regards,
Brent
<!--START: extrafields-->
<!--START: extra_field_1-->
<script language="JavaScript" type="text/JavaScript">
var bookurl = "[extra_field_1]";
</script>
<!--END: extra_field_1-->
<!--END: extrafields-->
<!--START: pass-->
<script language="JavaScript" type="text/JavaScript">
var passw = "[pass]";
</script>
<!--END: pass-->
____________________
[extra_field_1] & [pass] are not being replaced as expected - this technique is working for other tags, provided they are inside the correct <START><END> comments, so I am unsure what is happening here.
Am I missing some higher level <START><END> tags? Do these only work in certain templates?
Regards,
Brent
Comment