Guest User

file11111

a guest
Mar 9th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. <script type="text/javascript">
  2.  
  3. var aitcgBaseConfig = {
  4. text: {
  5.  
  6. cancel: "<?php echo $this->__('Cancel'); ?>",
  7.  
  8. apply: "
  9. <?php
  10. if($customerId)
  11. {
  12. if($customersaveDesign=="No")
  13. {
  14. echo $this->__('SAVE DESIGN');
  15. ?>
  16. onclick="saveproductLike('<?php echo $_product->getEntityId()?>',
  17. '<?php echo $customerId?>','<?php echo count($likeProduct)?>');"
  18. <?php
  19. }
  20. else
  21. {
  22. echo $this->__('got');
  23. }
  24. }
  25. else
  26. {
  27. ?>
  28. <div onclick="setproductlogin('<?php echo $_product->getEntityId()?>');setrequestlogin();">
  29. <img src="<?php echo $this->getSkinUrl('images/plike.png'); ?>"/>
  30. </div>
  31.  
  32. <?php }?>
  33. <div id="count-<?php echo $_product->getEntityId()?>">
  34. <?php echo count($likeProduct);?>
  35. </div>
  36.  
  37. ",
  38.  
  39. done: "<?php echo $this->__('yes') ?>",
  40. must_be_customized: '<?php echo $this->__('This option must be customized.');?>'
  41. },
  42. };
  43.  
  44. //]]>
  45. </script>
Add Comment
Please, Sign In to add comment