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

#401   westernunity

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

Posted 25 February 2011 - 05:58 PM

View PostPeper, on 21 February 2011 - 08:30 AM, said:

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

Change it to:

Quote

<?php
                                $path = tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params());
?>
                                        <?php echo tep_mobile_selection(tep_mobile_link(FILENAME_MOBILE_PRODUCT_REVIEWS, tep_get_all_get_params(array('module'))), array(BOX_HEADING_REVIEWS)); ?>


#402   westernunity

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

Posted 25 February 2011 - 06:05 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.

Now it does ;-)
This is a better Simulator for smartphones: http://www.opera.com/mobile/demo/

#403   Peper

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

Posted 25 February 2011 - 07:32 PM

Thanks for the code change above, I need help with yet another
Also need to add missing
define('FILENAME_PRODUCT_REVIEWS_WRITE', 'mobile_product_reviews_write.php');
to mobile/includes/config.php

Another one from mobile_products_reviews_write.php - user is directed to main site when adding a review and click the continue button

I suppose it would be the following code
<?php echo tep_draw_form('product_reviews_write', tep_mobile_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'action=process&products_id=' . $HTTP_GET_VARS['products_id']), 'post', 'onsubmit="return checkForm();"'); ?>
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.

#404   westernunity

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

Posted 26 February 2011 - 12:03 PM

View PostPeper, on 25 February 2011 - 07:32 PM, said:

Thanks for the code change above, I need help with yet another
Also need to add missing
define('FILENAME_PRODUCT_REVIEWS_WRITE', 'mobile_product_reviews_write.php');
to mobile/includes/config.php

Another one from mobile_products_reviews_write.php - user is directed to main site when adding a review and click the continue button

I suppose it would be the following code
<?php echo tep_draw_form('product_reviews_write', tep_mobile_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'action=process&products_id=' . $HTTP_GET_VARS['products_id']), 'post', 'onsubmit="return checkForm();"'); ?>

I have copied this in my includes/filenames.php:

Quote


//MOBILE
define('FILENAME_MOBILE_INFO', 'mobile-info.php');
define('FILENAME_MOBILE_INDEX', 'mobile-index.php');
define('FILENAME_MOBILE_CART', 'mobile-cart.php');
define('FILENAME_MOBILE_HISTORY', 'mobile-history.php');
define('FILENAME_MOBILE_SHIPPING', 'mobile-shipping.php');
define('FILENAME_MOBILE_PAYMENT', 'mobile-payment.php');
define('FILENAME_MOBILE_PROCESS', 'mobile-process.php');
define('FILENAME_MOBILE_SHIPPING_ADDRESS', 'mobile-shipping-address.php');
define('FILENAME_MOBILE_PAYMENT_ADDRESS', 'mobile-payment-address.php');
define('FILENAME_MOBILE_CONFIRMATION', 'mobile-confirmation.php');
define('FILENAME_MOBILE_SUCCESS', 'mobile-success.php');
define('FILENAME_MOBILE_COUPON', 'mobile-coupon.php');
define('FILENAME_MOBILE_LOGIN', 'mobile-login.php');
define('FILENAME_MOBILE_LOGOFF', 'mobile-logoff.php');
define('FILENAME_MOBILE_PASSWORD', 'mobile-password.php');
define('FILENAME_MOBILE_CREATE_ACCOUNT', 'mobile-create-account.php');
define('FILENAME_MOBILE_REVIEWS_INFO', 'mobile-reviews-info.php');
define('FILENAME_MOBILE_LISTING', 'mobile-listing.php');
define('FILENAME_MOBILE_SEARCH_RESULT', 'mobile-search-result.php');
define('FILENAME_MOBILE_PRODUCT_REVIEWS_WRITE', 'mobile_product_reviews_write.php');


Also working now: http://www.demooisteringen.nl/mobile_index.php

Edited by westernunity, 26 February 2011 - 12:12 PM.


#405   westernunity

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

Posted 26 February 2011 - 12:36 PM

View Postevaland, on 07 February 2011 - 02:31 PM, said:

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

Yes it is.

#406   PiLLaO

PiLLaO
  • Members
  • 112 posts
  • Real Name:Gustavo

Posted 28 February 2011 - 07:31 PM

Hello,

With the last version don't show subcategories, anybody knows how show it?

Regards!!

Sorry for my poor english.

#407   omihack

omihack
  • Members
  • 14 posts
  • Real Name:Omar Arvizu

Posted 06 March 2011 - 03:45 AM

Hello! Firstable, I wanna to say thanks for this contribution Awesome!! :)

Now, looking for some help  :'(  with my instalation. I got this error when enter to a subcategory or click on about and some other links

Warning: require(includes/languages/espanol/mobile_index.php) [function.require]: failed to open stream: No such file or directory in /home/tuhostmx/public_html/heaven/mobile_about.php on line 3

Fatal error: require() [function.require]: Failed opening required 'includes/languages/espanol/mobile_index.php' (include_path='.:/usr/local/php52/pear') in /home/tuhostmx/public_html/heaven/mobile_about.php on line 3


or

Warning: require(includes/languages/espanol/mobile_index.php) [function.require]: failed to open stream: No such file or directory in /home/tuhostmx/public_html/heaven/mobile_products.php on line 30

Fatal error: require() [function.require]: Failed opening required 'includes/languages/espanol/mobile_index.php' (include_path='.:/usr/local/php52/pear') in /home/tuhostmx/public_html/heaven/mobile_products.php on line 30


other thing is, when I open the mobile_index.php in the normal pc resolution all the words are in spanish but in my android and one iphone that i have for testing purposes (my brother´s one) everything appears in english with no option to change the language.

this is what Im talking about mobile site

Thank you for any advice you can give me..

regards

#408   juanmasi1

juanmasi1
  • Members
  • 14 posts
  • Real Name:Ariel

Posted 11 March 2011 - 02:11 PM

View Postomihack, on 06 March 2011 - 03:45 AM, said:

Hello! Firstable, I wanna to say thanks for this contribution Awesome!! :)

Now, looking for some help  :'(  with my instalation. I got this error when enter to a subcategory or click on about and some other links

Warning: require(includes/languages/espanol/mobile_index.php) [function.require]: failed to open stream: No such file or directory in /home/tuhostmx/public_html/heaven/mobile_about.php on line 3

Fatal error: require() [function.require]: Failed opening required 'includes/languages/espanol/mobile_index.php' (include_path='.:/usr/local/php52/pear') in /home/tuhostmx/public_html/heaven/mobile_about.php on line 3


or

Warning: require(includes/languages/espanol/mobile_index.php) [function.require]: failed to open stream: No such file or directory in /home/tuhostmx/public_html/heaven/mobile_products.php on line 30

Fatal error: require() [function.require]: Failed opening required 'includes/languages/espanol/mobile_index.php' (include_path='.:/usr/local/php52/pear') in /home/tuhostmx/public_html/heaven/mobile_products.php on line 30


other thing is, when I open the mobile_index.php in the normal pc resolution all the words are in spanish but in my android and one iphone that i have for testing purposes (my brother´s one) everything appears in english with no option to change the language.

this is what Im talking about mobile site

Thank you for any advice you can give me..

regards

omihack, you have found the solution to your problem? because I have exactly the same problem, use exactly the same version Can you help me? please

#409   westernunity

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

Posted 13 March 2011 - 07:56 PM

View Postjuanmasi1, on 11 March 2011 - 02:11 PM, said:

omihack, you have found the solution to your problem? because I have exactly the same problem, use exactly the same version Can you help me? please

duplicate:

languages/espanol/index.php
languages/espanol/product_info.php
languages/espanol/shopping_cart.php

to:

languages/espanol/mobile_index.php
languages/espanol/mobile_product_info.php
languages/espanol/mobile_shopping_cart.php

#410   westernunity

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

Posted 13 March 2011 - 07:58 PM

View PostPiLLaO, on 28 February 2011 - 07:31 PM, said:

Hello,

With the last version don't show subcategories, anybody knows how show it?

Regards!!

Sorry for my poor english.

What is the URL of your mobile site?

#411   omihack

omihack
  • Members
  • 14 posts
  • Real Name:Omar Arvizu

Posted 14 March 2011 - 04:37 AM

Im really sorry but I cannot understand what should I do, duplicate de files
languages/espanol/index.php
languages/espanol/product_info.php
languages/espanol/shopping_cart.php

and then rename them to

languages/espanol/mobile_index.php
languages/espanol/mobile_product_info.php
languages/espanol/mobile_shopping_cart.php


??

or copying the code to the files?  Im sorry,please could you give us a explanation? Thank you in advance for your help and time

View Postwesternunity, on 13 March 2011 - 07:56 PM, said:

duplicate:

languages/espanol/index.php
languages/espanol/product_info.php
languages/espanol/shopping_cart.php

to:

languages/espanol/mobile_index.php
languages/espanol/mobile_product_info.php
languages/espanol/mobile_shopping_cart.php


#412   juanmasi1

juanmasi1
  • Members
  • 14 posts
  • Real Name:Ariel

Posted 16 March 2011 - 12:42 PM

Hi thanks yours all to respond and by theirs concern, but this files:

languages/espanol/index.php
languages/espanol/product_info.php
languages/espanol/shopping_cart.php

not exist, I have just a single file in the directory languages:

"espanol.php" or "english.php" or others languages

I dont have this files because, I dont have the directory: "espanol", but if you know any version of IOSC3 whith directory espanol, please link me.

It´s my page link: http://www.tenispadel.com.ar/tienda/osc/mobile_products.php?cPath=32

Thanks

#413   PiLLaO

PiLLaO
  • Members
  • 112 posts
  • Real Name:Gustavo

Posted 18 March 2011 - 06:25 PM

Which of these versions is recommended?

http://addons.oscommerce.com/info/7636

http://addons.oscommerce.com/info/6529

http://addons.oscommerce.com/info/7836

Regards!!

