Jump to content

How can I get product price with ajax on quick search?


PanosStack

Recommended Posts

  1. cname:"something"
  2. crewrite:"something else"
  3. id_product:"something else"
  4. pname:"something else"
  5. position:"100"
  6. prewrite:"something -else"
  7. product_link:"https://something-else"
  8. pthumb:"https://mydomain/something else.jpg"

I edited the file: /httpdocs/modules/blocksearch_mod/views/js/blocksearch.js and I added console.log(data); in order to see what results are sent on jquery... Console showed me the results above but there is not product price available... Is there a function in php that I have to edit in order to get product price also?

Edited by PanosStack (see edit history)
Link to comment
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...