SlideShare uma empresa Scribd logo
1 de 16
E-commerce customization
Petr Vozak, Technical Leader
E-commerce customization
Agenda
1) Using custom e-commerce providers
2) Developing custom dialog for the checkout process
3) Developing custom payment gateway
E-commerce customization
1) Using custom e-commerce providers
Using custom e-commerce providers
How doest it work?
Using custom e-commerce providers
• Assembly: CMS.Ecommerce
• Namespace: CMS.Ecommerce
• Provider: ShippingOptionInfoProvider
• Method: CalculateShipping(…)
public static double CalculateShipping(ShoppingCartInfo cartObj, string siteName)
{
if (ECommerceHelper.UseCustomHandlers())
{
return ECommerceHelper.GetShippingOptionInfoProvider().CalculateShipping(cartObj, siteName);
}
else
{
return CMS.CMSEcommerce.ShippingOptionInfoProvider.CalculateShipping(cartObj, siteName);
}
}
Are custom e-commerce providers enabled?
YES → Run custom code
NO → Run Kentico code
Wrapper
Using custom e-commerce providers
• Assembly: CMS.Ecommerce
• Namespace: CMS.CMSEcommerce
• Provider: ShippingOptionInfoProvider
• Method: CalculateShipping(…)
public static double CalculateShipping(ShoppingCartInfo cartObj, string siteName)
{
// if shipping free limit is reached -> return zero (shipping is free)
// else -> return shipping option value
}
Here is Kentico logic for
shipping calculation,
something like:
Kentico code
Using custom e-commerce providers
• Assembly: CMS.CustomECommerceProvider
• Namespace: CMS.CustomECommerceProvider
• Provider: CustomShippingOptionInfoProvider
• Method: CalculateShipping(…)
public double CalculateShipping(object cartObj, string siteName)
{
return CMS.CMSEcommerce.ShippingOptionInfoProvider.CalculateShipping(
(CMS.Ecommerce.ShoppingCartInfo)cartObj, siteName);
}
Kentico method is called by default
Custom code
Using custom e-commerce providers
1) Open Visual Studio and add CustomECommerceProvider
project from code samples to your CMS solution
2) Modify code of the custom e-commerce providers to
reach your requirements
3) Add the following key to your web.config file to enable
custom e-commerce providers:
<add key=“CMSUseCustomEcommerceProviders” value=“true”>
Using custom e-commerce providers
DEMO
1) How to customize shipping calculation
– customize CalculateShipping()
2) How to automatically set some credit to a new customer
– Customize SetCustomerInfo()
E-commerce customization
2) Developing custom dialog for the checkout process
Developing custom dialog for the checkout process
Developing custom dialog for the checkout process
DEMO
1) Create checkout process step user control (*.ascx)
• inherit from ShoppingCartStep
• override bool IsValid()
• override bool ProcessStep()
2) Register checkout process step
E-commerce customization
3) Developing custom payment gateway
Developing custom payment gateway
Developing custom payment gateway
DEMO
1) Create payment gateway form
• inherit from CMSPaymentGatewayForm
• override bool ValidateData()
• override bool ProcessData()
2) Create payment gateway provider
• inherit from CMSPaymentGatewayProvider
• override void GetPaymentDataForm()
• override bool ProcessPayment()
3) Register payment gateway
E-commerce customization
Summary
1) Using custom e-commerce providers
2) Developing custom dialog for the checkout process
3) Developing custom payment gateway

Mais conteúdo relacionado

Mais procurados

Electronic Payment Systems in E Commerce
Electronic Payment Systems in E CommerceElectronic Payment Systems in E Commerce
Electronic Payment Systems in E CommerceVinay Chaithanya
 
e-commerce and internet banking
e-commerce and internet bankinge-commerce and internet banking
e-commerce and internet bankingArushi Grover
 
Network security and firewalls
Network security and firewallsNetwork security and firewalls
Network security and firewallsMurali Mohan
 
Client Server Network Security
Client Server Network SecurityClient Server Network Security
Client Server Network SecurityMithilDoshi1
 
electronic payment system
electronic payment system electronic payment system
electronic payment system RonakJain191
 
Network security for E-Commerce
Network security for E-CommerceNetwork security for E-Commerce
Network security for E-CommerceHem Pokhrel
 
