Profile: Lavish Kumar

  • United States
  • 219
  • Thursday, March 13, 2008 8:00 PM

About Author

Based out of New York, USA, Lavish Kumar is a full stack web developer by profession and founder of Striving Programmers, a trusted community for developers that offers a wealth of articles and forums to assist individuals with improving their software development skills.

Lavish 's Posts

Setting up your websites for WordPress and nopCommerce Integration

Setting up your websites for WordPress and nopCommerce Integration is quite easy. Make sure you have installed all the necessary plugins / add-ons and have configured your WordPress site and nopCommerce store site as per the installation guide.

Here is the process to setup your WordPress and nopCommerce websites for this integration.

Installing WordPress and nopCommerce Integration

This integration is completely free and can be installed on any WordPress and nopCommerce store site individually like any other plugin. The integration comes with two custom plugins: one custom plugin for WordPress and other for nopCommerce. Both plugins can technically be used individually on their respective sites (depending on what feature you need).

Overview of WordPress and nopCommerce Integration

Everyone knows that nopCommerce is the leading ASP.NET based open-source eCommerce platform while WordPress is a world famous blogging platform backed by thousands of plugins. Integrating nopCommerce with WordPress can be seen as a natural choice for your business if you would like to take advantage of the best of both worlds.

How to create a multi-language store site with nopCommerce

As a store owner, when you are selling products globally (in multiple countries or regions), it becomes quite important to offer a multilingual website that allows online shoppers to change the default store language to their native language. The good news is that nopCommerce does support multi-language option that enables store owner (or administrators) to add / install multiple languages on the store site. In this tutorial, we will cover these 3 topics: Adding a new language pack, Adding a new custom string resource and Localization settings

3 Ways to create a personalized shopping experience on nopCommerce site

Greeting your customers with a personalized shopping experience is high-priority for most of the retails / online business owners these days. When personalization is done correctly on your business website and your sales are going, this is a sign that you as a retailer / business owner understand your customers needs. In this article, we will discuss 3 ways to create a personalized shopping experience on nopCommerce site.

How to display a loading icon until the page loads completely in nopCommerce

Isn't a great idea to display a nice loading animation or icon on your webpage until the page loads completely? It adds a cool little animated touch on your site and it acts as a buffer that fills in the gap of waiting time. Most of the users / website visitors love to see animation on websites. WHY? well, animation helps in keeping the users engaged with the website and its content. Animation also helps in directing the users to the right directing and keep the users from leaving the site too soon.

In this quick tutorial, we will learn how we can display a loading icon until the page loads completely in nopCommerce.

How to disable wishlist in nopCommerce

Every online store is different and offers a different set of featues to its customers depending on the type of business, product, service(s), industry and customer's interest. nopCommerce offers a wealth of features that any store owner may need in order to run his / her e-Commerce business. One of these features includes wishlist.

What if you are not interested in offering this feature to your customers? What if you want to disable wishlist of your nopCommerce store site? Well, there is a way to accomplish this right from the administration section.

How to change or add topic template in nopCommerce

nopCommerce offers a great functionalilty of "topic" pages that allow store owners / managers to create pages right from the administration section without even touching the source code. Creating these topic pages on the fly from the administration section DOES NOT require any technical skills. As long as you have the access to the administration section (& required privilege), you can easily create a topic page.

But, what if you (as a store owner / manager) want to change the layout of the topic pages? What if you want topic page 1 to look different from topic page 2? Let's look into the process that allows you to choose different templates for different topic pages.

How to use Salesforce Marketing Cloud (SFMC) LookupOrderedRows AMPScript to search data in a data extension that returns multiple rows

Today, we will talk about Salesforce Marketing Cloud (SFMC) and AMPScript (LookupOrderedRows AMPScript to be specific). Salesforce Marketing Cloud (SFMC) is a customer relationship management (CRM) platform for marketers that allows marketers to create 1-to-1 journeys across the entire Salesforce Customer Success Platform -- journeys that span not only digital marketing, but sales and service as well. This simplifies data management, segmentation and campaign management, making it easy to create compelling digital marketing campaigns, boost customer engagement and ultimately drive more leads into Salesforce.

In this tutorial, we will go over the LookupOrderedRows AMPScript that can be used to search data in a data extension that returns multiple rows.

