Profile: Lavish Kumar

Avatar
Statistics
  • United States
  • 219
  • Thursday, March 13, 2008 8:00 PM
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!


Hi Troyram,

The menu items in the administration section are defined in this location: Nop.Web/Administration/sitemap.config

This article might be helpful to you: http://www.strivingprogrammers.com/Steps-to-hide-admin-menu-items-in-nopCommerce-3-2-based-on-roles

2 years ago

Steve, I have received your message. I am happy that your problem was resolved. Please feel free to contact me if you have any question(s).

2 years ago

Sorry  Steve, I missed your post - Do you still need help?

2 years ago

Option 1: Try setting the width in your iframe code as: "width:100%" and see if it works by adjusting the browser window.


Option 2:
In case the above solution does not work for you, try adding a wrapper around your iframe in the source code like this:

<div class="mywrapper">
       <iframe width="100" height="100" src="http://www.your_link_goes_here" frameborder="0"></iframe>
</div>



Now, go to your style.css and add this:

.mywrapper{
    position: relative;
    padding-bottom: 5%;
    padding-top: 5px;
    height: 0;
}
.mywrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


Try viewing your webpage now. You can adjust the CSS according to your requirements.

3 years ago

Hello ranaomair,

Go to: Administration > Topics > Edit

Now, in the HTML Editor, you will see option "Tools" > "Source Code" - You will get a popup window.

Simply, paste the embed code (of your google map) in the source code and Save it.

3 years ago

Please create a separate topic in this thread for your 2nd question.

3 years ago

I am glad it helped!

Regarding your question - I think you should consider one of these 2 options:

Option 1) You can create a separate category of discounted products and name it something like "On Sale Products" and only add products to these categories that will be available on sale / discounted prices

Option 2) You do not need to create any separate category. Keep all your products categorized how you will go anyway. In this option, make the use of "product tags". The products that will be available on sale / discounted price, just add a tag with those specific product as "On Sale". Now add the direct "On Sale" tag link in your menu or somewhere on your site and customers will only see sale products in that section.

Example for option 2:
Here is an example of all the products tagged as "computer": http://demo.nopcommerce.com/producttag/6/computer
Here is an example of all the products tagged as "digital": http://demo.nopcommerce.com/producttag/16/digital

As you can see, these products are in their respective categories but you can simply pick out products based on product tags.

Hope it helps!

3 years ago

Yes, it seems like your theme is using its own view to override the default home view.

Try changing the layout from "_Root" to "_ColumnTwo" and make sure you have "_ColumnTwo" view in "ThemeName\Views\Shared\_ColumnTwo"

(If you don't have "_ColumnTwo" in your theme, simply copy it from the main project and paste it in your theme's "Shared" folder.

Let me know the results (or share screenshot). If you can share the URL of your website, that would be helpful too.

3 years ago

If you wish to add "left column" on your homepage then go to: Nop.Web / Views / Home / Index.cshtml

Change the layout to "_ColumnsTwo.cshtml" like this:

@{
    Layout = "/Views/Shared/_ColumnsTwo.cshtml";
}

3 years ago