###IMAGE_BASKET###
###NUMBER_GOODSTOTAL### Products (EUR ###PRICE_GOODSTOTAL_TAX###.-)
No products in basket.
.. _Calculation-script:
Calculation script:
^^^^^^^^^^^^^^^^^^^
If you write and use your own calculation scripts, then you should
always use only the price variables. The priceTax and priceNoTax
variables will be deleted in August 2008 because they can be
calculated from the price variables and the TAXpercentage and
TAXincluded constants.You can use the global PHP variables
$this->calculatedArray and $this->itemArray to make your own price
calculations.
.. _Discount:
Discount:
^^^^^^^^^
There are several methods to get a discount.
Use the discount field for a frontend user and enter the percent of
discount.
Use the price2 field for special feuser groups or other things. This
setting is done in TypoScript via the IF-statement.
Use the discountprice calculation where the discount depends on the
value of the total number of the products which have a special price.
This will be available for the frontend user group
'discountGroupName'.
.. _Search-link-for-the-products-of-the-last-X-days:
Search link for the products of the last X days
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is practical for “What is new?” pages. Create simply a link to
the SEARCH page and add "newitemdays" as parameters. `http://www.my-
typo3-shop.com/?id=8&newitemdays=10