Subversion Repositories SmartDukaan

Rev

Rev 11517 | Rev 11859 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11517 Rev 11845
Line 130... Line 130...
130
        <script type="text/javascript">
130
        <script type="text/javascript">
131
        <?php if(isset($items) && !empty($items)){?>
131
        <?php if(isset($items) && !empty($items)){?>
132
          var items = <?php echo json_encode($item);?><?php }?>;
132
          var items = <?php echo json_encode($item);?><?php }?>;
133
        <?php if(isset($notServiceableLocation)){?>
133
        <?php if(isset($notServiceableLocation)){?>
134
          var notServiceableLocation = <?php echo $notServiceableLocation;?><?php }?>;
134
          var notServiceableLocation = <?php echo $notServiceableLocation;?><?php }?>;
135
        </script>
-
 
136
135
        <?php if(isset($item) && !empty($item)):?>
-
 
136
          <?php foreach($item AS $i):?>
-
 
137
          <?php $itemString .= $i['id'].',';?>
-
 
138
          <?php endforeach;?>
-
 
139
          <?php $itemString = substr($itemString, 0, -1);?>
-
 
140
        <?php endif;?>
-
 
141
        var itemString = '<?php echo $itemString;?>';
-
 
142
        </script>    
-
 
143
137
144