SlideShare a Scribd company logo
1 of 13
Oscommerce By: PrashantShekher
POINTS Features of Oscommerce Quick Admin/Front  demo File Structure  DB Structure  Template Integration Module Development  Main Modules used in oscommerce Resources
Features of Oscommerce Compatible with PHP 4 and MySQL - easily portable to version 5. Multi-lingual English, German and Spanish by default. Unlimited number of products and categories. Automatic setup of e-commerce payment systems: Authorize.net, 2Checkout.com, iPayment.de, PayPal.com, PsiGate.com, SECPay.com, and TrustCommerce.com; Many other add-on ecommerce payment systems, off-line (manual) credit card payments, and on-line payment processing. Multi-currency support via manual update from exchange rate server. Support for dynamic images (one image per product). Supports physical products as well as product downloads. Web-based administration module. Database backup and restore. Temporary and permanent shopping carts. Secure transactions with SSL (Secure Sockets Layer) support. Many shipping options including by weight, price, or destination. Real-time shipping quote integration with UPS, USPS. Zone-based shipping options as well as a free shipping option as part of Order Totals Module. Full tax functionality, included compounded taxes, different zones for different products.
DRAWBACK No Search-engine optimizations No XHTML/CSS based default layout XSS (The oscommerce platform suffers from a XSS vulnerability because it does not properly sanitize (process of removing sensitive information) ) No inbuilt template system
Quick Admin/Front  demo Configuretion -  Cache - quicker loading the next time it is accessed. Configuration -> cache Tools -> cache Categories Box File – does not exist Manufactures Box File – does not exist Also Purchased Module File does not exist GZIP Compression will speed up the time it takes for your osCommerce pages to load on most servers.Normal setting is 5 but if you have a lot of traffic set to 9. gzip compression to compress their web pages in order to save bandwidth. Download - link allows customer downloading of products after they are purchased. Catalog - The products expected section is a listing of any products that you have given an expected date to be in the store through the product's description area.
Basic Layout /File or Folder Structure
oscommerce-2.2rc2a Catalog admin 	   : 	   : Include Box (Folder) Language (Folder) Modules (Folder) Classes (Folder) Functions (Folder) column_left.php (Related to BOX folder) column_right.php (Related to BOX folder) database_tables.php (Related to list of all database file) filenames.php (Related to list of all php file) header.php footer.php
DB Structure tep_db_connect()  tep_db_close($link = 'db_link')  tep_db_error($query, $errno, $error)  tep_db_query($query, $link = 'db_link')  tep_db_perform($table, $data, $action = 'insert', $parameters = '', $link = 'db_link')  tep_db_fetch_array($db_query)  tep_db_num_rows($db_query)  tep_db_data_seek($db_query, $row_number)  tep_db_insert_id()  tep_db_free_result($db_query)  tep_db_fetch_fields($db_query)  tep_db_output($string)  tep_db_input($string)  tep_db_prepare_input($string)
Template Integration In default oscommerce 2.2 rc2, 2.1, as no template system  There is some template system Add-Ons BTS (Basic Template System) – for Programmer. STS (Simple Template System) – for designers – The output is in the form of  $variables that you can place on your HTML template page.
Module Development How To Set Session 	$mysession = 5; tep_session_register(‘mysession'); 	echo ((tep_session_is_registered('testss'))>0) ? 'Mysession Value='.$_SESSION['testss'] : 'Mysession Value='.'Not Set'; tep_session_unregister('mysession'); session destroy Removing Add to cart when user is not logged in – tep_session_is_registered('customer_id') if (( STORE_SHOW_GUESTS_PRICES == 'true' ) && (! tep_session_is_registered('customer_id') ) ) { 	} else { echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.png', IMAGE_BUTTON_IN_CART); }?>
1)    products_last_view_item create field in products table 	ALTER TABLE `products` ADD `products_last_view_item` DATETIME NULL AFTER `products_gift_card` ; 2) $update_sql_data = array('products_last_view_item' => 'now()'); 	$sql_data_array = array_merge($sql_data_array, $update_sql_data); tep_db_perform(TABLE_PRODUCTS, $sql_data_array, 'update', "products_id = '" . (int)$product_id . "'"); 					OR tep_db_query("update " . TABLE_PRODUCTS . " set products_last_view_item = now() where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'"); product_info.php (Set in top) 3) – box – 	 $viewed_query = tep_db_query("select pd.products_name, p.products_image,p.products_last_view_item from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.language_id = '" . $languages_id . "' and pd.products_id = p.products_id order by p.products_last_view_itemdesc limit 1"); 	if ($viewed_info = tep_db_fetch_array($viewed_query)) { 				$name = $viewed_info['products_name']; 				$image = $viewed_info['products_image']; 	}
Main Modules used in oscommerce Ultimate  SEO URLS(http://addons.oscommerce.com/info/2823) Administration Access Level Accounts 2.0 (http://www.oscommerce.com/community/contributions,1359) Image Resize –  1) During Upload in admin side 2) ‘on the fly’ image resize - http://addons.oscommerce.com/info/6941 Product Compare (http://addons.oscommerce.com/info/2192) Modern Design admin (http://www.pedroescribano.com/oscommerce-downloads/oscommerce-2.2rc2a-SPARX.zip)
Resources documentation.pdf tep_database-pr2.2-CVS.pdf http://www.oscommerce.info/kb/osCommerce

More Related Content

What's hot

How to create multi language store in magento 2
How to create multi language store in magento 2How to create multi language store in magento 2
How to create multi language store in magento 2AppJetty
 
Speed up with hiphop php 2014 01-22
Speed up with hiphop php 2014 01-22Speed up with hiphop php 2014 01-22
Speed up with hiphop php 2014 01-22Võ Duy Tuấn
 
Debugging WordPress Performance using EasyEngine
Debugging WordPress Performance using EasyEngineDebugging WordPress Performance using EasyEngine
Debugging WordPress Performance using EasyEnginertCamp
 
Oslo WordPress Meetup - June 15, 2011
Oslo WordPress Meetup - June 15, 2011Oslo WordPress Meetup - June 15, 2011
Oslo WordPress Meetup - June 15, 2011WPOslo
 
How to make Wordpress SEO friendly
How to make Wordpress SEO friendlyHow to make Wordpress SEO friendly
How to make Wordpress SEO friendlyLaurence Svekis
 
WordPress and MAMP
WordPress and MAMPWordPress and MAMP
WordPress and MAMPJim Raffel
 
Creating simple php contact form
Creating simple php contact formCreating simple php contact form
Creating simple php contact formDaniel Downs
 
Gaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerceGaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerceAndrew Wikel
 
Optimizing WordPress - WordPress SF Meetup April 2012
Optimizing WordPress -  WordPress SF Meetup April 2012Optimizing WordPress -  WordPress SF Meetup April 2012
Optimizing WordPress - WordPress SF Meetup April 2012Ben Metcalfe
 
Hyper Text Marup Language
Hyper Text Marup LanguageHyper Text Marup Language
Hyper Text Marup LanguageAniketPujari
 
Galaminds - Drupal Camp Pune 2009
Galaminds - Drupal Camp Pune 2009Galaminds - Drupal Camp Pune 2009
Galaminds - Drupal Camp Pune 2009Dheeraj Dagliya
 
Cutting accounts down to scythe
Cutting accounts down to scytheCutting accounts down to scythe
Cutting accounts down to scytheChris John Riley
 

What's hot (17)

How to create multi language store in magento 2
How to create multi language store in magento 2How to create multi language store in magento 2
How to create multi language store in magento 2
 
Speed up with hiphop php 2014 01-22
Speed up with hiphop php 2014 01-22Speed up with hiphop php 2014 01-22
Speed up with hiphop php 2014 01-22
 
Debugging WordPress Performance using EasyEngine
Debugging WordPress Performance using EasyEngineDebugging WordPress Performance using EasyEngine
Debugging WordPress Performance using EasyEngine
 
Optimizing wp
Optimizing wpOptimizing wp
Optimizing wp
 
Oslo WordPress Meetup - June 15, 2011
Oslo WordPress Meetup - June 15, 2011Oslo WordPress Meetup - June 15, 2011
Oslo WordPress Meetup - June 15, 2011
 
How to make Wordpress SEO friendly
How to make Wordpress SEO friendlyHow to make Wordpress SEO friendly
How to make Wordpress SEO friendly
 
WordPress and MAMP
WordPress and MAMPWordPress and MAMP
WordPress and MAMP
 
Creating simple php contact form
Creating simple php contact formCreating simple php contact form
Creating simple php contact form
 
Gaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerceGaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerce
 
Optimizing WordPress - WordPress SF Meetup April 2012
Optimizing WordPress -  WordPress SF Meetup April 2012Optimizing WordPress -  WordPress SF Meetup April 2012
Optimizing WordPress - WordPress SF Meetup April 2012
 
Hyper Text Marup Language
Hyper Text Marup LanguageHyper Text Marup Language
Hyper Text Marup Language
 
Mr.hot
Mr.hotMr.hot
Mr.hot
 
Galaminds - Drupal Camp Pune 2009
Galaminds - Drupal Camp Pune 2009Galaminds - Drupal Camp Pune 2009
Galaminds - Drupal Camp Pune 2009
 
puissance-2roue
puissance-2rouepuissance-2roue
puissance-2roue
 
Ddpz2613 topic6 frame
Ddpz2613 topic6 frameDdpz2613 topic6 frame
Ddpz2613 topic6 frame
 
Cutting accounts down to scythe
Cutting accounts down to scytheCutting accounts down to scythe
Cutting accounts down to scythe
 
Webhostmaker
WebhostmakerWebhostmaker
Webhostmaker
 

Similar to Oscommerce Presentation

Introduction to Mangento
Introduction to Mangento Introduction to Mangento
Introduction to Mangento Ravi Mehrotra
 
Getting Started With WordPress Development
Getting Started With WordPress DevelopmentGetting Started With WordPress Development
Getting Started With WordPress DevelopmentAndy Brudtkuhl
 
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 Evan Mullins
 
Introduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce PlatformIntroduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce PlatformJarne W. Beutnagel
 
Flash Templates- Joomla!Days NL 2009 #jd09nl
Flash Templates- Joomla!Days NL 2009 #jd09nlFlash Templates- Joomla!Days NL 2009 #jd09nl
Flash Templates- Joomla!Days NL 2009 #jd09nlJoomla!Days Netherlands
 
Flash templates for Joomla!
Flash templates for Joomla!Flash templates for Joomla!
Flash templates for Joomla!Herman Peeren
 
How to Import CSV or XML to WordPress.pdf
How to Import CSV or XML to WordPress.pdfHow to Import CSV or XML to WordPress.pdf
How to Import CSV or XML to WordPress.pdfSAA RAJESWAR MHURGAIYA
 
PrestaShop Kathmandu Ecommerce Meetup #2
PrestaShop Kathmandu Ecommerce Meetup #2PrestaShop Kathmandu Ecommerce Meetup #2
PrestaShop Kathmandu Ecommerce Meetup #2Hem Pokhrel
 
WordPress development paradigms, idiosyncrasies and other big words
WordPress development paradigms, idiosyncrasies and other big wordsWordPress development paradigms, idiosyncrasies and other big words
WordPress development paradigms, idiosyncrasies and other big wordsTomAuger
 
Wordless, stop writing WordPress themes like it's 1998
Wordless, stop writing WordPress themes like it's 1998Wordless, stop writing WordPress themes like it's 1998
Wordless, stop writing WordPress themes like it's 1998Filippo Dino
 
Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress developmentSteve Mortiboy
 
Cakephp's Cache
Cakephp's CacheCakephp's Cache
Cakephp's Cachevl
 
Mastering WordPress Vol.1
Mastering WordPress Vol.1Mastering WordPress Vol.1
Mastering WordPress Vol.1Wataru OKAMOTO
 
Product Base Currency Magento Extension Manual 1.0.0.1
Product Base Currency Magento Extension Manual 1.0.0.1Product Base Currency Magento Extension Manual 1.0.0.1
Product Base Currency Magento Extension Manual 1.0.0.1innoexts
 
Introduction to Plugin Programming, WordCamp Miami 2011
Introduction to Plugin Programming, WordCamp Miami 2011Introduction to Plugin Programming, WordCamp Miami 2011
Introduction to Plugin Programming, WordCamp Miami 2011David Carr
 
WordPress Structure and Best Practices
WordPress Structure and Best PracticesWordPress Structure and Best Practices
WordPress Structure and Best Practicesmarkparolisi
 
Website Security
Website SecurityWebsite Security
Website SecurityCarlos Z
 

Similar to Oscommerce Presentation (20)

Mangento
MangentoMangento
Mangento
 
Introduction to Mangento
Introduction to Mangento Introduction to Mangento
Introduction to Mangento
 
Manish
ManishManish
Manish
 
Getting Started With WordPress Development
Getting Started With WordPress DevelopmentGetting Started With WordPress Development
Getting Started With WordPress Development
 
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
 
Introduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce PlatformIntroduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce Platform
 
Flash Templates- Joomla!Days NL 2009 #jd09nl
Flash Templates- Joomla!Days NL 2009 #jd09nlFlash Templates- Joomla!Days NL 2009 #jd09nl
Flash Templates- Joomla!Days NL 2009 #jd09nl
 
Flash templates for Joomla!
Flash templates for Joomla!Flash templates for Joomla!
Flash templates for Joomla!
 
How to Import CSV or XML to WordPress.pdf
How to Import CSV or XML to WordPress.pdfHow to Import CSV or XML to WordPress.pdf
How to Import CSV or XML to WordPress.pdf
 
Php
PhpPhp
Php
 
PrestaShop Kathmandu Ecommerce Meetup #2
PrestaShop Kathmandu Ecommerce Meetup #2PrestaShop Kathmandu Ecommerce Meetup #2
PrestaShop Kathmandu Ecommerce Meetup #2
 
WordPress development paradigms, idiosyncrasies and other big words
WordPress development paradigms, idiosyncrasies and other big wordsWordPress development paradigms, idiosyncrasies and other big words
WordPress development paradigms, idiosyncrasies and other big words
 
Wordless, stop writing WordPress themes like it's 1998
Wordless, stop writing WordPress themes like it's 1998Wordless, stop writing WordPress themes like it's 1998
Wordless, stop writing WordPress themes like it's 1998
 
Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress development
 
Cakephp's Cache
Cakephp's CacheCakephp's Cache
Cakephp's Cache
 
Mastering WordPress Vol.1
Mastering WordPress Vol.1Mastering WordPress Vol.1
Mastering WordPress Vol.1
 
Product Base Currency Magento Extension Manual 1.0.0.1
Product Base Currency Magento Extension Manual 1.0.0.1Product Base Currency Magento Extension Manual 1.0.0.1
Product Base Currency Magento Extension Manual 1.0.0.1
 
Introduction to Plugin Programming, WordCamp Miami 2011
Introduction to Plugin Programming, WordCamp Miami 2011Introduction to Plugin Programming, WordCamp Miami 2011
Introduction to Plugin Programming, WordCamp Miami 2011
 
WordPress Structure and Best Practices
WordPress Structure and Best PracticesWordPress Structure and Best Practices
WordPress Structure and Best Practices
 
Website Security
Website SecurityWebsite Security
Website Security
 

Recently uploaded

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Oscommerce Presentation

  • 2. POINTS Features of Oscommerce Quick Admin/Front  demo File Structure DB Structure Template Integration Module Development Main Modules used in oscommerce Resources
  • 3. Features of Oscommerce Compatible with PHP 4 and MySQL - easily portable to version 5. Multi-lingual English, German and Spanish by default. Unlimited number of products and categories. Automatic setup of e-commerce payment systems: Authorize.net, 2Checkout.com, iPayment.de, PayPal.com, PsiGate.com, SECPay.com, and TrustCommerce.com; Many other add-on ecommerce payment systems, off-line (manual) credit card payments, and on-line payment processing. Multi-currency support via manual update from exchange rate server. Support for dynamic images (one image per product). Supports physical products as well as product downloads. Web-based administration module. Database backup and restore. Temporary and permanent shopping carts. Secure transactions with SSL (Secure Sockets Layer) support. Many shipping options including by weight, price, or destination. Real-time shipping quote integration with UPS, USPS. Zone-based shipping options as well as a free shipping option as part of Order Totals Module. Full tax functionality, included compounded taxes, different zones for different products.
  • 4. DRAWBACK No Search-engine optimizations No XHTML/CSS based default layout XSS (The oscommerce platform suffers from a XSS vulnerability because it does not properly sanitize (process of removing sensitive information) ) No inbuilt template system
  • 5. Quick Admin/Front  demo Configuretion - Cache - quicker loading the next time it is accessed. Configuration -> cache Tools -> cache Categories Box File – does not exist Manufactures Box File – does not exist Also Purchased Module File does not exist GZIP Compression will speed up the time it takes for your osCommerce pages to load on most servers.Normal setting is 5 but if you have a lot of traffic set to 9. gzip compression to compress their web pages in order to save bandwidth. Download - link allows customer downloading of products after they are purchased. Catalog - The products expected section is a listing of any products that you have given an expected date to be in the store through the product's description area.
  • 6. Basic Layout /File or Folder Structure
  • 7. oscommerce-2.2rc2a Catalog admin : : Include Box (Folder) Language (Folder) Modules (Folder) Classes (Folder) Functions (Folder) column_left.php (Related to BOX folder) column_right.php (Related to BOX folder) database_tables.php (Related to list of all database file) filenames.php (Related to list of all php file) header.php footer.php
  • 8. DB Structure tep_db_connect() tep_db_close($link = 'db_link') tep_db_error($query, $errno, $error) tep_db_query($query, $link = 'db_link') tep_db_perform($table, $data, $action = 'insert', $parameters = '', $link = 'db_link') tep_db_fetch_array($db_query) tep_db_num_rows($db_query) tep_db_data_seek($db_query, $row_number) tep_db_insert_id() tep_db_free_result($db_query) tep_db_fetch_fields($db_query) tep_db_output($string) tep_db_input($string) tep_db_prepare_input($string)
  • 9. Template Integration In default oscommerce 2.2 rc2, 2.1, as no template system There is some template system Add-Ons BTS (Basic Template System) – for Programmer. STS (Simple Template System) – for designers – The output is in the form of $variables that you can place on your HTML template page.
  • 10. Module Development How To Set Session $mysession = 5; tep_session_register(‘mysession'); echo ((tep_session_is_registered('testss'))>0) ? 'Mysession Value='.$_SESSION['testss'] : 'Mysession Value='.'Not Set'; tep_session_unregister('mysession'); session destroy Removing Add to cart when user is not logged in – tep_session_is_registered('customer_id') if (( STORE_SHOW_GUESTS_PRICES == 'true' ) && (! tep_session_is_registered('customer_id') ) ) { } else { echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.png', IMAGE_BUTTON_IN_CART); }?>
  • 11. 1) products_last_view_item create field in products table ALTER TABLE `products` ADD `products_last_view_item` DATETIME NULL AFTER `products_gift_card` ; 2) $update_sql_data = array('products_last_view_item' => 'now()'); $sql_data_array = array_merge($sql_data_array, $update_sql_data); tep_db_perform(TABLE_PRODUCTS, $sql_data_array, 'update', "products_id = '" . (int)$product_id . "'"); OR tep_db_query("update " . TABLE_PRODUCTS . " set products_last_view_item = now() where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'"); product_info.php (Set in top) 3) – box – $viewed_query = tep_db_query("select pd.products_name, p.products_image,p.products_last_view_item from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.language_id = '" . $languages_id . "' and pd.products_id = p.products_id order by p.products_last_view_itemdesc limit 1"); if ($viewed_info = tep_db_fetch_array($viewed_query)) { $name = $viewed_info['products_name']; $image = $viewed_info['products_image']; }
  • 12. Main Modules used in oscommerce Ultimate SEO URLS(http://addons.oscommerce.com/info/2823) Administration Access Level Accounts 2.0 (http://www.oscommerce.com/community/contributions,1359) Image Resize – 1) During Upload in admin side 2) ‘on the fly’ image resize - http://addons.oscommerce.com/info/6941 Product Compare (http://addons.oscommerce.com/info/2192) Modern Design admin (http://www.pedroescribano.com/oscommerce-downloads/oscommerce-2.2rc2a-SPARX.zip)
  • 13. Resources documentation.pdf tep_database-pr2.2-CVS.pdf http://www.oscommerce.info/kb/osCommerce