[TYPO3-commerce] 'delete from basketlink' with realURL
Jeroen Visser
jeroen at roquin.nl
Thu Dec 6 16:05:56 CET 2007
Hi,
Sometimes the "delete from basket URL" doesn't link to the right
location and a 404 is thrown.
The URL is fine when adding a product to the basket. Then you will be
redirected directly to the basket.
Now you can safely delete the product from your basket.
When you click the "basket link" from the minibasket the "delete from
basket" is /catalogus/basket/cat.html
Which is false.
I have quickly worked around it by doing something like:
if(strstr($_SERVER['REQUEST_URI'],'/catalogus/mandje/cat.html?')){
header("Location: /catalogus/basket.html?".$_SERVER['QUERY_STRING']);
die();
}
above the realurl config.
Does anybody had the same problem?
Greetings,
Jeroen
More information about the TYPO3-project-commerce
mailing list