[TYPO3-commerce] stay still on productpage after "add basket" action

tom tracklog at gmx.de
Mon Sep 22 12:24:48 CEST 2008


Hello Morten,


Maybe a header() redirect could refresh the article page...
My first thought is to put  a marker on the articlepagetemplate 
###REDIRECT###. this marker is filled by commerce: <input type="hidden" 
name="redirect_pid">
If this var exists, commerce could update the basket and force so the 
refresh of the article page....



Mail vom 22.09.2008 08:20, von Morten Olesen :
> Hello tom,
> 
> For that you would need to submit the form via ajax and once you've 
> completed this let the user know that the product has been added to the 
> basket and update any occurrences of the minibasket on the page.
> 
> So not an easy task per say.
> 
> /Morten
> 
> tom wrote:
>> whenever I click on "submit" or "add basket" it takes me inside the
>> basket details view. How can I get an arrangement that clicking on
>> "submit" only adds the item and does not take me inside the basket?
>>
>>
>> thanks a lot
>> Tom


More information about the TYPO3-project-commerce mailing list