Detect Prestashop Temp & Plugins - prestashop

I have a question about PrestaShop.
How can i detect which template and plugin/modules are using in a PrestShop site?
For example this site. I couldnt find the details on source code (for template name, it writes kva; but i think its a fake name. i dont think they use full custom template)
Thank you.

The theme name is "kva" and since the shop is called KrisVanAssche.com this most probably is custom theme. The only modules that you can know about are the ones that include .css and .js (in case of CCC is not enabled - which is the case in that site). So in the current case you can see that they use the feeder module, the paypal module and the cron module. Additionaly from the CCC JS & CSS you can see that they are using blockcart & blockuserinfo. That's all.

Related

Prestashop Custom Registration

I am new to Prestashop. I have solid PHP experience. I would like to know how to add customer groups on customer registration page manually or how to add custom fields. I have tried to search ways to do it but I only see paid plugins.
There are good examples for this. Like "Login By Mobile" module.
They moslty use this hook: AdditionalCustomerFormFields.
If I had to do this, I would rather creating a new module, instead of editing the core files.
So this is an example module.
https://github.com/frederic-benoist/fbsample-extracustomerfield

i am adding custom html free version in my prestashop 1.7

I have added one module custom html box in PrestaShop 1.7 . Module is installed but you can use it only once .can i create multiple list of htmlbox?
This depend on the module, but if you are using htmlbox module, yes, the free version is programmed to only be used 1 time in 1 place.
But there are two options to do this without any developed module.
1st option:
You have the option to include these html code directly in the tpl of the activated theme.
In prestashop 1.7 version we have a new feature that, if you are in mode developer ("Advanced parameter" -> "Performance"), in the html you can see in what template is located any element.
For example, to add a code above the slider of the home page, if you inspect the element you can see this:
In the "begin" tag you have the template that you need to modify.
2nd option:
You can create a new module and use the display hooks correctly.
Here you have all that you need to know about the creation of modules.
http://developers.prestashop.com/module/05-CreatingAPrestaShop17Module/

Its is possible to put some product on homepage (POPULAR) manually in prestashop?

How can I manage the content on the homepage in prestashop? Foe example I put a special product on popular tab?
This can be solved through various ways,
One option is to custimize your product page from back office. That should be found in "theme module".
Another way you can try is to use third-party add-ons, that may not be costless.
Or you can edidt your source code, for example, your .tpl file.
Hope these can do some help.

Display a form in prestashop

I would like to show a form in prestashop module and would like to store that value in database. How is it possible?? Is there any prestashop expert ??
You may use custom HTML block and add your form code inside that. And off course have to use a hook to show up that HTML block in the site.
There are lots of free Custom HTML block modules available.
You should take a look at all the modules available in the modules/ directory.
If you want to display a form in the back and/or the front office, you'll have to override different methods of the Module class, and you'll have to use the different hooks available..
Best regards,
Try this free module :
https://www.prestashop.com/forums/topic/391966-megablock-16-module-gratuit/
With this one you can add HTML in some hooks from back-office.
Everything is stored in database.
You should use Helpers and Tools class (Helpers show forms and Tools::getValues() does what it says...)
In MegaBlock there is also TinyMCE available. Have a look, this module is really useful ;-)
you can develop a module by using hooks based on the hooks used the form will be displayed in that position in prestashop while using hooks you need to assign a tpl file in that tpl file you can write the codings to display a form
And also you can develop a module with a separate controller and you can assign a tpl for that controller.

Overriding prestashop module translation missing

I try to modify a module template in prestashop so I've copied the module to my theme folder "modules".
I've noticed that the theme is changing the only problem is that the translation is not. I got the original text on the final shop template. Is there some simple way of making this work?
I don't know how to make modules so this way was great except the translation part - the rest of the store is translated except those modules. I use prestashop 1.4.
In your Back Office, you need to edit the Module Translations under Tools > Translations > Modify Translations. They are translated separately from the Front Office and Back Office translations, just select "Modules" from the drop-down menu.
Make sure your module can be translated also :
{l s='Login' mod='blockuserinfo'}
The name of the module has to be here,
also make sure to check the prestashop user guide :
http://doc.prestashop.com/display/PS15/Translations+in+PrestaShop+1.5