Mobile Version on QC 3.x

Packtheguh

Avatar: Packtheguh

2012-07-03 17:30

Need info about mobile version on QC 3.x, many thanks

» Quick.Cart v3.x

wewior (OpenSolution)

Avatar: wewior

2012-07-04 08:06

Mobile version is in Quick.Cart since v4.0. If you know some html/css/php you can try to copy it from 4.x to your version. But i suggest you to upgrade your QC to latest version.

Packthegooh

Avatar: Packthegooh

2012-07-04 11:34

is there any information if I'm using version 3.x base on v4.0 for mobile? which part should I have change?

wewior (OpenSolution)

Avatar: wewior

2012-07-04 13:47

Can't write you all but look in v4.x at files: mobile.php, templatesmobile_default.css, templatescontainer.tpl (block MOBILE_HEAD) and index.php code:

if( defined'MOBILE' ) && $config['mobile'] === true ){
  
$oTpl->setPrefixBlock'MOBILE_'true );
  
$config['template'] = $config['template_mobile'];
}

Packtheguh

Avatar: Packtheguh

2012-07-04 17:54

dear wewior, I have already change index.php file with additional script to define MOBILE like in v4.x
if( defined( 'MOBILE' ) && $config['mobile'] === true ){
$oTpl->setPrefixBlock( 'MOBILE_', true );
$config['template'] = $config['template_mobile'];
}

I have already copying mobile.php to root

Add Block MOBILE_HEAD on Template container.tpl

add this script to libraries/TplParser.php:
public function setPrefixBlock( $sName, $bDeletePrefixIfNotExists = true ){
$this->sBlockPrefix = $sName;
$this->bDeletePrefixIfNotExists = $bDeletePrefixIfNotExists;
} // end function setPrefixBlock

Here the demo for mobile index (http://demo.rumahbundashop.com/mobile.php) for v3.x, but when I click products, showing full product page, not mobile version, regarding v4.x demo, url will be http://rumahbundashop.com/41/mobile.php?11,camping-big (demo: www.rumahbundashop.com/41

Do I miss some scripts?

kindly need information (sorry for my bad english)

wewior (OpenSolution)

Avatar: wewior

2012-07-05 07:46

i see you have paid edition, please contact about that using support form:
http://opensolution.org/?p=support_paid
forum is only for free edition users

Back to top
about us | contact