Developed with love by KnpLabs Hire us for your project!
18

LiipFoxycartBundle

by liip

Symfony Foxycart integration Bundle

Liip Foxycart Bundle

Provides integration with Foxycart

Work in progress, currently it just provides a twig extension:

To render the foxycart css/js:
jinja
{{ foxycart_head() }}

To render a cart link with hmac encoded parameters:
jinja
{{ foxycart_link_cart({'code': 'sku123', 'name': 'My article', 'price': 22.25}) }}

Copyright (c) Liip AG

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
liip_foxycart:
cart_url: ~
api_key: ~
  • added helper function to return the cart url link inside templates
    By nicam, 3 years ago
  • switched license to MIT, since foxycart also updated their license https://github.com/FoxyCart/FoxyCart-Cart-Validation--PHP/commit/e713f75d8a53d222b1e54af0d4b9e5b0b1950c92
    By lsmith77, 4 years ago
  • made colorbox optional
    By lsmith77, 4 years ago
  • added foxycart_head()
    By lsmith77, 4 years ago
  • added note about where the hashing code was taken from
    By lsmith77, 4 years ago
  • tweaked composer.json
    By lsmith77, 4 years ago
  • first commit
    By lsmith77, 4 years ago