Coder Social home page Coder Social logo

helpfulrobot / sunnysideup-ecommerce-tax Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunnysideup/silverstripe-ecommerce_tax

0.0 2.0 0.0 107 KB

adds "tax" to the Silverstripe e-commerce application

Home Page: www.silverstripe-ecommerce.com

License: Other

PHP 100.00%

sunnysideup-ecommerce-tax's Introduction

ecommerce tax

GST Tax

What is it for?

Allows adding GST / VAT / any aother tax to an order

The concepts you need to know are:

  • when the prices are inclusive, the site needs to have a default country, so that you know for which country the tax is added.
  • in general, prices apply to all products, but using the GSTTaxDecorator you can make buyable (product) specific exceptions.
  • you can add zero or more taxes through modeladmin.
  • the taxes can either apply to one country or to all countries. In the future we may change this so they they can apply to more than one country (e.g. EU) or to specific regions (e.g. US state specific tax).
  • you can either choose for the tax to apply to all buyables, or you can make it an "optional tax".
  • when you have added the GSTTaxDecorator to the buyables you have two additional options: optional taxes can be added on a per-buyable basis and taxes that apply to all buyables can be removed from individual buyables.
  • taxes also apply to all modifier charges except any GSTTaxModifiers.
  • for both modifiers and buyables you can change the taxable amount by adding a method "portionWithoutTax" (this name of this method in is configurable)

Developer

Nicolaas [at] sunnysideup.co.nz

Documentation

Please contact author for more details.

Any bug reports and/or feature requests will be looked at

We are also very happy to provide personalised support for this module in exchange for a small donation.

Requirements

see composer.json

Project Home

See http://code.google.com/p/silverstripe-ecommerce

Demo

See http://www.silverstripe-ecommerce.com

Installation Instructions

  1. Find out how to add modules to SS and add module as per usual.

  2. Review configs and add entries to mysite/_config/config.yml (or similar) as necessary. In the _config/ folder of this module you can usually find some examples of config options (if any).

sunnysideup-ecommerce-tax's People

Contributors

sunnysideup avatar

Watchers

James Cloos avatar helpfulrobot avatar

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.