Jump to content

make query inside helper class and show options


Recommended Posts

Hi,

I am doing a small module in prestashop. In that module I want to show all the product category in the checkbox type. Lets say in the default prestashop installation(1.6) we have 3 main categories (

  1. Casual Dresses

  2. Evening Dresses

  3. Summer Dresses

)

 

Now I want them in a tree manner with the checkboxes in a module backend( inside function renderForm() ). So can someone kindly tell me how to do this? How to make the query in side the renderFor(helper class)  and show them as a checkbox? Any help and suggestions will be really appreciable. Thanks.

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...