#414   birdrockdesigns

birdrockdesigns
  • Members
  • 77 posts
  • Real Name:Dave

Posted 22 March 2011 - 07:00 PM

http://addons.oscommerce.com/info/7836

I think this is the latest. It's an awesome contribution. Works great for me!

#415   wpi

wpi
  • Members
  • 1 posts
  • Real Name:Myron Blair

Posted 24 March 2011 - 08:58 PM

Getting BOX_HEADING_LANGUAGES showing up on the opening page and all the files are uploaded.
http://www.weatherfordpi.com/store/mobile_index.php

#416   RCSails

RCSails
  • Members
  • 15 posts
  • Real Name:Roland

Posted 02 April 2011 - 08:07 AM

I'm trying to use iQsc 3.0 together with Multizone-Multitable Contribution MZMT - totally distorted screen on checkout_shipping. Every shipping option is there but unradable stacked one on another. Anybody have any idea how to get the screen in checkout shipping lined up?

Cheers
Roland

#417   B!!!

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

Posted 04 April 2011 - 09:41 PM

View PostRCSails, on 02 April 2011 - 08:07 AM, said:

I'm trying to use iQsc 3.0 together with Multizone-Multitable Contribution MZMT - totally distorted screen on checkout_shipping. Every shipping option is there but unradable stacked one on another. Anybody have any idea how to get the screen in checkout shipping lined up?

Cheers
Roland

I don't know about the Multizone-Multitable contribution, but following the instructions below should fix the mobile_checkout_shipping.php file so that it looks right if you have more than two shipping options available for customers.

Find at about line 178:
<div id="module">
<?php echo $quotes[$i]['module']; ?></b>&nbsp;<?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?>

Add <br /> on line after so it looks like this:
<div id="module">
<?php echo $quotes[$i]['module']; ?></b>&nbsp;<?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?>
<br />

At about line 202, find:
<?php echo $quotes[$i]['methods'][$j]['title']; ?>
</div>

Remove (or comment out) </div>

At about line 212, find:
<?php
			$radio_buttons++;
		  }
		}
	  }
	}
?>

Change so that it looks like this:
<?php
			$radio_buttons++; ?> <br /> <?php  
		  }?> </div> <?php   
		}
	  }
	}
?>

That last one looks a little funny, but I didn't use proper formatting to keep things simple and not change the look of the original code too much.

#418   RCSails

RCSails
  • Members
  • 15 posts
  • Real Name:Roland

Posted 09 April 2011 - 08:07 PM

View PostB!!!, on 04 April 2011 - 09:41 PM, said:

I don't know about the Multizone-Multitable contribution, but following the instructions below should fix the mobile_checkout_shipping.php file so that it looks right if you have more than two shipping options available for customers.

Find at about line 178:
<div id="module">
<?php echo $quotes[$i]['module']; ?></b>&nbsp;<?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?>

Add <br /> on line after so it looks like this:
<div id="module">
<?php echo $quotes[$i]['module']; ?></b>&nbsp;<?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?>
<br />

At about line 202, find:
<?php echo $quotes[$i]['methods'][$j]['title']; ?>
</div>

Remove (or comment out) </div>

At about line 212, find:
<?php
			$radio_buttons++;
		  }
		}
	  }
	}
?>

Change so that it looks like this:
<?php
			$radio_buttons++; ?> <br /> <?php  
		  }?> </div> <?php   
		}
	  }
	}
?>

That last one looks a little funny, but I didn't use proper formatting to keep things simple and not change the look of the original code too much.


Thanks, that works fine!

#419   JaumeUbach

JaumeUbach
  • Members
  • 5 posts

Posted 10 April 2011 - 01:37 AM

Well... i read all post (may i found for 4 hours) and i don,t get de solution.
First, thank for this mod, is really nice, and neely work for me.

I try with latest version http://addons.oscommerce.com/info/7836 on 2RC2a

The problem is with Ultimate Url,s, sure, because if url is dissabled all work right.  But is url,s is working, then.....

The redirection work right, i can see the mobile page, and i can move for categories right, but,

1.- When i try to go in product_info, i go to the pc screen (not in mobile screen).
2.- In the categories page:  If i click on add to cart in a product wiht out "special price" work right, but if a product have a "special price" don,t work.
3.- Also, if i do click on buy now in a product with atributes, go to pc screen. I think this is because anyway must go to product info for choice atribute. (if don,t have atributes, work right)

Well... Thats is all!!

If some one can say something about, thanks...
If not... Thanks anyway.

:thumbsup:

See you.

EDITION:

Uuuups... the page is http://www.divingmania.es/tienda

Edited by JaumeUbach, 10 April 2011 - 01:39 AM.


#420   dicko_md

dicko_md
  • Members
  • 36 posts
  • Real Name:Martyn

Posted 23 May 2011 - 11:40 AM

Great contribution. All works great apart from the fact that I get a funny A before the £ so it looks like this A£

On my main site it is all OK and just shows the £

Is there a fix for this on the mobile version  ?

Thanks

Martyn