Jump to content

Prashant_Musale

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Location
    India
  • Activity
    Freelancer

Prashant_Musale's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am trying to develop a subscription based module for virtual products like emagazine. A customer should be able to buy a single copy or subscribe to a product for a period of 3/6/9/12 months etc. As of now i have developed some part, where i can define the periods like 3/6/9/12 etc Months in general. And then i can associate same periods with the products as required. Now my problem is how can i keep product linked? eg. XYZ magazine is monthly magazine. So a product will be added on monthly basis. January, February , March etc.... So If a user subscribes XYZ magazine in January for 12 Months, then how can i add next products to his orders automatically.
  2. Is it possible to show only those products uploaded by employee himself in prestashop backoffice?. For eg A uploads ABC product B uploads XYZ product C uploads HHH product Then a will only be able to see ABC product. Then b will only be able to see XYZ product. And so
  3. i am trying to add customer via prestashop webservice . but it is giving me error as 401 unautorised. Please help me if i have missed out something in below code Note: i m just passing xml value as test just to check whether it works or not. $.ajax({ type:"POST", url: "http://127.0.0.1/ebooks/api/customers/", contenttype:"application/xml", datatype:"xml", data:{ PHP_AUTH_USER:"", ws_key:"XGX2VQ1IRLVF1H7F4Z8LTZR976PZSASDCF7R", xml:"test"}, success: function(text) { alert(getXmlAsString(text)); $("#bid1").text(text); }, error: function(xhr) { //something went wrong, handle the error and display a message alert("An error occured: " + xhr.status + " " + xhr.statusText); } });
  4. How can i get top 10 /n elements from Prestashop Webservice URL For eg. www.xyz.com/api/products?display=full displays all products instead of this i just want top 10 elenments so how can i get this? www.xyz.com/api/products?display=[Top 10] Some things like this? Is there any configuration/ parameters defined for this. Or else i have to make changes in prestashop webservice colde. Help
  5. I am new to prestashop(1.5.4) i just wanted to know how prestashop handles URL means how he captures attributes given in URL . for eg. i want to give grid and list view http://www.erelego.com/prestashop/ebooks/index.php?id_category=70&controller=category&orderby=price&orderway=desc&ViewType=Grid http://www.erelego.com/prestashop/ebooks/index.php?id_category=70&controller=category&orderby=price&orderway=desc&ViewType=List how to handle this? how will i get value of ViewType? PS: i dont want to do this with javascript i am using Prestashop version(1.5.4) Please Help !
×
×
  • Create New...