How can i add custom fields in prestashop 1.7.6 newsletter form? - prestashop-1.7

i need funneling the subscriptions in my 1.7.6 Prestashop newsletter. I should add custom fiels in newsletter registration form. How can i do this?
Thanks a lot guys

I suggest you to use Module for creating new custom field. Because you are going to create also new table in the database as well. Then using the front controller to add new field.
You can read the official docs here:
https://devdocs.prestashop.com/1.7/modules/
https://devdocs.prestashop.com/1.7/modules/concepts/controllers/front-controllers/

Related

Magento 2.2 - adding name field to newsletter module

I'm using magento 2.2 and I want to add name field for newsletter module, so there has to be input box in front-end, and also it needs to show in backend, how to achieve this? There is a lot of posts about this, but they all are on older magento versions. So can someone explain how to achieve this?

Simple Magento Description Addon

I would like to receive some guidance or tips on how to create the following simple magento addon. I want to add a new tab when editing a product in the back-end, which for every product the admin can enter a few more details on a textarea which I will later on display on the product in the front-end on a separate tab.
Thanks in advance.
You have to create custom attribute to add a new field in all the products .
You can refer to this link:-
http://www.magentocommerce.com/knowledge-base/entry/tutorial-creating-attributes-custom-fields

How to create a custom registration module in magento

I am new in magento. I want to create a custom registration module for seller in magento 1.5 or 1.6. There are needed two registration like one is general user, another seller. I don't know how magento's default registration module is built. I also don't know how to set up and how to connect between the form and the table like 'customer_entity_varchar' and other table.I think it follows MVC pattern like Joomla And also how to call the function from controller to model for writing "INSERT" sql query. If any one knows about it , please, guide me with giving links or doc.
Thank you.
You need to learn about creating a Magento Module.
Create a Magento Module Basics in Magento Module Development
Then you going to create an own registration controller for sellers.
Extend the customer entity by an attribute saying the customer status (seller|general) or use the Customer Groups Adding Attributes to Customers Entity (see for additional informations About EAV Attributes)
add custom attributes to sellers like in step 3.
I hope could help you!

How to add a custom field button in Virtuemart

I hope this question has a simple answer. I am creating a product catalogue with Joomla 2.5.6 and VirtueMart version 2.0.8e. On the product details page I want to include my own pdf button which will link to the brochure of the product.
Under the suggestion of a reply on the Virtuemart form, I created an image custom field in virtuemart but encountered two major problems.
I don't know now to link the image to a pdf.
I can't seem to remove the title from the image.
http://aleksdesign.ca/joomla/component/virtuemart/software-and-solutions/streem-alert-detail?Itemid=0
Please advise.
Thanks,
Aleks
My suggestion would be to use the Virtuemart Files feature. From the admin control panel, under "Shop", choose "Media". There you can upload the file(s) that you want to have downloaded. Be sure to associate them with a product, and they'll be included on the product page for download. To make a button out of the link(s), you could investigate using CSS to style them as a button. The only alternative I can think of would be to build a custom plugin for VM, which would be a great deal of extra work.
To make Custom fields in Joomla Virtuemart 2.0 is so simple.
You need to open your administrator and then go to:
Virtuemart->Products->Custom Field
there you will find a link to create new custom fiels and you can create your custom field with your choice. It provides various Custom Field Types. After creating and saving your custom field you need to go to product whom you want to add it. like:
Products->your product name->
open your product and go to Custom Fields and there at bottom you can see your custom field. add your custom field to product, save it and check this product from front-end of your site.
I hope this makes sense.
Thanks.

How to add new forms in magento

I have to add some forms for various purpose like getting info from client regarding a product, getting query from customers, some lead forms.
So how can i add new forms in magento other than having new module for forms. The form will be working with some custom db tables or need to mail them to admin/customer.
Please help me out. Thanks in advance
Since Magento is built on MVC model, i think u should add module in order to use any form.
And if you are reluctant in using them, then there is a possibility of having plain php pages outside magento folder and add those links inside magento either using static blocks or CMS Pages..

Resources