All Projects → yuyuhhh → eCommerce-Website

yuyuhhh / eCommerce-Website

Licence: other
php project: Display several pages of product detail and create shopping cart, implement CRUD operation, checkout in the end

Programming Languages

PHP
23972 projects - #3 most used programming language
TSQL
950 projects
CSS
56736 projects

Projects that are alternatives of or similar to eCommerce-Website

Shopping-Cart
A simple E-commerce website using Flask
Stars: ✭ 147 (+539.13%)
Mutual labels:  shopping-cart, ecommerce-website
CodeIgniter3-online-shop
A full e-commerce project built with CI3 HMVC with Email confirmation,Paypal payement , Ion Auth , Live Chatroom and full admin dashboard
Stars: ✭ 114 (+395.65%)
Mutual labels:  shopping-cart, ecommerce-website
react-use-cart
React hook library for managing cart state
Stars: ✭ 297 (+1191.3%)
Mutual labels:  shopping-cart
nodejs-shopping-cart
NodeJS / Express / MongoDB - Shopping Cart (monolithic app with handlebars)
Stars: ✭ 42 (+82.61%)
Mutual labels:  shopping-cart
magento2-freeshipping-progress-bar
Add a free shipping eligibility progress bar to your Magento 2 websites cart to promote increased order value.
Stars: ✭ 37 (+60.87%)
Mutual labels:  shopping-cart
grav-plugin-snipcart
Grav Snipcart Plugin
Stars: ✭ 17 (-26.09%)
Mutual labels:  shopping-cart
ShoppingCart
简单的购物车 for iOS written by Objective-C
Stars: ✭ 14 (-39.13%)
Mutual labels:  shopping-cart
ng-shopping-cart
🛒 An Angular component library to create shopping carts
Stars: ✭ 46 (+100%)
Mutual labels:  shopping-cart
tongyimall
高仿小米商城用户端,是Vue + SpringBoot的前后端分离项目,包括首页门户、商品分类、首页轮播、商品展示、购物车、地址管理等部分。管理端在另一个仓库。
Stars: ✭ 55 (+139.13%)
Mutual labels:  shopping-cart
laravel-shopping-cart
e-commerce shopping cart for laravel application.
Stars: ✭ 38 (+65.22%)
Mutual labels:  shopping-cart
Katmanli-Mimari-ETicaret-Core-Mvc
Baştan Sona Core Mvc ile Kendi E-Ticaret Siteni Mimari Bakış Açısıyla Hazırla.
Stars: ✭ 78 (+239.13%)
Mutual labels:  ecommerce-website
grandnode2
Free, Open source, Fast, Headless, Multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, LiteDB, Vue.js.
Stars: ✭ 626 (+2621.74%)
Mutual labels:  shopping-cart
FoodDelivery
E-Commerce demo project. Food delivery application project made with.
Stars: ✭ 106 (+360.87%)
Mutual labels:  shopping-cart
Shopping-Sahuba
Sahuba is an online shopping platform with a slogan of `Sell your products in one click.`. It's main idea is to help people to sell their products online with in a click. Technically it's build on the top of modern web framework like laravel , vue js, GraphQl and so on.
Stars: ✭ 21 (-8.7%)
Mutual labels:  ecommerce-website
ZimCart-Laravel-Ecommerce
ZimCart is an Open Source eCommerce platform by Loyd Tafireyi using Laravel and it is available as a free and paid version.
Stars: ✭ 138 (+500%)
Mutual labels:  ecommerce-website
cart
Shopping cart composer package
Stars: ✭ 109 (+373.91%)
Mutual labels:  shopping-cart
therack
Laravel 7 e-commerce website
Stars: ✭ 77 (+234.78%)
Mutual labels:  ecommerce-website
grav-skeleton-gravcart
The Grav Shopping Cart skeleton
Stars: ✭ 11 (-52.17%)
Mutual labels:  shopping-cart
Angular-Springboot
E- Commerce Application Built Integrating Angular and Spring Web Services
Stars: ✭ 58 (+152.17%)
Mutual labels:  ecommerce-website
woo-cart-expiration
Set a time limit on a customer checking out.
Stars: ✭ 19 (-17.39%)
Mutual labels:  shopping-cart

Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot

Basic E-Commerce website(include products show, cart, checkout)

Use boostrap,jQuery, php, mySQl. CSS CLASS
know m-b-20px m-t-0px

File structure and roles

Layout

1.layout_head.php
$SESSION['cart'] html $page_title

2.layout_foot.php
html customized-js(class:update-quantity-form, class:product-id, class:cart-quantity

3.navigation.php
user_id count()

Display products

1.products.php
Define $db, $page_title, $product, $product_image, $cart_item, $action, $page, $records_per_page, $from_record_num, $page_url, $total_rows
call function: read($from_record_num, $records_per_page), rowCount(), count()

2.objects/product.php
Implement read($from_records_num, $records_per_page), count(), readByIds($ids)

3.objects/product_image.php
Implement readFirst()

4.read_products_temp.php
class:m-b-20px product-id product-link m-b-10px w-100-pct product-name w-1-pct
$product_image product_id $id user_id $cart_tiem
call readFirst()

5.pagination.php
class:col-md-12 pagination(bootstrap) m-b-20px m-t-0px
Define $cart_count $total_pages $range $page_url $page

Cart

1.add_to_cart.php
$cart_item user_id product_id $product_id quantity $quantity
call exists() create()
Action: added exists unable_to_add

2.objects/cart_item.php
Implement exists() count() create() read() update() delete() deleteByUser()

3.remove_from_cart.php
Define $product_id($GET['id']
Action:removed

4.update_quantity.php
Define $product_id($GET) $quantity($GET)
Call $cart_item update()
Action:updated unable_to_update

5.cart.php
show all action results
call $cart_count
class:cart-row product-name update-quantity-form product-id input-group cart-quantity input-group-btn update-quantity
!!!update quantity: class is 'update-quantity-form will trigger layout_foot.php javascript $(document).ready function

Checkout

1.checkout.php<br / > $page_title
call $cart_count $quantity
Define $total $item_count $sub_total

class: cart-row

2.place_order.php

tutorial is here!!

https://www.codeofaninja.com/2013/04/shopping-cart-in-php.html

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].