<script>
var modal = document.getElementById("mymodal");
var btn = document.getElementById("test");
if(document.URL.indexOf("/catalog/furshetnye_zakuski/")!=-1) {
modal.style.display = "block";
}
btn.onclick = function() {
modal.style.display = "none";
}
</script>