Giter Club home page Giter Club logo

cart's Introduction

Codacy Badge

The extension is a small but powerful extension which "solely" adds a shopping cart to your TYPO3 installation and is well suited for content commerce.

The extension allows you to add products to a cart and handles the order process completely. There are other awesome extensions like extcode/cart-products, extcode/cart-events, and extcode/cart-books to handle different types of products.

Furthermore, you will find some payment provider extensions like extcode/cart-payone, extcode/cart-paypal, extcode/cart-saverpay, and more to add payment methods to the checkout process.

1. Features

  • makes intensive use of the TYPO3 Core API functionality
  • very well expandable
    • several hooks, signal slots, and interfaces
    • API (finisher pipeline) to process the order with possibility to register own tasks
    • API to add payment providers
    • API to connect your own product extensions
  • highly configurable through TypoScript
  • proved Bootstrap templates
  • backend module to show and utilize orders

2. Installation / Upgrade

2.1 Installation

Installation using Composer

The recommended way to install the extension is by using Composer. In your Composer based TYPO3 project root, just do composer require extcode/cart.

Installation as extension from TYPO3 Extension Repository (TER)

Download and install the extension with the extension manager module.

2.2 Update and Upgrade

Attention, Before updating to a new minor version or upgrading to a new major version, be sure to check the changelog section in the documentation. Sometimes minor versions also result in minor adjustments to own templates or configurations.

3. Administration

3.1 Compatibility and supported Versions

Cart TYPO3 PHP Support/Development
9.x.x 12.0 8.1+ Features, Bugfixes, Security Updates
8.x.x 10.4, 11.5 7.2+ Features, Bugfixes, Security Updates
7.x.x 10.4 7.2 - 7.4 Security Updates
6.x.x 9.5 7.2 - 7.4
5.x.x 8.7 7.0 - 7.4
4.x.x 7.6 - 8.7 5.6 - 7.2
3.x.x 6.2 - 8.7 5.6 - 7.0
2.x.x
1.x.x

If you need extended support for features and bug fixes outside of the currently supported versions, we are happy to offer paid services.

3.2. Changelog

Please have a look into the official extension documentation in changelog chapter

3.3. Release Management

News uses semantic versioning which basically means for you, that

  • bugfix updates (e.g. 1.0.0 => 1.0.1) just includes small bugfixes or security relevant stuff without breaking changes.
  • minor updates (e.g. 1.0.0 => 1.1.0) includes new features and smaller tasks without breaking changes.
  • major updates (e.g. 1.0.0 => 2.0.0) breaking changes wich can be refactorings, features or bugfixes.

4. Sponsoring

cart'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  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  avatar  avatar  avatar  avatar  avatar  avatar

cart's Issues

OrderItemValidator throws an error in TYPO3 6.2

Fatal error: Class Extcode\Cart\Domain\Validator\OrderItemValidator contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (TYPO3\CMS\Extbase\Validation\Validator\ObjectValidatorInterface::isPropertyValid) in /var/www/typo3cms/projekt1/typo3conf/ext/cart/Classes/Domain/Validator/OrderItemValidator.php on line 258

Problem with the basket

Hi,
thanks for the nice new shop extension. It will be perfect for my small shop.
I installed it with PHP 7.0.6, TYPO3 7.6.10 and the Bootstrap_Package.

Now I get the following errror message for every page:

Core: Error handler (FE): PHP Warning: Declaration of Extcode\Cart\Domain\Model\FileReference::setOriginalResource(TYPO3\CMS\Core\Resource\FileReference $originalResource) should be compatible with TYPO3\CMS\Extbase\Domain\Model\FileReference::setOriginalResource(TYPO3\CMS\Core\Resource\ResourceInterface $originalResource) in /html/typo3/typo3conf/ext/cart/Classes/Domain/Model/FileReference.php line 24

In FE I get within the
<div class="container mit_korb"></div>
the error message
Oops, an error occurred! Code: 20160819123653e6610eb3

Activating the debugging in the install tool the 'Basket' isn't shown anymore and I get the error meassage Oops, an error occurred! Code: 20160819125544614b3cba

Regards
Hobokens

Missing constants

Hi,
there are some constants in the setup.txt, that don't have a counterpart in the constants.txt, e.g.
{$plugin.tx_cart.settings.cart.pid}
{$plugin.tx_cart.settings.cart.isNetCart}
{$plugin.tx_cart.settings.order.pid}

