Git Product home page Git Product logo

cartkit's Introduction

I'm not a developer, just a designer.

You can also contribute to improve this wonderful plugin to add a lot of interesting functionality.


Cartkit

Cartkit

Buy a (Kirby) license

You can purchase your Kirby license at http://getkirby.com/buy

A Kirby license is valid for a single domain. You can find Kirby's license agreement here: http://getkirby.com/license

The Cartkit

Cartkit comes with a small demo website and a fully configured panel. Feel free to modify it and play with it as much as you like.

The Panel

You can find the login for Kirby's admin interface at http://yourdomain.com/panel. You will be guided through the signup process for your first user, when you visit the panel for the first time.

Installation

Kirby does not require a database, which makes it very easy to install. Just copy Kirby's files to your server and visit the URL for your website in the browser.

Please check if the invisible .htaccess file has been copied to your server correctly

Requirements

Kirby runs on PHP 5.3+, Apache or Nginx.

With Git

If you are familiar with Git, you can clone Kirby's Cartkit repository from Github.

git clone --recursive https://github.com/starckio/cartkit.git

Issues and feedback

If you have a Github account, please report issues directly on Github:

Otherwise you can use Kirby's forum: http://getkirby.com/forum

Leave a donation to thank me (Bitcoin/Altcoin)

cartkit's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cartkit's Issues

Product Sold-out

To make "sold-out" function working, you should change :

if($product->soldout() != ''):
by
if( (string)$product->soldout() ):
in snippets/products.php, line 21

otherwise '0' is consider as true.

Wrong calculation of net price from TTC

Maybe I'm getting this all wrong, but there seems to be something wrong with the ht, tax etc. calculations:

Calculation of net price from ttc should be:

function cart_ht($ttc, $vat) {
	$ht = $ttc / (1 + $vat/100);
	return $ht;
}

Calculation of vat value to be added to a net price (this is probably what you need in your plugin if tax is set to true, but then the product prices should be net prices, because this value is added when I click the Paypal submit button; even though the text says "TVA incluse"):

function cart_vat($net, $vat) {
	$tax = $net * $vat/100;
	return $tax;
}

Calculate amount of tax included in a given TTC price:

function cart_vat_incl ($ttc, $vat) {
  $ht = $ttc / (1 + $vat/100);
  $tax_incl = $ttc - $ht;
  return $tax_incl;
}

V3

Will you update this one for Kirby v3?

BTW good job with this one, love the simplicity

CartKit Status

Few questions here:

  • What's the current status of cartkit? any roadmap?
  • Can you add the status to the top of the README.md file?
  • How likely you are to discuss new features? (here's where the roadmap comes in handy).

Documentation

Hi! documentation is down. I really need to read it.

Best regards, amazing plugin!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.