Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var aitcgBaseConfig = {
- text: {
- cancel: "<?php echo $this->__('Cancel'); ?>",
- apply: "
- <?php
- if($customerId)
- {
- if($customersaveDesign=="No")
- {
- echo $this->__('SAVE DESIGN');
- ?>
- onclick="saveproductLike('<?php echo $_product->getEntityId()?>',
- '<?php echo $customerId?>','<?php echo count($likeProduct)?>');"
- <?php
- }
- else
- {
- echo $this->__('got');
- }
- }
- else
- {
- ?>
- <div onclick="setproductlogin('<?php echo $_product->getEntityId()?>');setrequestlogin();">
- <img src="<?php echo $this->getSkinUrl('images/plike.png'); ?>"/>
- </div>
- <?php }?>
- <div id="count-<?php echo $_product->getEntityId()?>">
- <?php echo count($likeProduct);?>
- </div>
- ",
- done: "<?php echo $this->__('yes') ?>",
- must_be_customized: '<?php echo $this->__('This option must be customized.');?>'
- },
- };
- //]]>
- </script>
Add Comment
Please, Sign In to add comment