Advertisement
pusatdata

Ajax error:Edit the path in jcart.js to fix

Mar 16th, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. cari seperti ini di file jcart.js:
  2. ========================================
  3.  
  4. var config = (function() {
  5. var config = null;
  6. jQuery.ajax({
  7. url: path + '/config-loader.php',
  8. data: {
  9. "ajax": "true"
  10. },
  11. dataType: 'json',
  12. async: false,
  13. success: function(response) {
  14. config = response;
  15. },
  16. error: function() {
  17. alert('Ajax error: Edit the path in jcart.js to fix.');
  18. }
  19. });
  20. return config;
  21. }());
  22.  
  23. Tulis path filenya secara lengkap untuk ini:
  24.  
  25. url: path + '/config-loader.php',
  26.  
  27. misalnya seperti ini:
  28.  
  29. url: path + 'http://indofamilyshop.com/wp-content/themes/griyatokoonine2015/scripts/cart/config-loader.php',
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement