Redirect (worldsecuresystems page) to non-secure version of page | Adobe Business Catalyst

Note: 'Check out page':
Add this code to top of the check out page ( Admin area = Site Manager -> Module Templates - > Online Shop Layouts -> Registration - Buy )
==========================================

<script type="text/javascript">
$(function () {
var str = '{{globals.site.host}}';
var res = str.split('.')[0];
// redirect to non-secure version of page
$("a").each(function () {
var href = $(this).attr("href");
href = "http://"+res+".businesscatalyst.com" + href;
$(this).attr("href", href);
});
});
</script>

No comments:

Post a Comment