Jump to content

Create a sample FAQ module


Recommended Posts

Hello good,

I'm trying to create a new module for personal use in my project because I didn't find anything like that.

It is a simple form to register the FAQ with fields: questions, answer, language and product id.

List the FAQ if possible (I don't have this part) and finally make that query with its answer visible in a product or using a variable type {question=1}


I attach the code that I have which gives me an error when uploading the module to Prestashop 1.7

Any questions about why there is an error will be welcomed.

Greetings and thanks in advance

grpg_faq.zip

  • Like 1
Link to comment
Share on other sites

First of all, you should include link to your github repository. It is more future-proof, because attachments expire at some point.

Moreover, how about if same category products have same questions? Waste of db space, imho.

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