Jump to content

razorranjan

Members
  • Posts

    17
  • Joined

  • Last visited

1 Follower

Profile Information

  • Location
    surat
  • Activity
    Developer

razorranjan's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. My URL is http://amayraa.com/api/addresses?ws_key=FHZ4JNCEXBW434EUX2T7X3WQCJJPFSEU&display=full&output_format=XML If you view response then find out that response comes with a blank line on top. so its not able to parse into XML format please help me
  2. Its working fine few days ago and now it throwing error but it is working well with my virtual server
  3. Hi XML Parsing Error: XML or text declaration not at start of entity This error comes when I executes web services url inside browser address field. one extra space is in response So any body can help me to find out that from where that extra space comes.
  4. can you please let me know the solution @razaro i had sent you the details.
  5. thanks for the concern but the website is on my local machine. i will be changing the key while making it online. the domain is different online. i will pm u the details in few mins.
  6. I tried it the way u just instructed but now i get 500 error. "NetworkError: 500 Internal Server Error - http://prestashop.net/api/products?ws_key=T1QI2PA4ZLXXI5EUVEKA2XQR4NZB9YLW&output_format=JSON" but if i open the same link in the browser it returns the json data.
  7. check this out. https://www.prestashop.com/forums/topic/452230-phonegap-app-for-prestashop/
  8. Note: website i am using here is on local machine. okay i figured it out for getting response in json format using the below link key@domainname/api/products/?output_format=JSON its gives me json data but when i try to access the same using angularjs i get error. I tried it in two ways. 1.using var get_products = 'http://[email protected]/api/products/'; $http.get(get_products).success(function(response){ console.dir(response); }); Error: Access to restricted URI denied. 2. using var ws_url = 'http://prestashop.net' ; var ws_key = 'key' ; $http({ method: 'get', url: ws_url + '/api/products/', params: { ws_key: ws_key } }); XML Parsing Error: no element found Location: moz-nullprincipal:{05e14370-efc4-4149-8c65-33d77604d6b2} Line Number 1, Column 1: Can anybody tell me where i am getting it wrong. I tried the 2nd method from the link : http://stackoverflow.com/questions/24798902/acces-prestashop-webservice-from-javascript as the guy had the same situation like i have.
  9. Hello guys, I recently developed an app using cordova, angularjs, ionic framework, angular material for wordpress site. Wordpress returned json data via their api plugin and angular works on json data so there were no problems while building the app. Now i want to build an e-commerce app using cordova,angularjs,ionic framework,angular material for prestashop. The main concern for me is that prestashop returns xml response for the api calls made. Is there any way i can reterive json data using the webservice that prestashop provides. Please guide me through this so that i can contribute my app for free after the development. Prestashop version: 1.6.0.9 Thanks.
  10. Hello all, Please visit http://hotelport.kintu.com/index.php?id_product=20&controller=product {then do as instructed below.} 1.then add the product to cart 2. add 2-3 the recommended products 3. goto cart page (http://hotelport.kintu.com/index.php?controller=order) 4. you can see the recommended services and shopping cart on this page. What i want to do is In the recommended services section on cart page if i add a services to cart then the shopping cart section should automatically update the cart summary. the cart summary works fine while deleting products as there are two ajax calls taking place when clicked on x. but when i click on add to cart from the recommended services on cart page only one ajax call(for updating the cart on the top and on the right side floating bar). i would like to update the cart summary when i add any recommened services. Thanks in advance. Ps version. 1.6.0.11 theme: panda
  11. hello guys, I created a sandbox account on ebay to test the ebay module in prestashop. Is it possible to test my sandbox store on local. I also have my modified prestashop store online. what should i do to test my sandbox store in the ebay module(version:1.9.1) Thanks.
  12. thanks but i am trying to develop it myself. so i need some guidance.
  13. Hello, But i am not aware of how vip user exactly works. I had read on some websites that vip users have special previalges like more discounts. They are charged some amount every month for which they get special discounts on some products.
  14. Hello Guys, I want to create a user group lets say its vip user group. What are the conditions that i have to put while creating as i am not aware of this functionality. Please suggest me the controllers,tpls files that i should be using to create this module. There should an option to select the user type customer/vip while registration. Prestashop version: 1.6 theme: default. Thanks.
  15. Hello vekia, ps version: 1.6.0.9 theme: default I am making modifications in the prestashop module blockwishlist. I have managed to do the above task. but i have one new problem. i want that my wishlist should be visible on shoppingcart page too. so i created a hook public function hookShoppingcart($params) { return $this->display(__FILE__, 'blockwishlist-cartpage.tpl'); } which displays the content in blockwishlist-cartpage.tpl file at the end of shoppingcart page. but when i increase the no. of products in the cart(clicking on +) the wishlist gets empty. so to avoid this issue i called the hook in shopping-cart.tpl file like {hook h="Shoppingcart" mod="blockwishlist"} which displays products even when i click on + to increase the no. of products. result: i have two wishlists . 1st: due to hookShoppingcart method (at the end of page) 2nd: after calling hook in shopping-cart.tpl file. (below the shoppingcart page) i don't want the 1st one. in the attachment you can see the wishlist appearing twice.
×
×
  • Create New...