Jump to content

How to add a custom form to be used with PrestaShop?


MarcoPas

Recommended Posts

Hi there, being new to PrestaShop i was wondering on how i could create new form that enables users to login into PrestaShop. This form should be usable before they enter the shop. Do i have to create a new module? Or how can is implement this?

Link to comment
Share on other sites

hi,

You can find login form on your theme authentication.tpl file and you can edit it there if you want.

The best way to change anything like that in my opinion is by creating a module that uses your custom hooks for the functionality.

So, for example, if you want to make login page the first thing in your store, I suggest creating a module that users the default PrestaShop hook home and you can check whether the users is logged in or not and show what you want on both cases.

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