How to redirect users based on referrer URL using JavaScript

In this tutorial, you will learn how you can redirect users on your website based on referrer URL using JavaScript. According to W3Schools, "document.referrer" returns a string, representing the URL of the document that loaded the current document. Returns the entire URL, including the protocol (like http://). If the current document was not opened through a link (for example, through a bookmark), an empty string is returned.

This solution can check if the user (site traffic) is coming from a specific webpage or a website URL and based on that it will redirect the users accordingly.

Let's dive in!

nopCommerce 3.20 and above need full trust hosting. Have you confirmed this from your hosting company that they are offering full trust level on the server where you have configured your site?

2 years ago

Hi Mark, please see my last post above.

Also - If you are using import file exported by other site, please make sure both sites are running on same version. If not, then do not use the exported file from other site. Export the file from the site where you want to import the products.

2 years ago

UPDATE: If you continue to get the same error.

In this case export one product (that you have manually added to your site) by using export button and then simply import that file AS-IS.

Worst case scenario - If you STILL get the exact same error about "STG_E_WRITEFAULT", in that case your file is not the issue. The issue has something to do with your permissions.  In that case, make sure your root folder has write permission (or  at least this folder should have write permission: \Content\files\ExportImport)

2 years ago

Hi Mark,

In your case, I would recommend the following points:

1) If you are creating a brand new import file from scratch. Instead of creating a new file, try using the "Export" option and export the existing products (it will give you everything in an excel file). If you do not have any product(s) on your store site, simply create a test product manually

2) Once you have the exported file (use this as your base file / template for import) and ensure that you have all the fields values in required fields / columns

3) Save your products in the same Excel version / file (I would recommend importing just one product for now to make sure it is working instead of adding hundreds or thousands of products. It will be easier to troubleshoot the product with one product only)

2 years ago

Hi Aman,

If I understood your question correctly, you have your sites setup like this?

---Store 1 (ftempurl)
---Store 2 (ftempurl)

---Store 1 (btempurl)
---Store 2 (btempurl)

So, as long as you have Store 1 & Store 2 configured correctly on each of your primary test domains, you should be able to assign theme to each sub-store.

You can set a theme for each store on this page here:Configuration > Settings > General Settings

2 years ago

Hi Aman,

nopCommerce does support publishing products per store (if using multi-store feature).

1) Go to: Administration section > Configuration Settings > Catalog Settings
UNCHECK the option "Ignore "limit per store" rules (sitewide)"

2) Now, select any product (go to edit product page in administration section) and you will see a tab "Store"s. Inside that tab, you will get an option to limit a product on one store only.

This is how you can limit products based on stores.

2 years ago

Hi Aman,

Just confirming - So, you are looking to setup / configure different themes for store 1 and store 2 on your nopCommerce site (using multi-store functionality)?

1) How did you configure your two stores on your nopCommerce local instance?

2) Could you please explain what exactly you did (steps that you followed) to select different themes for different stores from your admin panel?

2 years ago

Yes, it is possible as long as you are only looking to add custom HTML / CS in a topic page.
You can add your custom CSS (classes / IDs etc) to theme style-sheet. Then, add images in your theme folder and reference accordingly.

In your topic, simply add the HTML markup code and it should pick up all the styling.

P.S. If your custom CSS is using same / similar classes or IDs that are being used in the nopCommerce theme. It will affect your site layout / design globally.

2 years ago

Nop Dev wrote:

I was wondering if there is a way to edit Specification Attributes for a large group of products via excel spread sheet.  I read your article about Product Attributes but I am wondering if you know of any solution for Specification Attributes.  It is very time consuming to go into every product and add this info.

Thanks in advance!


So, I am assuming you are referring to this article: How to update product attributes in nopCommerce (Step-by-Step Tutorial)

Yes, that article was about product attributes (not specification attribute).

As of now, there is no out of the box feature in nopCommerce 3.80 to import / export specification attributes in bulk (assuming you are using nopCommerce 3.80).

There are 2 ways to accomplish what you are trying to do:

Option 1) If you know SQL, you can write a custom sql script that can import mass specification attributes and map it with product (based on product ID)

Option 2) There is a 3rd party product called "nopAdmin" that allows you to update specification attributes in bulk. You can check their website to see if they support the latest 3.80 version.

2 years ago