DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

How does AI transform chaos engineering from an experiment into a critical capability? Learn how to effectively operationalize the chaos.

Data quality isn't just a technical issue: It impacts an organization's compliance, operational efficiency, and customer satisfaction.

Are you a front-end or full-stack developer frustrated by front-end distractions? Learn to move forward with tooling and clear boundaries.

Developer Experience: Demand to support engineering teams has risen, and there is a shift from traditional DevOps to workflow improvements.

Related

  • Engineering Resilience Through Data: A Comprehensive Approach to Change Failure Rate Monitoring
  • Taming Billions of Rows: How Metadata and SQL Can Replace Your ETL Pipeline
  • Defining Effective Microservice Boundaries - A Practical Approach To Avoiding The Most Common Mistakes
  • Zero-Latency Architecture: Database Triggers + Serverless Functions for Modern Reactive Architectures

Trending

  • Master SQL Performance Optimization: Step-by-Step Techniques With Case Studies
  • Beyond Web Scraping: Building a Reddit Intelligence Engine With Airflow, DuckDB, and Ollama
  • Zero-Latency Architecture: Database Triggers + Serverless Functions for Modern Reactive Architectures
  • Guide to Repairing Damaged Apache Doris Tablets
  1. DZone
  2. Data Engineering
  3. Databases
  4. Top 5 Questions About Developing a nopCommerce-based Store Site

Top 5 Questions About Developing a nopCommerce-based Store Site

nopCommerce may be unfamiliar to you or may even just be a blocker for your current project. Check out some of the top questions about developing a nopCommerce-based store site and the answers to help get you through it!

By 
Lavish Kumar user avatar
Lavish Kumar
·
Dec. 22, 16 · Tutorial
Likes (3)
Comment
Save
Tweet
Share
7.5K Views

Join the DZone community and get the full member experience.

Join For Free

While developing websites, web applications, apps, e-Commerce store sites or even learning to code, we sometimes get stuck with a problem that refuses to be resolved. In those cases, developers like you are looking for some straight forward answers to the questions that are holding you up from getting the work done. 

I thought, why don't I do all the hard work for you and put together a list of top 5 questions about developing nopCommerce based store site?

If you are new to nopCommerce — nopCommerce is the leading ASP.NET-based open-source e-Commerce platform. It is a solution with comprehensive features that is applicable for all types of users from new online businesses, who is going to grow faster, to the most demanding e-commerce experts.

Should I Download Web Version or Source Code?

Often new users of nopCommerce get confused about whether to use a No Source/web version OR Source code for their website(s) and they do not know the difference between the two.

You can deploy your website by using either one but both serve a different purpose.

The answer is simple: It depends on your requirements.

  1. If you want to start an eCommerce site based on nopCommerce with no customization, a web version is enough.
  2. If you want to install new themes but still no customizations, a web version is enough.
  3. If you want to create your own plugins, you need source code.
  4. If you want to customize the code/structure/functionality of your nopCommerce, you need source code.

Points to Remember:

There are 2 kinds of customization:

  1. If you need to modify just the html / design related stuff / just front end stuff in pages (adding or removing anything), a web version is enough.
  2. If you need to modify the way nopCommerce works / customization in the code or structure (like database modification/ code changes / changes in core functionality), you need source code.

Other Information:

  • If you are looking for a seamless upgrade, you will have to keep the nopCommerce code/structure/design in the default state.
  • If you are looking for a change in design or need to modify a few things, you can still upgrade your store to the next version but you will have to redo or re-install your changes that you did in the previous version.
    • This brings up the question, "Do I need to write whole code again?" Well, it depends! If there are no changes to the new/next version of nopCommerce to which you want to upgrade then yes you can use the same code. But if there are major changes and improvement in next version then depending on what kind of changes are in nopCommerce, you will have to modify you code/customization according to that.

Where Is the Connection String?