Some E-commerce Applications
Some E-commerce ApplicationsSome E-commerce Applications
Some E-commerce ApplicationsAnuj Gupta
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and softwareHumma Rashid
 
6. electronic payment systems
6. electronic payment systems6. electronic payment systems
6. electronic payment systemsPratap Tirkey
 
Electronic payment system(EPS)
Electronic payment system(EPS)Electronic payment system(EPS)
Electronic payment system(EPS)rahul kundu
 
E commerce security
E commerce securityE commerce security
E commerce securityShakti Singh
 

Mais procurados (20)

Electronic Payment Systems in E Commerce
Electronic Payment Systems in E CommerceElectronic Payment Systems in E Commerce
Electronic Payment Systems in E Commerce
 
e-commerce and internet banking
e-commerce and internet bankinge-commerce and internet banking
e-commerce and internet banking
 
Network security and firewalls
Network security and firewallsNetwork security and firewalls
Network security and firewalls
 
E payment methodss
E payment methodssE payment methodss
E payment methodss
 
Introduction to E - Commerce
Introduction to E - CommerceIntroduction to E - Commerce
Introduction to E - Commerce
 
Client Server Network Security
Client Server Network SecurityClient Server Network Security
Client Server Network Security
 
E-Commerce Security
E-Commerce SecurityE-Commerce Security
E-Commerce Security
 
electronic payment system
electronic payment system electronic payment system
electronic payment system
 
Network security for E-Commerce
Network security for E-CommerceNetwork security for E-Commerce
Network security for E-Commerce
 
Some E-commerce Applications
Some E-commerce ApplicationsSome E-commerce Applications
Some E-commerce Applications
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
6. electronic payment systems
6. electronic payment systems6. electronic payment systems
6. electronic payment systems
 
Electronic payment system(EPS)
Electronic payment system(EPS)Electronic payment system(EPS)
Electronic payment system(EPS)
 
Digital signatures and e-Commerce
Digital signatures and e-CommerceDigital signatures and e-Commerce
Digital signatures and e-Commerce
 
E commerce security
E commerce securityE commerce security
E commerce security
 
e-cheque
e-chequee-cheque
e-cheque
 
Security Threats in E-Commerce
Security Threats in E-CommerceSecurity Threats in E-Commerce
Security Threats in E-Commerce
 
E payment
E paymentE payment
E payment
 
Full Notes on E-Commerce | Study Material for E-Commerce
Full Notes on E-Commerce | Study Material for E-Commerce Full Notes on E-Commerce | Study Material for E-Commerce
Full Notes on E-Commerce | Study Material for E-Commerce
 
E-Commerce Framework.ppt
E-Commerce Framework.pptE-Commerce Framework.ppt
E-Commerce Framework.ppt
 

Destaque

User experience issues -- Personalization vs. Customization
User experience issues -- Personalization vs. CustomizationUser experience issues -- Personalization vs. Customization
User experience issues -- Personalization vs. CustomizationVinay Mohanty
 
2011 Valentine's Day Gift Guide
2011 Valentine's Day Gift Guide2011 Valentine's Day Gift Guide
2011 Valentine's Day Gift Guidechocri
 
Next Advancements in Clienteling with Microsites
Next Advancements in Clienteling with MicrositesNext Advancements in Clienteling with Microsites
Next Advancements in Clienteling with MicrositesenVista
 
Microsites What Are They & What Do They Do...Really? Digital Dealer 10
Microsites What Are They & What Do They Do...Really? Digital Dealer 10 Microsites What Are They & What Do They Do...Really? Digital Dealer 10
Microsites What Are They & What Do They Do...Really? Digital Dealer 10 Naked Lime Marketing
 
Microsites Targeting Niched Audiences
Microsites Targeting Niched AudiencesMicrosites Targeting Niched Audiences
Microsites Targeting Niched AudiencesK-Kom Marketing
 
Snapple_PlansBook_NSAC16
Snapple_PlansBook_NSAC16Snapple_PlansBook_NSAC16
Snapple_PlansBook_NSAC16Stacey Roth
 
Website evaluation checklist
Website evaluation checklistWebsite evaluation checklist
Website evaluation checklistweigansm
 
Microsites Tested: Recent experiments reveal 2 common design mistakes that c...
Microsites Tested:  Recent experiments reveal 2 common design mistakes that c...Microsites Tested:  Recent experiments reveal 2 common design mistakes that c...
Microsites Tested: Recent experiments reveal 2 common design mistakes that c...MarketingExperiments
 
"The performance begins long before the show starts"-a presentation for Globe...
"The performance begins long before the show starts"-a presentation for Globe..."The performance begins long before the show starts"-a presentation for Globe...
"The performance begins long before the show starts"-a presentation for Globe...Jeph Maystruck
 
First Preston social talk
First Preston social talkFirst Preston social talk
First Preston social talkJosephStash
 
[사회적기업가포럼]빅워크 발표자료
[사회적기업가포럼]빅워크 발표자료[사회적기업가포럼]빅워크 발표자료
[사회적기업가포럼]빅워크 발표자료Hwajun Song
 
Case Study
Case StudyCase Study
Case StudyPrezen
 
Your 2011 Marketing Plan
Your 2011 Marketing PlanYour 2011 Marketing Plan
Your 2011 Marketing PlanJeph Maystruck
 
Catalogo
CatalogoCatalogo
CatalogoFIMEE
 

Destaque (20)

User experience issues -- Personalization vs. Customization
User experience issues -- Personalization vs. CustomizationUser experience issues -- Personalization vs. Customization
User experience issues -- Personalization vs. Customization
 
2011 Valentine's Day Gift Guide
2011 Valentine's Day Gift Guide2011 Valentine's Day Gift Guide
2011 Valentine's Day Gift Guide
 
Next Advancements in Clienteling with Microsites
Next Advancements in Clienteling with MicrositesNext Advancements in Clienteling with Microsites
Next Advancements in Clienteling with Microsites
 
Microsites What Are They & What Do They Do...Really? Digital Dealer 10
Microsites What Are They & What Do They Do...Really? Digital Dealer 10 Microsites What Are They & What Do They Do...Really? Digital Dealer 10
Microsites What Are They & What Do They Do...Really? Digital Dealer 10
 
Microsites Targeting Niched Audiences
Microsites Targeting Niched AudiencesMicrosites Targeting Niched Audiences
Microsites Targeting Niched Audiences
 
Snapple_PlansBook_NSAC16
Snapple_PlansBook_NSAC16Snapple_PlansBook_NSAC16
Snapple_PlansBook_NSAC16
 
Best Practices for Microsites
Best Practices for MicrositesBest Practices for Microsites
Best Practices for Microsites
 
Website evaluation checklist
Website evaluation checklistWebsite evaluation checklist
Website evaluation checklist
 
Microsites Tested: Recent experiments reveal 2 common design mistakes that c...
Microsites Tested:  Recent experiments reveal 2 common design mistakes that c...Microsites Tested:  Recent experiments reveal 2 common design mistakes that c...
Microsites Tested: Recent experiments reveal 2 common design mistakes that c...
 
Website Evaluation Form
Website Evaluation FormWebsite Evaluation Form
Website Evaluation Form
 
Ducati Case Study
Ducati Case StudyDucati Case Study
Ducati Case Study
 
Ducati hbr case analysis
Ducati hbr  case analysisDucati hbr  case analysis
Ducati hbr case analysis
 
Ikea service strategy
Ikea service strategyIkea service strategy
Ikea service strategy
 
E-marketplace
E-marketplaceE-marketplace
E-marketplace
 
"The performance begins long before the show starts"-a presentation for Globe...
"The performance begins long before the show starts"-a presentation for Globe..."The performance begins long before the show starts"-a presentation for Globe...
"The performance begins long before the show starts"-a presentation for Globe...
 
First Preston social talk
First Preston social talkFirst Preston social talk
First Preston social talk
 
[사회적기업가포럼]빅워크 발표자료
[사회적기업가포럼]빅워크 발표자료[사회적기업가포럼]빅워크 발표자료
[사회적기업가포럼]빅워크 발표자료
 
Case Study
Case StudyCase Study
Case Study
 
Your 2011 Marketing Plan
Your 2011 Marketing PlanYour 2011 Marketing Plan
Your 2011 Marketing Plan
 
Catalogo
CatalogoCatalogo
Catalogo
 

Semelhante a E-commerce customization

Marketing Automation with dotCMS
Marketing Automation with dotCMSMarketing Automation with dotCMS
Marketing Automation with dotCMSJason Smith
 
Magento Payment & Vault framework
Magento Payment & Vault frameworkMagento Payment & Vault framework
Magento Payment & Vault frameworkYevhen Sentiabov
 
Paytm integration in swift
Paytm integration in swiftPaytm integration in swift
Paytm integration in swiftInnovationM
 
How to implement payment gateway integration for non-credit card on Magento2
How to implement payment gateway integration for non-credit card on Magento2How to implement payment gateway integration for non-credit card on Magento2
How to implement payment gateway integration for non-credit card on Magento2Hirokazu Nishi
 
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showThe complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showSubhas Malik
 
Workshop: Building a streaming data platform on AWS
Workshop: Building a streaming data platform on AWSWorkshop: Building a streaming data platform on AWS
Workshop: Building a streaming data platform on AWSAmazon Web Services
 
WHMCS Order Form Template - One Page Checkout
WHMCS Order Form Template - One Page CheckoutWHMCS Order Form Template - One Page Checkout
WHMCS Order Form Template - One Page CheckoutWHMCS Global Services
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guideZenita Smythe
 
Building a Streaming Data Platform on AWS - Workshop
Building a Streaming Data Platform on AWS - WorkshopBuilding a Streaming Data Platform on AWS - Workshop
Building a Streaming Data Platform on AWS - WorkshopAmazon Web Services
 
Cloud Kiosk Service Automation Tool for Microsoft Cloud Solution Providers
Cloud Kiosk Service Automation Tool for Microsoft Cloud Solution ProvidersCloud Kiosk Service Automation Tool for Microsoft Cloud Solution Providers
Cloud Kiosk Service Automation Tool for Microsoft Cloud Solution ProvidersDaniel Moore
 
WooCommerce: payment gateways
WooCommerce: payment gatewaysWooCommerce: payment gateways
WooCommerce: payment gatewaysRodolfo Melogli
 
Get Paid presentation_20190123
Get Paid presentation_20190123Get Paid presentation_20190123
Get Paid presentation_20190123Peter Walker
 
Developing enterprise ecommerce solutions using hybris by Drazen Nikolic - Be...
Developing enterprise ecommerce solutions using hybris by Drazen Nikolic - Be...Developing enterprise ecommerce solutions using hybris by Drazen Nikolic - Be...
Developing enterprise ecommerce solutions using hybris by Drazen Nikolic - Be...youngculture
 
Cloud Kiosk for Microsoft Cloud Services 0316
Cloud Kiosk for Microsoft Cloud Services 0316Cloud Kiosk for Microsoft Cloud Services 0316
Cloud Kiosk for Microsoft Cloud Services 0316Gilbert Louis
 
Safex pay wl-pg-presentation
Safex pay wl-pg-presentationSafex pay wl-pg-presentation
Safex pay wl-pg-presentationNeha Sahay
 
Hyperleger Composer Architecure Deep Dive
Hyperleger Composer Architecure Deep DiveHyperleger Composer Architecure Deep Dive
Hyperleger Composer Architecure Deep DiveDan Selman
 
Flamingo Commerce Module Details
Flamingo Commerce Module DetailsFlamingo Commerce Module Details
Flamingo Commerce Module Detailsi-love-flamingo
 
Developing enterprise ecommerce solutions using hybris by Drazen Nikolic
Developing enterprise ecommerce solutions using hybris by Drazen NikolicDeveloping enterprise ecommerce solutions using hybris by Drazen Nikolic
Developing enterprise ecommerce solutions using hybris by Drazen Nikolicyoungculture
 
Kerberos Survival Guide: SharePointalooza
Kerberos Survival Guide: SharePointaloozaKerberos Survival Guide: SharePointalooza
Kerberos Survival Guide: SharePointaloozaJ.D. Wade
 
Kerberos Survival Guide: Columbus 2015
Kerberos Survival Guide: Columbus 2015Kerberos Survival Guide: Columbus 2015
Kerberos Survival Guide: Columbus 2015J.D. Wade
 

Semelhante a E-commerce customization (20)

Marketing Automation with dotCMS
Marketing Automation with dotCMSMarketing Automation with dotCMS
Marketing Automation with dotCMS
 
Magento Payment & Vault framework
Magento Payment & Vault frameworkMagento Payment & Vault framework
Magento Payment & Vault framework
 
Paytm integration in swift
Paytm integration in swiftPaytm integration in swift
Paytm integration in swift
 
How to implement payment gateway integration for non-credit card on Magento2
How to implement payment gateway integration for non-credit card on Magento2How to implement payment gateway integration for non-credit card on Magento2
How to implement payment gateway integration for non-credit card on Magento2
 
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showThe complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
 
Workshop: Building a streaming data platform on AWS
Workshop: Building a streaming data platform on AWSWorkshop: Building a streaming data platform on AWS
Workshop: Building a streaming data platform on AWS
 
WHMCS Order Form Template - One Page Checkout
WHMCS Order Form Template - One Page CheckoutWHMCS Order Form Template - One Page Checkout
WHMCS Order Form Template - One Page Checkout
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
 
Building a Streaming Data Platform on AWS - Workshop
Building a Streaming Data Platform on AWS - WorkshopBuilding a Streaming Data Platform on AWS - Workshop
Building a Streaming Data Platform on AWS - Workshop
 
Cloud Kiosk Service Automation Tool for Microsoft Cloud Solution Providers
Cloud Kiosk Service Automation Tool for Microsoft Cloud Solution ProvidersCloud Kiosk Service Automation Tool for Microsoft Cloud Solution Providers
Cloud Kiosk Service Automation Tool for Microsoft Cloud Solution Providers
 
WooCommerce: payment gateways
WooCommerce: payment gatewaysWooCommerce: payment gateways
WooCommerce: payment gateways
 
Get Paid presentation_20190123
Get Paid presentation_20190123Get Paid presentation_20190123
Get Paid presentation_20190123
 
Developing enterprise ecommerce solutions using hybris by Drazen Nikolic - Be...
Developing enterprise ecommerce solutions using hybris by Drazen Nikolic - Be...Developing enterprise ecommerce solutions using hybris by Drazen Nikolic - Be...
Developing enterprise ecommerce solutions using hybris by Drazen Nikolic - Be...
 
Cloud Kiosk for Microsoft Cloud Services 0316
Cloud Kiosk for Microsoft Cloud Services 0316Cloud Kiosk for Microsoft Cloud Services 0316
Cloud Kiosk for Microsoft Cloud Services 0316
 
Safex pay wl-pg-presentation
Safex pay wl-pg-presentationSafex pay wl-pg-presentation
Safex pay wl-pg-presentation
 
Hyperleger Composer Architecure Deep Dive
Hyperleger Composer Architecure Deep DiveHyperleger Composer Architecure Deep Dive
Hyperleger Composer Architecure Deep Dive
 
Flamingo Commerce Module Details
Flamingo Commerce Module DetailsFlamingo Commerce Module Details
Flamingo Commerce Module Details
 
Developing enterprise ecommerce solutions using hybris by Drazen Nikolic
Developing enterprise ecommerce solutions using hybris by Drazen NikolicDeveloping enterprise ecommerce solutions using hybris by Drazen Nikolic
Developing enterprise ecommerce solutions using hybris by Drazen Nikolic
 
Kerberos Survival Guide: SharePointalooza
Kerberos Survival Guide: SharePointaloozaKerberos Survival Guide: SharePointalooza
Kerberos Survival Guide: SharePointalooza
 
Kerberos Survival Guide: Columbus 2015
Kerberos Survival Guide: Columbus 2015Kerberos Survival Guide: Columbus 2015
Kerberos Survival Guide: Columbus 2015
 

Mais de KenticoCMS

How to sell Kentico CMS
How to sell Kentico CMSHow to sell Kentico CMS
How to sell Kentico CMSKenticoCMS
 
Does your website speak Chinese?
Does your website speak Chinese?Does your website speak Chinese?
Does your website speak Chinese?KenticoCMS
 
Azure businessoverview daliborkacmar
Azure businessoverview daliborkacmarAzure businessoverview daliborkacmar
Azure businessoverview daliborkacmarKenticoCMS
 
Google Ad words
Google Ad words   Google Ad words
Google Ad words KenticoCMS
 

Mais de KenticoCMS (6)

Going mobile
Going mobileGoing mobile
Going mobile
 
How to sell Kentico CMS
How to sell Kentico CMSHow to sell Kentico CMS
How to sell Kentico CMS
 
Going mobile
Going mobileGoing mobile
Going mobile
 
Does your website speak Chinese?
Does your website speak Chinese?Does your website speak Chinese?
Does your website speak Chinese?
 
Azure businessoverview daliborkacmar
Azure businessoverview daliborkacmarAzure businessoverview daliborkacmar
Azure businessoverview daliborkacmar
 
Google Ad words
Google Ad words   Google Ad words
Google Ad words
 

Último

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 

Último (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

E-commerce customization

  • 2. E-commerce customization Agenda 1) Using custom e-commerce providers 2) Developing custom dialog for the checkout process 3) Developing custom payment gateway
  • 3. E-commerce customization 1) Using custom e-commerce providers
  • 4. Using custom e-commerce providers How doest it work?
  • 5. Using custom e-commerce providers • Assembly: CMS.Ecommerce • Namespace: CMS.Ecommerce • Provider: ShippingOptionInfoProvider • Method: CalculateShipping(…) public static double CalculateShipping(ShoppingCartInfo cartObj, string siteName) { if (ECommerceHelper.UseCustomHandlers()) { return ECommerceHelper.GetShippingOptionInfoProvider().CalculateShipping(cartObj, siteName); } else { return CMS.CMSEcommerce.ShippingOptionInfoProvider.CalculateShipping(cartObj, siteName); } } Are custom e-commerce providers enabled? YES → Run custom code NO → Run Kentico code Wrapper
  • 6. Using custom e-commerce providers • Assembly: CMS.Ecommerce • Namespace: CMS.CMSEcommerce • Provider: ShippingOptionInfoProvider • Method: CalculateShipping(…) public static double CalculateShipping(ShoppingCartInfo cartObj, string siteName) { // if shipping free limit is reached -> return zero (shipping is free) // else -> return shipping option value } Here is Kentico logic for shipping calculation, something like: Kentico code
  • 7. Using custom e-commerce providers • Assembly: CMS.CustomECommerceProvider • Namespace: CMS.CustomECommerceProvider • Provider: CustomShippingOptionInfoProvider • Method: CalculateShipping(…) public double CalculateShipping(object cartObj, string siteName) { return CMS.CMSEcommerce.ShippingOptionInfoProvider.CalculateShipping( (CMS.Ecommerce.ShoppingCartInfo)cartObj, siteName); } Kentico method is called by default Custom code
  • 8. Using custom e-commerce providers 1) Open Visual Studio and add CustomECommerceProvider project from code samples to your CMS solution 2) Modify code of the custom e-commerce providers to reach your requirements 3) Add the following key to your web.config file to enable custom e-commerce providers: <add key=“CMSUseCustomEcommerceProviders” value=“true”>
  • 9. Using custom e-commerce providers DEMO 1) How to customize shipping calculation – customize CalculateShipping() 2) How to automatically set some credit to a new customer – Customize SetCustomerInfo()
  • 10. E-commerce customization 2) Developing custom dialog for the checkout process
  • 11. Developing custom dialog for the checkout process
  • 12. Developing custom dialog for the checkout process DEMO 1) Create checkout process step user control (*.ascx) • inherit from ShoppingCartStep • override bool IsValid() • override bool ProcessStep() 2) Register checkout process step
  • 13. E-commerce customization 3) Developing custom payment gateway
  • 15. Developing custom payment gateway DEMO 1) Create payment gateway form • inherit from CMSPaymentGatewayForm • override bool ValidateData() • override bool ProcessData() 2) Create payment gateway provider • inherit from CMSPaymentGatewayProvider • override void GetPaymentDataForm() • override bool ProcessPayment() 3) Register payment gateway
  • 16. E-commerce customization Summary 1) Using custom e-commerce providers 2) Developing custom dialog for the checkout process 3) Developing custom payment gateway