Missing/ typo getHandleStock in Model

Hi Daniel,

in the Product Model is a function called handleStock() (Line 1023) that should be getHandlestock.

Could please change that, otherwise you can not call it via fluid.

Thanks
Fabian

skip rendering PDFs when a payment provider is found and used

When using a payment provider like CartPaypal, CartPayone or CartSaferpay the PDF documents shouldn't generate by the orderCartAction. The payment provider should handle this, when the payment was successful. To handle this the provider have to return the "providerUsed" as true.

add to cart - button

Hey Daniel,
thank you for your great extension!
Would you be so kind and give some advice how a simple add-to-cart button could be added to a listed product? Sorry if it's a stupid question ;)

Thank you and best wishes!

The given string was not appended with a valid HMAC

Hi Daniel,
Sorry, one more problem.
I have installed the newest cart from github with TYPO3 7.6.10 and PHP 5.6.23-nmm1.
I use diffent pages for the list view (List and show products) and the detail view (Product - Show View). When I try to add a product to the basket on the the detail page I get the following error:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1320830018: The given string was not appended with a valid HMAC. | TYPO3\CMS\Extbase\Security\Exception\InvalidHashException thrown in file /www/htdocs/w0144cf7/handspinnerin-hoechberg.de/typo3_src-7.6.10/typo3/sysext/extbase/Classes/Security/Cryptography/HashService.php in line 94. Requested URL: http://my-domain.de/index.php?id=36&tx_cart_cart%5Baction%5D=addProduct&tx_cart_cart%5Bcontroller%5D=Cart&cHash=4d277390710c8a5fa1d4db148e911ba5&type=2278001

I have the same configuration on a system with PHP 7.0.7 without any problems.

Regards
Tom

wrong backlink to list view

Hi,
I have a list view (list and show products) and a detail view (product - show view).

The backlink from detail view to list view in the file 'show.html' is a link to detail view and not to list view

<f:link.action class="btn btn-default" action="list">zurück zur Liste</f:link.action>

Regards
Hobokens

Image in 'ProductList.html'

I try to add a product image to the file 'ProductList.html'.
My problem: the variable
{product.firstImage.originalResource.originalFile.uid}
remains empty. What do I miss?

Thanks for your help!
Hobokens

allow null for orderItem an billingAddress in orderCart action

If a customer reloads the orderCart action after the order was submittet an exception will be thrown. The patch will allow the null as default for orderItem and billingAddress. I will add a condition to redirect to the showAction if one of both arguments will be null.

Declaration of FieldNameViewHelper::render() should be compatible with ActionViewHelper::render

Hi,
i try yout cart Extension on my TYPO3 Projekt based on 7.6.9 LTS and PHP 7.2. I get the following error when i try to add a product in my cart.
#1: PHP Warning: Declaration of Extcode\Cart\ViewHelpers\FieldNameViewHelper::render() should be compatible with TYPO3\CMS\Fluid\ViewHelpers\Link\ActionViewHelper::render($action = NULL, array $arguments = Array, $controller = NULL, $extensionName = NULL, $pluginName = NULL, $pageUid = NULL, $pageType = 0, $noCache = false, $noCacheHash = false, $section = '', $format = '', $linkAccessRestrictedPages = false, array $additionalParams = Array, $absolute = false, $addQueryString = false, array $argumentsToBeExcludedFromQueryString = Array, $addQueryStringMethod = NULL) in /var/www/clients/client5/web13/web/html/typo3conf/ext/cart/Classes/ViewHelpers/FieldNameViewHelper.php line 0

Function name must be a string for PHP 7.0.7

By mail the following problem has been reported.

Uncaught TYPO3 Exception
Function name must be a string

Error thrown in file
/var/web/servers/11074-1/www.cup-service.de/docs/typo3conf/ext/cart/Classes/Utility/CartUtility.php in line 666.

graded shipping costs throws an error

Configuring graded shipping costs with the following TypoScript results in an error:

plugin.tx_cart {
    shippings {
        preset = 1
        options {
            1 {
                title = Standard
                extra = by_quantity
                extra {
                    10 {
                        value = 1
                        extra = 2.50
                    }
                    20 {
                        value = 2
                        extra = 3.00
                    }
                    30 {
                        value = 3
                        extra = 5.00
                    }
                }
                taxClassId = 1
                status = open
            }
        }
    }
}

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.