[Contribution] iOSC - mobile version of OSC on your iPhone
#381
Posted 08 December 2010 - 02:12 PM
#382
Posted 19 January 2011 - 06:59 AM
lupole, on 08 December 2010 - 02:12 PM, said:
lupole, you have made IOSC do some really cool stuff! I'm still getting through some of the configuration issues myself.
#383
Posted 03 February 2011 - 12:35 AM
I installed this contribution, but my shop is heavely redesigned, so I don't know if its me or the shop who give me problems.
on http://www.slotworld.dk/shop/mobile_index.php
I have this index site to work, also categories, but when clicking a categori I am send to the standard shop,
just like the login site are being redirected to the standard shop.
what is going wrong here?
#384
Posted 03 February 2011 - 03:25 AM
lupole, on 08 December 2010 - 02:12 PM, said:
#385
Posted 03 February 2011 - 08:48 PM
#386
Posted 05 February 2011 - 03:48 PM
lupole, on 08 December 2010 - 02:12 PM, said:
It;s not working on my side: http://www.lemon-en-lime.nl/shop/mobile_index.php
#387
Posted 07 February 2011 - 02:31 PM
if somebody know,if the iosc suitable for ms2.2 or not
#388
Posted 08 February 2011 - 02:54 PM
westernunity, on 05 February 2011 - 03:48 PM, said:
One of the issues on your site is that the line items of your mobile shopping cart don't show the correct line total. This can be fixed by changing this line in mobile_shopping_cart.php (about line 113):
'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']),0, $products[$i]['quantity']) . '</b>');
to
'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</b>');
Basically, you are just getting rid of "0," from the line.
#389
Posted 09 February 2011 - 08:19 AM
Also does web spiders automatically index these pages as mobile or do we have to tell them - e.g. google Webmaster Tools
#390
Posted 09 February 2011 - 01:20 PM
B!!!, on 08 February 2011 - 02:54 PM, said:
'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']),0, $products[$i]['quantity']) . '</b>');
to
'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</b>');
Basically, you are just getting rid of "0," from the line.
Thanks!!
#391
Posted 09 February 2011 - 01:21 PM
westernunity, on 05 February 2011 - 03:48 PM, said:
It's fully operational now!!
#393
Posted 09 February 2011 - 01:53 PM
B!!!, on 09 February 2011 - 01:28 PM, said:
I got this one figured out. MATC is apparently another add-on for Terms and Conditions. So if you don't already have this add-on, you will get errors. If you don't want to install this, simply remove (or comment out) the lines in your mobile_create_account.php file at around line 48 that look like this:
//----- BEGINNING OF ADDITION: MATC -----//
if (tep_db_prepare_input($HTTP_POST_VARS['TermsAgree']) != 'true' and MATC_AT_REGISTER != 'false') {
$error = true;
$messageStack->add('create_account', MATC_ERROR);
}
//----- END OF ADDITION: MATC -----//
...and also at the bottom (around line 363) that look like this:
<h1>Conditions générales de vente</h1>
<label for="cgv" class="float"><?php echo 'CGV'; ?> *</label>
<?php
//----- BEGINNING OF ADDITION: MATC -----//
if(MATC_AT_REGISTER != 'false'){
require(DIR_MOBILE_MODULES . 'matc.php');
}
//----- END OF ADDITION: MATC -----//
?>
Edited by B!!!, 09 February 2011 - 01:56 PM.
#394
Posted 09 February 2011 - 09:02 PM
echo '<div class="gras">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'],0, $order->products[$i]['qty']) . '' . '</div>' .
to
echo '<div class="gras">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . '' . '</div><br />' .
Again, I got rid of the "0," so that actual prices display. I also added a "<br />" code in there to force line breaks between multiple products so things line up correctly when there are product options.
#395
Posted 09 February 2011 - 09:34 PM
(and by the way, looked through most of these 20 pages for bug fixes, so my apologies if these have been previously posted)
Clicking the Confirm Order button confirms your order, but puts you back on the non-mobile site.
Fix:
Add this line to the mobile/includes/configure.php file.
define('FILENAME_MOBILE_CHECKOUT_PROCESS', 'mobile_checkout_process.php');
In mobile_checkout_confirmation.php, change the line on about 86 from:
$form_action_url = tep_mobile_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');
to this:
$form_action_url = tep_mobile_link(FILENAME_MOBILE_CHECKOUT_PROCESS, '', 'SSL');
#396
Posted 09 February 2011 - 11:28 PM
#397
Posted 10 February 2011 - 02:16 AM
http://www.lemon-en-...obile_index.php does not allow create account because MACT error. install or comment that addon.
#398
Posted 21 February 2011 - 08:30 AM
I mobile_product_info.php from line 130
<?php
$path = tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params());
?>
<?php echo tep_mobile_selection(tep_mobile_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params(array('module'))), array(BOX_HEADING_REVIEWS)); ?>
I tried adding in config.php a new define for mobile_product_reviews.php and changed $path = tep_href_link to $path = tep_mobile_link but no change
Please help with this code
#399
Posted 25 February 2011 - 05:23 PM
B!!!, on 09 February 2011 - 01:53 PM, said:
//----- BEGINNING OF ADDITION: MATC -----//
if (tep_db_prepare_input($HTTP_POST_VARS['TermsAgree']) != 'true' and MATC_AT_REGISTER != 'false') {
$error = true;
$messageStack->add('create_account', MATC_ERROR);
}
//----- END OF ADDITION: MATC -----//
...and also at the bottom (around line 363) that look like this:
<h1>Conditions générales de vente</h1>
<label for="cgv" class="float"><?php echo 'CGV'; ?> *</label>
<?php
//----- BEGINNING OF ADDITION: MATC -----//
if(MATC_AT_REGISTER != 'false'){
require(DIR_MOBILE_MODULES . 'matc.php');
}
//----- END OF ADDITION: MATC -----//
?>Remove it and it's working! Thanks.
Edited by westernunity, 25 February 2011 - 05:32 PM.
#400
Posted 25 February 2011 - 05:51 PM
axioma, on 10 February 2011 - 02:16 AM, said:
http://www.lemon-en-...obile_index.php does not allow create account because MACT error. install or comment that addon.
Thanks for all your help!
Testing is better on: http://www.opera.com/mobile/demo/









