We really can't use a mobile a version that doesn't allow switching back and forth so i modified the old page to make it work:
in
/common_files/modules/Xcart_Mobile_Skin/customer/main/switch_view.tpl replace it with:
Code:
{*
$Id$
vim: set ts=2 sw=2 sts=2 et:
*}
<a class="switch-mobile link-switch" data-theme="b" data-icon="switch"> <i class="fa fa-desktop"></i><h3>{$lng.lbl_switch_to_desktop}</h3>
<div class="ui-grid-b">
<div class="ui-block-b">
<a href="{$php_url.url}?{if $php_url.query_string}{$php_url.query_string}&{/if}switch_view=common" rel="external" data-role="button" data-inline="false" data-theme="b">{$lng.lbl_switch}</a>
</div>
</div>
Go to Languages and search for "mobile view",
in
txt_mobile_switch_view_dialog_content_original
change wording to how you like but I used:
Code:
<p>
Switch to the mobile view? Yes = Mobile, No = Desktop main home page. To stay, click "Dont ask again" and the X in upper right. To force back to mobile from desktop, you need to close this browser and re-open (hold finger on URL and copy beforehand so you can re-paste easily).</p>
in
/common_files/modules/Xcart_Mobile_Skin/customer/main/more.tpl (or whatever page you want it on)
find
Code:
{capture name=submenu}
below it add:
Code:
{include file="customer/main/switch_view.tpl"}