Jump to content

How do I remove the email field without affecting other pages?


Since1953

Recommended Posts

We would like our customers to see "Usually ships in 2-3 business days" on our product pages. Using the Translations page I was able to modify "notify when available" to "Usually ships in 2-3 business days," however the email-input field is still on the page, so you see:

 

Quantity:

 

Usually ships in 2-3 business days

 

Is there a way to remove the email input field so it just displays "Usually ships in 2-3 business days" (no email input) without affecting other pages in the Mail Alerts module?

Link to comment
Share on other sites

Thank you for the suggestion. Will modifying that remove that box from other places as well? I only want to remove it on the products page, and not affect any other MailAlerts pages.

 

Also, do you know what code I need to modify? I'm an amateur with .php.

Link to comment
Share on other sites

this depends on the version of Prestashop and what you want to accomplish exactly.

 

1) to completely remove the functionality on the product page, then you should disable the "ProductOutOfStock" hook in the Positions section of the backoffice

2) to remove just the input box, but the leave the other functionality, you would edit the product.tpl file located in the mailalerts module folder

 

If you are not comfortable performing these steps and need to hire a professional, you can send me a PM and we can discuss in more detail.

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