Basket
basket.minPrice
-
- Type
- array of string
- Required
true
minimum price which the products must reach to get a permission to buy them. E.g. only products of a total price of at least 250 shall be accepted. The products which have the 'no minimum price checked, will not be counted here.
Example:
example basket.minPriceplugin.tt_products.basket.minPrice { type = price collect = goodstotal value = 250 }Copied!
basket.maxPrice
-
- Type
- array of string
- Required
true
maximum price which the products may reach to get a permission to buy them. E.g. only products of a total price of at most 2500 shall be accepted. The products which have the 'no maximum price' checked, will not be counted here.
Example:
example basket.maxPriceplugin.tt_products.basket.maxPrice { type = price collect = goodstotal value = 2500 }Copied!
basket.view
-
- Type
- array of string
- Required
true
- Default
- showAmount = basket
basket view configuration
show: if the amount of items in the basket is shown with each product in single and list view.Amount = basket 0: if the default amount with each product is always zero (needed for caching)input: input tag with radio buttons for the list view of products and the marker ###BASKET_INPUT###- insert the name of the radio buttons
where: SQL where condition for productschecked: preselected product uid
Example:
example basket.viewplugin.tt_products.basket.view.input { 10.label = Buy: 10.type = radio 10.where = uid IN (12,13,14,15) 10.checked = 12 10.name = Radiobox1 10.params =Copied!}
basket.activity
-
- Type
- array of string
- Required
true
activity configuration Possible activities are:
basket,info,payment,verify,finalize,overviewcheck: :typoscript:`address`: if the required fields have been filled in (see requiredInfoFields)agb: if the trading conditions checkbox has been clicked :typoscript:`basket`: if the basket has entries.edit_: if the edit variants follows some restrictionsvariant clear: *memo: If the MEMO for the items shall be cleared.
Example:
example basket.activitybasket.activity.payment { check = address,agb,basket }Copied!
basket.store
-
- Type
- boolean
- Required
true
If set to 0, then no basket will be stored. This is only usefull, if you have several shop plugins on a site. Then items are added to the basket only once.
basket.round
-
- Type
- string
- Required
true
Rounding format for the prices in the basket.
round.... rounding format for the discount from the discount fielddiscount
Example:
example basket.roundbasket { round = .XX round.discount = .XX }Copied!