• Home
  • Services
    • Retail & eCommerce
      • .NET eCommerce
      • Multichannel eCommerce
      • Mobile Apps for eCommerce
      • eCommerce Chatbots
      • Dynamics365 Integration
    • SharePoint Portal
      • Document flow
      • Request approval services
      • Staff directory and orgchart
      • Helpdesk
      • HR-services
      • Reporting and documentation
  • Projects
  • Customers and partners
  • Blog
  • Contact us
ISDK - eCommerce development, omnichannel solutions, CRM-marketing
  • EN
    • EN
    • DE
    • NL
  • Home
  • Services
    • Retail & eCommerce
      • .NET eCommerce
      • Multichannel eCommerce
      • Mobile Apps for eCommerce
      • eCommerce Chatbots
      • Dynamics365 Integration
    • SharePoint Portal
      • Document flow
      • Request approval services
      • Staff directory and orgchart
      • Helpdesk
      • HR-services
      • Reporting and documentation
  • Projects
  • Customers and partners
  • Blog
  • Contact us
Price by regionPrice by region

Prices by region in nopCommerce

It might be quite frustrating for shoppers to browse through a catalog, get an idea of the prices, and then at the checkout discover a significant price increase. This may stop many people from completing their orders. If in your store prices differentiate by region, a good idea might be to display correct prices already in the catalog. A plugin can helpful for this. See below our experience of developing such a plugin.

Challenge

A company provides delivery to different cities within one country. Once on the site, a user can select his/her city. The requirement was to group cities into regions by price, make a system that would define delivery prices depending on those regions and to show the correct prices in real-time as well as place an order with the correct price based on the delivery address.

Solution

To fulfill the task, a plugin was developed. This plugin is using the following nopCommerce customization mechanisms:

  • Custom entities development
  • Action filter implementation
  • Events interception through IConsumer implementation

An existing city selection plugin on the site stored certain values in the GenericAttribute of the Customer entity. Based on this data, a new plugin would define a region and corresponding prices in a catalog and a cart.

New entities development

Using the data access plugin plugin development pattern, we implemented entities for storing connections between cities and ‘price’ regions, as well as for storing connections, currencies and prices between regions and products.

The service for these entities provided CRUD operations on entities, as well as pricing based on the selected city and order value based on the delivery address.

Overriding prices in catalog and cart

To display correct prices on catalog and cart pages, action filter was implemented. It overrides prices in view models based on the city chosen by a user and stored in GenericAttribute of the Customer entity.

Overriding prices when placing an order

To intercept the event of placing an order, IConsumer was implemented. It recalculates the order value taking into account a city of the delivery.

Implementation of the interface for entering prices by region in the admin panel

On the Configure view of the plugin configuration page, the UI for entering price regions and matching cities was implemented. On the product editing page, we added a tab to enter prices at the regional level using IConsumer, which intercepts the AdminTabStripCreated event.

Have questions regarding your projects? Contact us for a free consultation.

Request a quote

ecommercenopCommerceplugin

Categories

  • News
  • Tech stories
  • eCommerce

Popular topics

Adjust Azure Behavior analytics Belgium berlinexpo Business Intelligence Certification chatbots COVID-19 CRM DevExpress XAF DPD Dynamics365 ecommerce events integration Linux Marketing tools Microsoft mobile marketing mobile measurement MVP nonprofit nopCommerce nopCommerceDays omnichannel open source plugin POS Regulations security SharePoint Snowplow SQL Server Store setup subscriptions web-applications Web Analytics
  • Microsoft Power AppsMicrosoft Power Apps
    Microsoft Power Apps
    19 JAN 2021 · admin
  • RPA with Power Automate DesktopRPA with Power Automate Desktop
    RPA with Power Automate Desktop
    4 JAN 2021 · admin
  • Microsoft Power AutomateMicrosoft Power Automate
    Microsoft Power Automate
    18 DEC 2020 · admin
  • Microsoft Power BIMicrosoft Power BI
    Microsoft Power BI
    10 DEC 2020 · admin
  • Microsoft 365 subscription plans overviewMicrosoft 365 subscription plans overview
    Microsoft 365 subscription plans overview
    19 NOV 2020 · admin
  • Microsoft Office 365 apps overviewMicrosoft Office 365 apps overview
    Microsoft Office 365 apps overview
    12 NOV 2020 · admin
  • Which mobile app analytics platform is right for you?Which mobile app analytics platform is right for you?
    Which mobile app analytics platform is right for you?
    5 NOV 2020 · admin
  • Minimum Viable Product to test your business idea quickly and with a little budgetMinimum Viable Product to test your business idea quickly and with a little budget
    Minimum Viable Product to test your business idea quickly and with a little budget
    16 OCT 2020 · admin
  • How tracking and analytics can help you maximize your mobile app marketing effortsHow tracking and analytics can help you maximize your mobile app marketing efforts
    How tracking and analytics can help you maximize your mobile app marketing efforts
    30 SEP 2020 · admin
  • User analytics: comparison of Snowplow and Google Analytics 360User analytics: comparison of Snowplow and Google Analytics 360
    User analytics: comparison of Snowplow and Google Analytics 360
    16 SEP 2020 · admin

