Jump to content

Calling webservice to get product information from external source ???


Recommended Posts

Hi,

I am trying to figure out how to load some specific information in to the product page.

I want to be able to collect some information using a webservice I made and use that information on the product page.

What is important is that the information will be available when loading the product page.

Can anyone point me in the direction as to how to do this and maybe tell me where to put my code.

Thanks in advance

Edited by Thomas Andersen (see edit history)

Share this post


Link to post
Share on other sites

Hi,
      You can create your own front controller to get data from your webservice request then return it to show on page in desired format.

To show on product page you can call controller you made using ajax and update it on page with javascript or jquery by writing code on following template 
themes/classic/templates/catalog/product.tpl 

you can update theme name with your current theme like i have mentioned default theme name i.e classic

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More