[TYPO3-commerce] How to change the view of mini basket ?

Franz Koch typo.removeformessage at fx-graefix.de
Mon Jan 21 09:09:48 CET 2008


Hi,

> Mini-basket is a must for any shopping-cart. Commerce has also a mini
> basket but I like to modify its view to get some more useful information.
> Presently mini basket is showing
> 
> Basket (no. of item) price
> 
> but as you can see this is not really a standard mini-basket view.
> 
> I think a mini -basket should display
> 
> item_1    no_of_ amount_for_the_item  price_per_unit  
> total_price_for_the_item
> item_2    no_of_ amount_for_the_item  price_per_unit  
> total_price_for_the_item
> ...................................................................................................................
>  TOTAL PRICE ...
> 
> Is there any way to get this type of display using typoscript ?
> Kindly suggest.

no, not with TypoScript as far as I know. But I haven't checked the 
latest versions of commerce so far. Just have a look at the file 
'class.tx_commerce_pi2' and the method 'getQuickView' to see, what 
markers are available for the default mini-basket.
You can use the hook inside that method to extend the minibasket with 
the information you like to show.

--
Greetings,
Franz Koch


More information about the TYPO3-project-commerce mailing list