Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Store 2.3.5 - Release notes

$
0
0
Fix for reported issue:

https://nbstore.codeplex.com/workitem/10991
If you are using the sample stg3form.template which enables a Terms acceptance checkbox at the end of the checkout, the payment methods are hidden again if the buyer changes the shipping method after checking the Terms box.

To resolve this, replace your stg3form.template with the following and modify to suit your needs:
<br/>
<span class="TermsSpan">
  [<tag id="ChkTerms" type="checkbox" class="TermsCheckBox" />] Please check to accept the <a style="font-weight:bold;text-decoration:underline" href="/Terms" title="Click to read the terms and conditions in a new window" target="_blank">terms &amp; conditions</a>
</span>
<br/>
<br/>
<script>
jQuery(document).ready(function()
{
    $(".TermsSpan > input").attr('checked', false);
    $("div.Checkout > div > div > fieldset").css("display","none");
    $(".TermsSpan > input").click(function()
    {
        if ($(".TermsSpan > input").is(":checked"))
    {
            $("div.Checkout > div > div > fieldset").show("slow");
    }
    else
    {
            $("div.Checkout > div > div > fieldset").hide("fast");
    }
    });
});    
</script>
A replacement managermenu.xml file, including this fix is available for download here:
https://nbstore.codeplex.com/releases/view/56652

Regards
Rob

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>