hi,
I want add checkbox for conditional coupon box , if "yes" show coupon box.
I add this code in coupon.php
<script type="text/javascript">
$('#checkbox1').change(function(){
if($(this).is(":checked"))
$('#hikashop_checkout_coupon').fadeIn('slow');
else
$('#hikashop_checkout_coupon').fadeOut('slow');
});
</script>
yes coupon<input class="hikashop_checkout_terms_checkbox" id="checkbox1" type="checkbox" name="hikashop_checkout_terms" value="1" />
but dont work.
reason : dont execute script tag.
attach coupon.php (zip)
File Attachment:
File Name:
coupon.zip
File Size:1 KB
please help me
thanks