Basket

Basket

Introduction

the basket plugin is a simple plugin. It creates a session in which products can be added. It's possible to call functions over the url.
Most of the functions just call the handler function. So you have to define a handler class where you put in the custom functionalities.
The basket plugin is not a whole shop solution, but it's a solid ground, building your own shop.
If your are looking for a whole shop solution, check the shop example section.

Configuration

To use the basket plugin, you have to put it into the CollectionConfig in .configxml (or .configxml.children) in the appropriate collection in the data/ directory. For example:

<?xml version="1.0"?>

<bxcms xmlns="http://bitflux.org/config">

    <plugins>        <parameter name="xslt" type="pipeline" value="basket.xsl"/>
    <plugin type="basket">
   <parameter name="basketname" value="myBasketName"/>
    <parameter name="baskethandlerclass" value="bx_helpers_mybasket"/>
 </plugin>
<plugin type="navitree"/>
    </plugins>
</bxcms>

Parameters
basketname: This is the name of your basket
baskethandlerclass: This is the class of your basket handler

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
These projects are supported by Liip AG