If you have installed nopCommerce and looking to migrate the site to somewhere else and need to change the hosting company/server or for any other reason in order to access the connection string in nopCommerce, simply go to the following location:

Nop.Web/App_Data/Settings.txt

Open the text file "Settings.txt" and you should be able to see the connection string that your nopCommerce site is using.

Where Can I Configure Email Settings/Mailbox?

Configuring email settings/mailbox on your nopCommerce store site is one of the most important things to have a fully working/functional store site. Configuring the email settings should always be on your checklist while setting up your nopCommerce based store site. Without email settings, the mailing functionality of your site will not work that involves having a contact us form, order notifications, comment notifications or any customer who is trying to reach out to you via your online store site.

All you need is:

  1. Mailbox credentials (email address that will be used for mailing purpose). If you do not have this information, please create a mailbox for your website or contact your hosting company for support.
  2. An access to administration section of nopCommerce.

Here are the steps:

  1. Login to your nopCommerce based website with admin credentials (if you haven't changed it yet, it should be the following):
    username:
    [email protected]password: admin
  2. Now on the website header, you will see options like "Administration" , Click on that to go to the administration section OR simply go to "yoursite.com/admin".
  3. Now you will see the administration section of nopCommerce, Go to Configuration > Email Accounts.
  4. You will see a test account - Click on the "edit" (You can also "Add new" if you would like to add a new account from scratch).
  5. Save your settings.
  6. Confirm. After saving the mailbox credentials, go back to e-mail accounts and make sure account that you just updated is set as "Is Default".

Image title

I Accidentally Deleted the Admin User, How Can I Access Administration Section?

So, you install a fresh copy of nopCommerce, enjoying all the feature and excited about setting up the store but suddenly you realize that while placing around with different options, you have deleted the administrator account by mistake.

How to recover your administrator account now?

No need to panic, as long as you have the access to your nopCommerce database, you can recover the deleted account.

Simply follow these steps:

  1. Login to the database in SQL Server (using tool like SSMS, etc.)
  2. Open the database and run this SQL query:
UPDATE Customer
  SET Deleted = 0
  WHERE Id = 1

Notes:

  • "id" is the account ID from the "Customer" table of your admin account. Usually, id=1 for default admin account. If you create any extra admin account and trying to recover the account, then you will need to check the "Customer" table to get the correct id for the specific account (or record).
  • All the account records, if deleted, never get permanently deleted from the database. Only the value of column "Delete" change from "False" to "True" if you delete any account. In the SQL script, we are simply changing the value back from "True" to "False."
  1. How to recover the account if you do not have the "id"?
    1. Well, as long as you remember the username or email address, you can change your SQL script accordingly like this:
WHERE Username = 'MyUsername'

OR

WHERE Email = '[email protected]'

How to Enable SSL in nopCommerce?

Go to: Administration section >  Configuration > Stores

Click "Edit" beside a store name where you would like to enable SSL.

Select the "SSL enabled" checkbox if your store is SSL secured. SSL (Secure Sockets Layer) is the standard security technology for establishing an encrypted link between a web server and a browser. This link ensures that all data passed between the web server and browsers remain private and integral. SSL is an industry standard and is used by millions of websites in the protection of their online transactions with their customers. Check this option only after you have installed the SSL certificate on your server. Otherwise, you won’t be able to access your site and will have to manually edit the appropriate record in your database ([Store] table).

Let me know if this article was helpful to you. Do you have any unanswered question? Please post it in the comments section below and I will try to answer them.

Database NopCommerce

Published at DZone with permission of Lavish Kumar. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Engineering Resilience Through Data: A Comprehensive Approach to Change Failure Rate Monitoring
  • Taming Billions of Rows: How Metadata and SQL Can Replace Your ETL Pipeline
  • Defining Effective Microservice Boundaries - A Practical Approach To Avoiding The Most Common Mistakes
  • Zero-Latency Architecture: Database Triggers + Serverless Functions for Modern Reactive Architectures

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: