SlideShare a Scribd company logo
CMP-3110 ~ E-Commerce Applications Development
Chapter 06
The Shopping Basket
Shopping baskets
• Shopping baskets the first stage in enabling an online purchase
• Number of other methods that can facilitate e-commerce, including:
• One-click payments
• Service subscription payments
• Auctions (Nilami)
Shopping baskets
• One-click payments:
• customer clicks on the button
• payment is processed
• payment processor notifies the administrator:
• Customer
• delivery details
• the amount paid
• the product and cost data is defined within the payment button
• Disadvantage:
• customers can easily order things by mistake
• customers need to be sure their default delivery details are correct in advance
• it isn't easy to add voucher codes without adding more clicks
Shopping baskets
• One-click payments:
Shopping baskets
• Service subscription payments:
• generally similar to one-click payments; you click on the subscription level,
and then you pay.
• Subscription sites give access to products or services for the duration of a
subscription, from a business perspective
• This often allows measurable recurring income, and can reduce transaction
fees
Shopping baskets
• Auctions
• Auctions lead to bidding for products
• The customer commits to purchase the product at a certain price
• No other customer commits to a higher price within the auction time window
Per-page basket
In case of no items in basket In case of basket have items
Per-page basket
And, our main basket page should look like this:
Considerations for our shopping basket
• Stock levels:
• Is there sufficient stock when a customer adds a product to their basket?
• Product variations
• Product customizations
• Templates:
• An empty basket
• summary of the basket
• Subtotals:
• We need to calculate subtotals for each product in the basket
Basket database
Basket database
Basket contents
• We have a basket structure in our database, but we now need to
allow our customers to control the contents of the basket
• Allowing them to:
• View the basket
• Add products to their basket
• Add customizable products to their basket
• Add variations of a product to their basket
• Edit quantities of products in their basket
Viewing the basket
• CheckBasket method
1. Why are we using before adding the product?
2. customer adds a product to their basket twice
3. The second instance should increment the quantity of the first instance of
the product
Adding products
• we only need to record
• The product's ID number
• Information of the user
• addProduct method
• First, we check that the product is valid and active
• Secondly, we check that it is not a customizable product or variations
• Finally, we check to see if the product is already in the basket
• If it is, then we increment the product's quantity in the basket
• if it isn't, then we add it to the basket.
Adding customizable products
• To facilitate the purchase of such products, there are a number of
things we need to do:
• Restructure the basket database
• adding a field to store the uploaded file field to store custom text
• Change how we view the shopping basket
• Change how we add a product to the basket
• Process the customized information, if the product was customizable
Adding product variants
Editing quantities
• customer wants to change the quantity
• The hope here is obviously that they will increase the quantities and purchase
more
• But equally, we need to allow them to reduce quantities or remove products
• updateBasket()
Cleaning the basket
• The customer wants to empty their basket
• The customer confirms an order
• The basket contents are old and are not tied to a customer account
Displaying the basket on every page
• Most e-commerce websites display a small shopping basket at the top
of the page or the side of the page, reminding the customer how
many products are in their basket
• To display the basket on each page we will need:
• An empty basket template file
• A basket template file, which displays the number of products in the
customer's basket
• A template tag in our main templates
• Something in our framework to link into the basket on each page

More Related Content

What's hot

Issues and challenges in e-business
Issues and challenges in e-businessIssues and challenges in e-business
Issues and challenges in e-business
Nishant Pahad
 
Ecommerce introduction
Ecommerce introductionEcommerce introduction
Ecommerce introduction
Universidad del Valle de México
 
Introduction to Web Hosting.
Introduction to Web Hosting.Introduction to Web Hosting.
Introduction to Web Hosting.
Cloudbells.com
 
Some E-commerce Applications
Some E-commerce ApplicationsSome E-commerce Applications
Some E-commerce Applications
Anuj Gupta
 
Electronic payment system(EPS)
Electronic payment system(EPS)Electronic payment system(EPS)
Electronic payment system(EPS)
rahul kundu
 
Order Management Overview
Order Management OverviewOrder Management Overview
Order Management Overview
Robert Ransom
 
Online shopping ppt
Online shopping pptOnline shopping ppt
Online shopping ppt
Nitesh Dubey
 
S4 scm in e-commerce
S4  scm in e-commerceS4  scm in e-commerce
S4 scm in e-commerce
OSM Club, IIM Kashipur
 
Unit 3a
Unit 3aUnit 3a
Unit 3a
Sheetal Verma
 
E-Commerce Project
E-Commerce ProjectE-Commerce Project
E-Commerce Project
Sindoor Naik
 
Security issues in e commerce
Security issues in e commerceSecurity issues in e commerce
Security issues in e commerce
sadaf tst
 
E commerce ppt
E commerce pptE commerce ppt
E commerce ppt
ilakkiya7
 
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
Online shopping system
Online shopping systemOnline shopping system
Online shopping system
Nik_Panchal
 
E-Commerce website IT project PPT
E-Commerce website IT project PPTE-Commerce website IT project PPT
E-Commerce website IT project PPT
MD HAFIZ
 
E commerce website Project Presentation
E commerce website Project PresentationE commerce website Project Presentation
E commerce website Project Presentation
ZT MESH
 
Presentation on online shopping site using java
Presentation on online shopping site using javaPresentation on online shopping site using java
Presentation on online shopping site using java
Harmeet Walia
 
E business models
E business modelsE business models
E business models
Madhur Choudhary
 
E-Commerce Infrastructures
E-Commerce InfrastructuresE-Commerce Infrastructures
E-Commerce Infrastructures
Laguna State Polytechnic University
 
M6 - E Commerce - Final Project
M6 - E Commerce - Final ProjectM6 - E Commerce - Final Project
M6 - E Commerce - Final Project
Jamie Hutt
 

What's hot (20)

Issues and challenges in e-business
Issues and challenges in e-businessIssues and challenges in e-business
Issues and challenges in e-business
 
Ecommerce introduction
Ecommerce introductionEcommerce introduction
Ecommerce introduction
 
Introduction to Web Hosting.
Introduction to Web Hosting.Introduction to Web Hosting.
Introduction to Web Hosting.
 
Some E-commerce Applications
Some E-commerce ApplicationsSome E-commerce Applications
Some E-commerce Applications
 
Electronic payment system(EPS)
Electronic payment system(EPS)Electronic payment system(EPS)
Electronic payment system(EPS)
 
Order Management Overview
Order Management OverviewOrder Management Overview
Order Management Overview
 
Online shopping ppt
Online shopping pptOnline shopping ppt
Online shopping ppt
 
S4 scm in e-commerce
S4  scm in e-commerceS4  scm in e-commerce
S4 scm in e-commerce
 
Unit 3a
Unit 3aUnit 3a
Unit 3a
 
E-Commerce Project
E-Commerce ProjectE-Commerce Project
E-Commerce Project
 
Security issues in e commerce
Security issues in e commerceSecurity issues in e commerce
Security issues in e commerce
 
E commerce ppt
E commerce pptE commerce ppt
E commerce ppt
 
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
 
Online shopping system
Online shopping systemOnline shopping system
Online shopping system
 
E-Commerce website IT project PPT
E-Commerce website IT project PPTE-Commerce website IT project PPT
E-Commerce website IT project PPT
 
E commerce website Project Presentation
E commerce website Project PresentationE commerce website Project Presentation
E commerce website Project Presentation
 
Presentation on online shopping site using java
Presentation on online shopping site using javaPresentation on online shopping site using java
Presentation on online shopping site using java
 
E business models
E business modelsE business models
E business models
 
E-Commerce Infrastructures
E-Commerce InfrastructuresE-Commerce Infrastructures
E-Commerce Infrastructures
 
M6 - E Commerce - Final Project
M6 - E Commerce - Final ProjectM6 - E Commerce - Final Project
M6 - E Commerce - Final Project
 

Similar to The Shopping Basket

E commerce
E commerceE commerce
E commerce
Pankaj Bhaisare
 
Magento eConnect for Infor M3
Magento eConnect for Infor M3Magento eConnect for Infor M3
Magento eConnect for Infor M3
Caroline Starwing Jiborn
 
Online shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptxOnline shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptx
shubhanshusahu71
 
ecom slides.pptx
ecom slides.pptxecom slides.pptx
ecom slides.pptx
CHSubhaniGujjar
 
Pr to po process risk and test steps
Pr to po process  risk and test steps   Pr to po process  risk and test steps
Pr to po process risk and test steps
gangesh22
 
Onboarding presentation - Vietnam - English
Onboarding presentation - Vietnam - EnglishOnboarding presentation - Vietnam - English
Onboarding presentation - Vietnam - English
OnboardingPresentation
 
Getting Alfatah Online
Getting Alfatah OnlineGetting Alfatah Online
Getting Alfatah Online
Aima Masood
 
Commerce in context ver 05
Commerce in context ver 05Commerce in context ver 05
Commerce in context ver 05
hardik_surana
 
Woo for You: Customizing WooCommerce - Gary Thayer - WCNYC18
Woo for You: Customizing WooCommerce - Gary Thayer - WCNYC18Woo for You: Customizing WooCommerce - Gary Thayer - WCNYC18
Woo for You: Customizing WooCommerce - Gary Thayer - WCNYC18
Gary Thayer
 
Onboarding presentation - Indonesia
Onboarding presentation - IndonesiaOnboarding presentation - Indonesia
Onboarding presentation - Indonesia
OnboardingPresentation
 
Lazada Onboarding - Philippines
Lazada Onboarding - PhilippinesLazada Onboarding - Philippines
Lazada Onboarding - Philippines
OnboardingPresentation
 
Acquisition module on koha
Acquisition module on kohaAcquisition module on koha
Acquisition module on koha
sayma sultana
 
On boarding presentation sg
On boarding presentation sgOn boarding presentation sg
On boarding presentation sg
nqt251091
 
Onboarding presentation - Thailand
Onboarding presentation - ThailandOnboarding presentation - Thailand
Onboarding presentation - Thailand
OnboardingPresentation
 
Onboarding presentation - Malaysia
Onboarding presentation - MalaysiaOnboarding presentation - Malaysia
Onboarding presentation - Malaysia
OnboardingPresentation
 
Onboarding presentation - HK
Onboarding presentation - HKOnboarding presentation - HK
Onboarding presentation - HK
OnboardingPresentation
 
Online Retailing Database System on Amazon
Online Retailing Database System on AmazonOnline Retailing Database System on Amazon
Online Retailing Database System on Amazon
Hung-Chih(Henry) Huang
 
Onboarding presentation - Singapore
Onboarding presentation - SingaporeOnboarding presentation - Singapore
Onboarding presentation - Singapore
OnboardingPresentation
 
Magento features list
Magento features listMagento features list
Magento features list
Rasbor.com
 
B2B is Different
B2B is DifferentB2B is Different

Similar to The Shopping Basket (20)

E commerce
E commerceE commerce
E commerce
 
Magento eConnect for Infor M3
Magento eConnect for Infor M3Magento eConnect for Infor M3
Magento eConnect for Infor M3
 
Online shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptxOnline shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptx
 
ecom slides.pptx
ecom slides.pptxecom slides.pptx
ecom slides.pptx
 
Pr to po process risk and test steps
Pr to po process  risk and test steps   Pr to po process  risk and test steps
Pr to po process risk and test steps
 
Onboarding presentation - Vietnam - English
Onboarding presentation - Vietnam - EnglishOnboarding presentation - Vietnam - English
Onboarding presentation - Vietnam - English
 
Getting Alfatah Online
Getting Alfatah OnlineGetting Alfatah Online
Getting Alfatah Online
 
Commerce in context ver 05
Commerce in context ver 05Commerce in context ver 05
Commerce in context ver 05
 
Woo for You: Customizing WooCommerce - Gary Thayer - WCNYC18
Woo for You: Customizing WooCommerce - Gary Thayer - WCNYC18Woo for You: Customizing WooCommerce - Gary Thayer - WCNYC18
Woo for You: Customizing WooCommerce - Gary Thayer - WCNYC18
 
Onboarding presentation - Indonesia
Onboarding presentation - IndonesiaOnboarding presentation - Indonesia
Onboarding presentation - Indonesia
 
Lazada Onboarding - Philippines
Lazada Onboarding - PhilippinesLazada Onboarding - Philippines
Lazada Onboarding - Philippines
 
Acquisition module on koha
Acquisition module on kohaAcquisition module on koha
Acquisition module on koha
 
On boarding presentation sg
On boarding presentation sgOn boarding presentation sg
On boarding presentation sg
 
Onboarding presentation - Thailand
Onboarding presentation - ThailandOnboarding presentation - Thailand
Onboarding presentation - Thailand
 
Onboarding presentation - Malaysia
Onboarding presentation - MalaysiaOnboarding presentation - Malaysia
Onboarding presentation - Malaysia
 
Onboarding presentation - HK
Onboarding presentation - HKOnboarding presentation - HK
Onboarding presentation - HK
 
Online Retailing Database System on Amazon
Online Retailing Database System on AmazonOnline Retailing Database System on Amazon
Online Retailing Database System on Amazon
 
Onboarding presentation - Singapore
Onboarding presentation - SingaporeOnboarding presentation - Singapore
Onboarding presentation - Singapore
 
Magento features list
Magento features listMagento features list
Magento features list
 
B2B is Different
B2B is DifferentB2B is Different
B2B is Different
 

More from Muhammad Sajid

eCommerce App Lecture
eCommerce App LectureeCommerce App Lecture
eCommerce App Lecture
Muhammad Sajid
 
Characteristics of enterprise application software
Characteristics of enterprise application softwareCharacteristics of enterprise application software
Characteristics of enterprise application software
Muhammad Sajid
 
Products and Categories
Products and CategoriesProducts and Categories
Products and Categories
Muhammad Sajid
 
E-Commerce Applications Development
E-Commerce Applications Development E-Commerce Applications Development
E-Commerce Applications Development
Muhammad Sajid
 
E-Commerce Applications Development
E-Commerce Applications Development E-Commerce Applications Development
E-Commerce Applications Development
Muhammad Sajid
 
Data Transfer between Activities & Databases
Data Transfer between Activities & DatabasesData Transfer between Activities & Databases
Data Transfer between Activities & Databases
Muhammad Sajid
 
Data Transfer between Activities & Databases
Data Transfer between Activities & DatabasesData Transfer between Activities & Databases
Data Transfer between Activities & Databases
Muhammad Sajid
 
Data Transfer between Activities & Databases
Data Transfer between Activities & DatabasesData Transfer between Activities & Databases
Data Transfer between Activities & Databases
Muhammad Sajid
 
Mobile Application Development
Mobile Application DevelopmentMobile Application Development
Mobile Application Development
Muhammad Sajid
 
MOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENTMOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENT
Muhammad Sajid
 
MOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENTMOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENT
Muhammad Sajid
 
MOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENTMOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENT
Muhammad Sajid
 
MOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENTMOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENT
Muhammad Sajid
 
Your first Android App
Your first Android AppYour first Android App
Your first Android App
Muhammad Sajid
 
Group Aided Decision making revised
Group Aided Decision making revisedGroup Aided Decision making revised
Group Aided Decision making revised
Muhammad Sajid
 
Pakistan Studies notes
Pakistan Studies notesPakistan Studies notes
Pakistan Studies notes
Muhammad Sajid
 
Components of Computing Game
Components of Computing GameComponents of Computing Game
Components of Computing Game
Muhammad Sajid
 
Design Elements of Computing Game
Design Elements  of Computing GameDesign Elements  of Computing Game
Design Elements of Computing Game
Muhammad Sajid
 
Nature of Game
Nature of GameNature of Game
Nature of Game
Muhammad Sajid
 
Overview of Computer Game Development
Overview of Computer Game DevelopmentOverview of Computer Game Development
Overview of Computer Game Development
Muhammad Sajid
 

More from Muhammad Sajid (20)

eCommerce App Lecture
eCommerce App LectureeCommerce App Lecture
eCommerce App Lecture
 
Characteristics of enterprise application software
Characteristics of enterprise application softwareCharacteristics of enterprise application software
Characteristics of enterprise application software
 
Products and Categories
Products and CategoriesProducts and Categories
Products and Categories
 
E-Commerce Applications Development
E-Commerce Applications Development E-Commerce Applications Development
E-Commerce Applications Development
 
E-Commerce Applications Development
E-Commerce Applications Development E-Commerce Applications Development
E-Commerce Applications Development
 
Data Transfer between Activities & Databases
Data Transfer between Activities & DatabasesData Transfer between Activities & Databases
Data Transfer between Activities & Databases
 
Data Transfer between Activities & Databases
Data Transfer between Activities & DatabasesData Transfer between Activities & Databases
Data Transfer between Activities & Databases
 
Data Transfer between Activities & Databases
Data Transfer between Activities & DatabasesData Transfer between Activities & Databases
Data Transfer between Activities & Databases
 
Mobile Application Development
Mobile Application DevelopmentMobile Application Development
Mobile Application Development
 
MOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENTMOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENT
 
MOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENTMOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENT
 
MOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENTMOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENT
 
MOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENTMOBILE APPLICATION DEVELOPMENT
MOBILE APPLICATION DEVELOPMENT
 
Your first Android App
Your first Android AppYour first Android App
Your first Android App
 
Group Aided Decision making revised
Group Aided Decision making revisedGroup Aided Decision making revised
Group Aided Decision making revised
 
Pakistan Studies notes
Pakistan Studies notesPakistan Studies notes
Pakistan Studies notes
 
Components of Computing Game
Components of Computing GameComponents of Computing Game
Components of Computing Game
 
Design Elements of Computing Game
Design Elements  of Computing GameDesign Elements  of Computing Game
Design Elements of Computing Game
 
Nature of Game
Nature of GameNature of Game
Nature of Game
 
Overview of Computer Game Development
Overview of Computer Game DevelopmentOverview of Computer Game Development
Overview of Computer Game Development
 

Recently uploaded

220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
Kalna College
 
Ch-4 Forest Society and colonialism 2.pdf
Ch-4 Forest Society and colonialism 2.pdfCh-4 Forest Society and colonialism 2.pdf
Ch-4 Forest Society and colonialism 2.pdf
lakshayrojroj
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
欧洲杯下注-欧洲杯下注押注官网-欧洲杯下注押注网站|【​网址​🎉ac44.net🎉​】
欧洲杯下注-欧洲杯下注押注官网-欧洲杯下注押注网站|【​网址​🎉ac44.net🎉​】欧洲杯下注-欧洲杯下注押注官网-欧洲杯下注押注网站|【​网址​🎉ac44.net🎉​】
欧洲杯下注-欧洲杯下注押注官网-欧洲杯下注押注网站|【​网址​🎉ac44.net🎉​】
andagarcia212
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
Prof. Dr. K. Adisesha
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
 
How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17
Celine George
 
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGHKHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
shreyassri1208
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
Mohammad Al-Dhahabi
 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
ShwetaGawande8
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 

Recently uploaded (20)

220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
 
Ch-4 Forest Society and colonialism 2.pdf
Ch-4 Forest Society and colonialism 2.pdfCh-4 Forest Society and colonialism 2.pdf
Ch-4 Forest Society and colonialism 2.pdf
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
欧洲杯下注-欧洲杯下注押注官网-欧洲杯下注押注网站|【​网址​🎉ac44.net🎉​】
欧洲杯下注-欧洲杯下注押注官网-欧洲杯下注押注网站|【​网址​🎉ac44.net🎉​】欧洲杯下注-欧洲杯下注押注官网-欧洲杯下注押注网站|【​网址​🎉ac44.net🎉​】
欧洲杯下注-欧洲杯下注押注官网-欧洲杯下注押注网站|【​网址​🎉ac44.net🎉​】
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
 
How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17
 
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGHKHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 

The Shopping Basket

  • 1. CMP-3110 ~ E-Commerce Applications Development Chapter 06 The Shopping Basket
  • 2. Shopping baskets • Shopping baskets the first stage in enabling an online purchase • Number of other methods that can facilitate e-commerce, including: • One-click payments • Service subscription payments • Auctions (Nilami)
  • 3. Shopping baskets • One-click payments: • customer clicks on the button • payment is processed • payment processor notifies the administrator: • Customer • delivery details • the amount paid • the product and cost data is defined within the payment button • Disadvantage: • customers can easily order things by mistake • customers need to be sure their default delivery details are correct in advance • it isn't easy to add voucher codes without adding more clicks
  • 5. Shopping baskets • Service subscription payments: • generally similar to one-click payments; you click on the subscription level, and then you pay. • Subscription sites give access to products or services for the duration of a subscription, from a business perspective • This often allows measurable recurring income, and can reduce transaction fees
  • 6. Shopping baskets • Auctions • Auctions lead to bidding for products • The customer commits to purchase the product at a certain price • No other customer commits to a higher price within the auction time window
  • 7. Per-page basket In case of no items in basket In case of basket have items
  • 8. Per-page basket And, our main basket page should look like this:
  • 9. Considerations for our shopping basket • Stock levels: • Is there sufficient stock when a customer adds a product to their basket? • Product variations • Product customizations • Templates: • An empty basket • summary of the basket • Subtotals: • We need to calculate subtotals for each product in the basket
  • 12. Basket contents • We have a basket structure in our database, but we now need to allow our customers to control the contents of the basket • Allowing them to: • View the basket • Add products to their basket • Add customizable products to their basket • Add variations of a product to their basket • Edit quantities of products in their basket
  • 13. Viewing the basket • CheckBasket method 1. Why are we using before adding the product? 2. customer adds a product to their basket twice 3. The second instance should increment the quantity of the first instance of the product
  • 14. Adding products • we only need to record • The product's ID number • Information of the user • addProduct method • First, we check that the product is valid and active • Secondly, we check that it is not a customizable product or variations • Finally, we check to see if the product is already in the basket • If it is, then we increment the product's quantity in the basket • if it isn't, then we add it to the basket.
  • 15. Adding customizable products • To facilitate the purchase of such products, there are a number of things we need to do: • Restructure the basket database • adding a field to store the uploaded file field to store custom text • Change how we view the shopping basket • Change how we add a product to the basket • Process the customized information, if the product was customizable
  • 17. Editing quantities • customer wants to change the quantity • The hope here is obviously that they will increase the quantities and purchase more • But equally, we need to allow them to reduce quantities or remove products • updateBasket()
  • 18. Cleaning the basket • The customer wants to empty their basket • The customer confirms an order • The basket contents are old and are not tied to a customer account
  • 19. Displaying the basket on every page • Most e-commerce websites display a small shopping basket at the top of the page or the side of the page, reminding the customer how many products are in their basket • To display the basket on each page we will need: • An empty basket template file • A basket template file, which displays the number of products in the customer's basket • A template tag in our main templates • Something in our framework to link into the basket on each page