Adding a field to Contact form

Posted: January 07, 2014 at 12:04 PM Quote #113323
Hello all! I have a site I'm putting together with nopCommerce 3.1, and I'm trying to figure out how to have it send an email via a form thats in the footer of the template.  All I want the form to do is send it to a specific email address I specify and that's all.  No database updates. Nothing like that.  Would I just be able to use razor syntax in the footer.cshtml page to get this done you think?  That would be the easiest way to do it.  Thanks in advance!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 08, 2014 at 11:55 AM Quote #113427
Bumping post.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 08, 2014 at 7:41 PM Quote #113453
Ajax post back and handle from backend?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
http://tech.sunnyw.net/search/label/NopCommerce
Posted: January 08, 2014 at 8:57 PM Quote #113457
Doesn't even have to be Ajax... can just have a Form that posts to custom controller method
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.noptools.com
Posted: January 08, 2014 at 10:06 PM Quote #113466
I was actually hoping to not have to mess with the controller code.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: May 13, 2014 at 2:16 PM Quote #122795
fredbear7232 wrote:
I was actually hoping to not have to mess with the controller code.


Sooner or later you will :)
but the idea it to remain consistent when you do it which is recommended to be done using plugins.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: July 11, 2019 at 9:33 PM Quote #242447
Hi,

In your case, I think I have to use the contact form plugin to not have to edit to the database. You can refer to this Plugin

https://www.nopcommerce.com/p/1713/dynamic-form-nopcommerce-plugin-contact-form-nopcommerce.aspx

Thanks!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
http://taitrochoi.mobi - http://taigamevuimienphi.mobi
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.