Ok but when i add a product to the mobile version, i want to be redirect to the page mobile_shopping_cart.php.
I have no redirection because in the configuration menu of my shop, "display cart when i add a product" is false.
The solution is maybe In application_top :
if (DISPLAY_CART == 'true') {
$goto = FILENAME_SHOPPING_CART;
$parameters = array('action', 'cPath', 'products_id', 'pid');
} else {
$goto = basename($PHP_SELF);
if ($HTTP_GET_VARS['action'] == 'buy_now') {
$parameters = array('action', 'pid', 'products_id');
} else {
$parameters = array('action', 'pid');
}
}
how to make the mobile version to be different ?