Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

AnandChowdhary/ecommerce-store

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Ecommerce Store

A PHP + Bliss.js ecommerce store

Usage

  • Use <div data-cart-productList="all"></div> to fetch all products.
  • Use <div data-cart-productList="potato"></div> to fetch products in the "potato" category.
  • Use function addToCart(product_id, quantity); to add a product to cart.
  • Use function clearCart(); to clear the cart.
  • Use function refreshCart(); to refresh the AJAX the cart.
  • Use <div data-cart></div> to display the cart.

⚠️ Archive Notice

In 2016, I tried implementing a basic e-commerce store (no checkout or payments). I don't think I completed this experimental project. But, in hindsight, the idea of using data attributes to dynamically load data is pretty cool.

About

A PHP + Bliss.js ecommerce store

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.