Jump to content



Latest News: (loading..)

* * * * * 2 votes

[Contribution] iOSC - mobile version of OSC on your iPhone


  • Please log in to reply
846 replies to this topic

#381   lupole

lupole
  • Members
  • 83 posts
  • Real Name:Larry Lupole

Posted 08 December 2010 - 02:12 PM

I have this contribution all up and running. Even able to except payments from paypal. I have it operational with points and rewards, ccgv, held orders and more. At the current, I am working on Ultimate Seo Urls to be adapted to work with this contribution. I would greatly appreciate it if there is someone who would like to help with this. Here is a link to my mobile site: My Mobile

#382   SidneyBottoms

SidneyBottoms
  • Members
  • 5 posts
  • Real Name:Sidney Britt Bottoms

Posted 19 January 2011 - 06:59 AM

View Postlupole, on 08 December 2010 - 02:12 PM, said:

I have this contribution all up and running. Even able to except payments from paypal. I have it operational with points and rewards, ccgv, held orders and more. At the current, I am working on Ultimate Seo Urls to be adapted to work with this contribution. I would greatly appreciate it if there is someone who would like to help with this. Here is a link to my mobile site: My Mobile

lupole, you have made IOSC do some really cool stuff!  I'm still getting through some of the configuration issues myself.

#383   racefun

racefun
  • Members
  • 6 posts
  • Real Name:Keld
  • Gender:Male
  • Location:Denmark

Posted 03 February 2011 - 12:35 AM

Hi
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   Dennisra

Dennisra
  • Members
  • 515 posts
  • Real Name:Joseph D. Jefferson
  • Gender:Male

Posted 03 February 2011 - 03:25 AM

Nice work!!

View Postlupole, on 08 December 2010 - 02:12 PM, said:

I have this contribution all up and running. Even able to except payments from paypal. I have it operational with points and rewards, ccgv, held orders and more. At the current, I am working on Ultimate Seo Urls to be adapted to work with this contribution. I would greatly appreciate it if there is someone who would like to help with this. Here is a link to my mobile site: My Mobile


#385   lyonsperf

lyonsperf
  • Members
  • 305 posts
  • Real Name:Matt
  • Gender:Male
  • Location:CT

Posted 03 February 2011 - 08:48 PM

so does this work with osc 2.2rc2? where do the mobile files that are not listed in the mobile folder go? Do I need to modify the files to match my modded osc website files?
If the only tool you have is a hammer, all your problems look like nails

#386   westernunity

westernunity
  • Members
  • 11 posts
  • Real Name:Henk van Ede
  • Gender:Male

Posted 05 February 2011 - 03:48 PM

View Postlupole, on 08 December 2010 - 02:12 PM, said:

I have this contribution all up and running. Even able to except payments from paypal. I have it operational with points and rewards, ccgv, held orders and more. At the current, I am working on Ultimate Seo Urls to be adapted to work with this contribution. I would greatly appreciate it if there is someone who would like to help with this. Here is a link to my mobile site: My Mobile


It;s not working on my side: http://www.lemon-en-lime.nl/shop/mobile_index.php

#387   evaland

evaland
  • Members
  • 19 posts
  • Real Name:richard

Posted 07 February 2011 - 02:31 PM

Hi,
if somebody know,if the iosc suitable for ms2.2 or not

#388   B!!!

B!!!
  • Members
  • 36 posts
  • Real Name:Brad

Posted 08 February 2011 - 02:54 PM

View Postwesternunity, 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   Peper

Peper
  • Members
  • 354 posts
  • Real Name:Pierre
  • Gender:Male
  • Location:South Africa

Posted 09 February 2011 - 08:19 AM

Thanks B!, was looking long time for this fix

Also does web spiders automatically index these pages as mobile or do we have to tell them - e.g. google Webmaster Tools
Contributions successfully installed : Header tags SEO, Scrolling new products, Customer testimonials, Support tickets, Polls, Link exchange, SPPC, X-sell, Master products, Dhtml menu, Image cache, Slide show, Product videos, Product custom sort, Product notes, Discount coupons, Ask question(review style + admin), CP builder, Customers also purchased, price list, // SEO URLS 5, and forgot the others and then a real admin setup.

#390   westernunity

westernunity
  • Members
  • 11 posts
  • Real Name:Henk van Ede
  • Gender:Male

Posted 09 February 2011 - 01:20 PM

View PostB!!!, on 08 February 2011 - 02:54 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.


Thanks!!

#391   westernunity

westernunity
  • Members
  • 11 posts
  • Real Name:Henk van Ede
  • Gender:Male

Posted 09 February 2011 - 01:21 PM

View Postwesternunity, on 05 February 2011 - 03:48 PM, said:


It's fully operational now!!

#392   B!!!

B!!!
  • Members
  • 36 posts
  • Real Name:Brad

Posted 09 February 2011 - 01:28 PM

View Postwesternunity, on 09 February 2011 - 01:21 PM, said:

It's fully operational now!!

Have you tried creating an account using the mobile site?  I tried on yours and kept getting an "MATC_ERROR", whatever that is.  I also get the same thing on mine.

#393   B!!!

B!!!
  • Members
  • 36 posts
  • Real Name:Brad

Posted 09 February 2011 - 01:53 PM

View PostB!!!, on 09 February 2011 - 01:28 PM, said:

Have you tried creating an account using the mobile site?  I tried on yours and kept getting an "MATC_ERROR", whatever that is.  I also get the same thing on mine.

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   B!!!

B!!!
  • Members
  • 36 posts
  • Real Name:Brad

Posted 09 February 2011 - 09:02 PM

Found another bug.  On the Order Confirmation page, mobile_checkout_confirmation.php, change this line at about 183:

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   B!!!

B!!!
  • Members
  • 36 posts
  • Real Name:Brad

Posted 09 February 2011 - 09:34 PM

Have another...

  (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   axioma

axioma
  • Members
  • 168 posts
  • Real Name:yesid borislov

Posted 09 February 2011 - 11:28 PM

hello, does this work with paypal satandar?

#397   axioma

axioma
  • Members
  • 168 posts
  • Real Name:yesid borislov

Posted 10 February 2011 - 02:16 AM

test your site here   http://iphonetester.com/

http://www.lemon-en-...obile_index.php does not allow create account because MACT error. install or comment that addon.

#398   Peper

Peper
  • Members
  • 354 posts
  • Real Name:Pierre
  • Gender:Male
  • Location:South Africa

Posted 21 February 2011 - 08:30 AM

The following code also doesn't seem to fit in with the mobile version - redirect to full shop

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
Contributions successfully installed : Header tags SEO, Scrolling new products, Customer testimonials, Support tickets, Polls, Link exchange, SPPC, X-sell, Master products, Dhtml menu, Image cache, Slide show, Product videos, Product custom sort, Product notes, Discount coupons, Ask question(review style + admin), CP builder, Customers also purchased, price list, // SEO URLS 5, and forgot the others and then a real admin setup.

#399   westernunity

westernunity
  • Members
  • 11 posts
  • Real Name:Henk van Ede
  • Gender:Male

Posted 25 February 2011 - 05:23 PM

View PostB!!!, on 09 February 2011 - 01:53 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   -----//
?>



Remove it and it's working! Thanks.

Edited by westernunity, 25 February 2011 - 05:32 PM.


#400   westernunity

westernunity
  • Members
  • 11 posts
  • Real Name:Henk van Ede
  • Gender:Male

Posted 25 February 2011 - 05:51 PM

View Postaxioma, on 10 February 2011 - 02:16 AM, said:

test your site here   http://iphonetester.com/

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/