Projects and solutions implemented

https://isdk.pro/wp-content/uploads/Barcode-scanning-small-150x150.jpegMVP app to test an E-Commerce business idea in 3 weeks
https://isdk.pro/wp-content/uploads/GlobeIn-Shop-small-1-150x150.jpgiOS app with Apple in-app subscriptions and purchases
https://isdk.pro/wp-content/uploads/globein-box-small-150x150.jpgSubscription boxes iOS app set up for marketing campaigns
https://isdk.pro/wp-content/uploads/book-publisher-small-150x150.jpgnopCommerce multi-store for a book publisher
https://isdk.pro/wp-content/uploads/clinic-small-150x150.jpgRoutine automation with Office 365 and Teams chatbot
https://isdk.pro/wp-content/uploads/SharePoint-in-a-business-school-150x150.jpgSharePoint Online and Office 365 in a business school
https://isdk.pro/wp-content/uploads/SharePoint-for-a-DMS_ed-small-150x150.pngSharePoint 2019 Document Archive
https://isdk.pro/wp-content/uploads/nopCommerce-upgrade-case-featured-400-200-150x150.pngnopCommerce Upgrade to .NET CORE
https://isdk.pro/wp-content/uploads/Harman-JBL-ecommerce-case-featured-400-200-150x150.pngHigh-traffic eCommerce webstore Harman.club
https://isdk.pro/wp-content/uploads/Herbalife-banner-400-200-150x150.pngE-Commerce Omni-Channel
https://isdk.pro/wp-content/uploads/hr-sharepoint-trainings-home-400-200-150x150.pngEnterprise SharePoint Portal. HRM-Trainings
https://isdk.pro/wp-content/uploads/Automobile-company-sharepoint-hr-portal-400-200-150x150.pngSharePoint HR-Portal – Employee Request Approvals

Contact us

logo

“The only way to do great work is to love what you do” - Steve Jobs

Search by topic

.NET Core .NET Framework 1С Adjust Ajax Apache JMeter ARIS ASP.NET ASP.NET MVC Bootstrap Business Connectivity Services DevExpress DevExpress XAF DevExtreme ESB Google Geoservices Google Map InfoPath Java Message Service JavaScript JQuery Knockout.js Knockoutjs Microsoft Azure Microsoft Flow MS Active Directory MS SQL MS System Center Nintex Nintex Forms Nintex Workflow nopCommerce QlikView Reporting Services SharePoint Sharepoint Search Sharepoint workflow Snowplow Telerik UML Visual Studio Web Services Xamarin

Projects

https://isdk.pro/wp-content/uploads/Barcode-scanning-small-150x150.jpegMVP app to test an E-Commerce business idea in 3 weeks
https://isdk.pro/wp-content/uploads/GlobeIn-Shop-small-1-150x150.jpgiOS app with Apple in-app subscriptions and purchases
https://isdk.pro/wp-content/uploads/globein-box-small-150x150.jpgSubscription boxes iOS app set up for marketing campaigns
https://isdk.pro/wp-content/uploads/book-publisher-small-150x150.jpgnopCommerce multi-store for a book publisher
https://isdk.pro/wp-content/uploads/clinic-small-150x150.jpgRoutine automation with Office 365 and Teams chatbot
https://isdk.pro/wp-content/uploads/SharePoint-in-a-business-school-150x150.jpgSharePoint Online and Office 365 in a business school
https://isdk.pro/wp-content/uploads/SharePoint-for-a-DMS_ed-small-150x150.pngSharePoint 2019 Document Archive
https://isdk.pro/wp-content/uploads/nopCommerce-upgrade-case-featured-400-200-150x150.pngnopCommerce Upgrade to .NET CORE
https://isdk.pro/wp-content/uploads/Harman-JBL-ecommerce-case-featured-400-200-150x150.pngHigh-traffic eCommerce webstore Harman.club
https://isdk.pro/wp-content/uploads/Herbalife-banner-400-200-150x150.pngE-Commerce Omni-Channel
https://isdk.pro/wp-content/uploads/hr-sharepoint-trainings-home-400-200-150x150.pngEnterprise SharePoint Portal. HRM-Trainings
https://isdk.pro/wp-content/uploads/Automobile-company-sharepoint-hr-portal-400-200-150x150.pngSharePoint HR-Portal – Employee Request Approvals

Contact us

  • USA Austin, TX
    +1 737 2413109

    GERMANY Berlin
    +49 15233977274

    BENELUX (BELGIUM, Antwerp)
    +32 484 40 10 53

    RUSSIA Moscow
    +7 495 651 66 62

    LATVIA Riga
    +371 27869927

  • [email protected]
  • https://isdk.pro
  • https://www.linkedin.com/company/isdk/
ISDK ©2010-2020

All rights reserved.

X
Request trial hours!
Submit
ISDK website uses cookies for statistics and content. Learn more ACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.