Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


bumbarash

Recommended Posts

In mobile_product _info If I remove the cache from the process and just use

include(DIR_MOBILE_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);

 

also purchased products works correctly. So its cache related..... might be just my site. I've had other cache issues.

ok

Link to comment
Share on other sites

Link to comment
Share on other sites

I have several youtube videos embedded in my information and product pages and came across this clean way to resize videos on the mobile side,

 

ADD to iphone.css

 

.video-container {
 position: relative;
 padding-bottom: 56.25%;
 padding-top: 30px;
 height: 0;
 overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}

 

then wherever you've embedded the iframe or object, surround with the div class like follows:

 

<div class="video-container">
<iframe width="560" height="420" src="http://www.youtube.com/.......</iframe>
</div>

 

works nice, and simple

-Dave

Link to comment
Share on other sites

I was hoping to get some help. My mobile site is coming up in google on desktop comuters. I have sorted this in webmasters tools however i was hoping to get some help with this problem. Is there any way to detect a desktop user and automatically redirect them to the desktop version of the site it they type into the adress bar a mobile site adress? many thanks

Link to comment
Share on other sites

I was hoping to get some help. My mobile site is coming up in google on desktop comuters. I have sorted this in webmasters tools however i was hoping to get some help with this problem. Is there any way to detect a desktop user and automatically redirect them to the desktop version of the site it they type into the adress bar a mobile site adress? many thanks

 

@@alexpacteau

 

Automatic redirect to the desktop site is not possible.

What you can do to get a cleaner index in google is to add the Header Tags Add-on and the specific support for mobile indexing included in the support package.

 

Header Tags SEO 3.2.9 by Jack mcs

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

 

Contribution support V. 1.8rev2 for iOSC 5.x

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

Header Tags SEOvers2rev2

 

regards

Rainer

Edited by raiwa
Link to comment
Share on other sites

Dear Raiwa,

 

I have installed your great contribution. Everything works fine except for the product_info page. When I click on a product in my mobile site, it goes to the Classic view of the product info page.

 

my site is at http://shashinki.com

 

Hope you can help, as I have troubleshoot it whole day and still can't solve the problem.

 

Thanks!

Best regards,

Koh Kho King

Link to comment
Share on other sites

Dear Raiwa,

 

I have installed your great contribution. Everything works fine except for the product_info page. When I click on a product in my mobile site, it goes to the Classic view of the product info page.

 

my site is at http://shashinki.com

 

Hope you can help, as I have troubleshoot it whole day and still can't solve the problem.

 

Thanks!

 

Hello@@khoking,

 

You need to add the support for SEO URLs to the mobile site.

It is included here:

 

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

 

regards

 

Rainer

Link to comment
Share on other sites

Hello@@khoking,

 

You need to add the support for SEO URLs to the mobile site.

It is included here:

 

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

 

regards

 

Rainer

 

OR if you do not need/want seo urls on the mobile side, ADD this to /mobile/includes/configure.php

 

define ('SEO_ENABLED', 'false');

Edited by Roaddoctor

-Dave

Link to comment
Share on other sites

OR if you do not need/want seo urls on the mobile side, ADD this to /mobile/includes/configure.php

 

define ('SEO_ENABLED', 'false');

 

Thanks! I chose this simple solution for the time-being!

Best regards,

Koh Kho King

Link to comment
Share on other sites

I have a question:

 

When using mobile phone to search something, and someone click on the google search result link and go to my product page. I noticed that the link is to the Classic site, not mobile site.

 

Is it possible to auto detect mobile phone and redirect the user to mobile site (product page) instead of Classic site?

 

My classic site is using SEO, while in mobile site I disabled SEO. (I am not sure if this is the reason why it does not redirect automatically)

Best regards,

Koh Kho King

Link to comment
Share on other sites

Hello@@khoking,

 

You need to add the support for SEO URLs to the mobile site.

It is included here:

 

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

 

regards

 

Rainer

 

Dear Rainer,

 

I have added SEO contribution mod to my iOSC now.

 

I can now browse the product page in mobile view, but the ADD TO CART button is not working. Clicking the add to cart button does not add the product to the shopping cart. What is the problem?

 

http://shashinki.com/shop/black-rapid-metro-sling-camera-strap-black-mp-14975.html

Best regards,

Koh Kho King

Link to comment
Share on other sites

Dear Rainer,

 

I have added SEO contribution mod to my iOSC now.

 

I can now browse the product page in mobile view, but the ADD TO CART button is not working. Clicking the add to cart button does not add the product to the shopping cart. What is the problem?

 

http://shashinki.com/shop/black-rapid-metro-sling-camera-strap-black-mp-14975.html

 

Hello@@khoking,

 

I checked your shop and found when I add first a product from the desktop side and the go back to the mobile side the add to cart button in the product page works.

So it seems there is a javascript or other additional code missing in the mobile page.

Try to compare the code in product_info.php and mobile_product_info.php and add the javascript for the added to cart pop up or other necessary code to mobile_product_info.php

 

regards

Rainer

Link to comment
Share on other sites

I have a question:

 

When using mobile phone to search something, and someone click on the google search result link and go to my product page. I noticed that the link is to the Classic site, not mobile site.

 

Is it possible to auto detect mobile phone and redirect the user to mobile site (product page) instead of Classic site?

 

My classic site is using SEO, while in mobile site I disabled SEO. (I am not sure if this is the reason why it does not redirect automatically)

 

@@khoking

 

Did you update the mobile device list like explained in step 7 of the install instr.?

 

This should work if you visit the shop from a mobile device, it will not redirect if you test on a desktop computer.

 

But it is possible to emulate a mobile device installing "User Agent Switcher" or a mobile emulator.

Edited by raiwa
Link to comment
Share on other sites

Is it possible to put New Products on the HOME page? I find the current HOME page too empty.

 

@@khoking

 

Yes, move from mobile_catalogue.php line 103:

 echo tep_mobile_selection(tep_mobile_link(FILENAME_PRODUCTS_NEW), array(tep_image(DIR_WS_HTTP_CATALOG . DIR_MOBILE_IMAGES . 'new.png'), TEXT_MOBILE_PRODUCTS_NEW)).'<div class="fleche"><img src="' . DIR_WS_HTTP_CATALOG . DIR_MOBILE_IMAGES . 'arrow_select.png" /></div>';

 

to mobile_index.php

Link to comment
Share on other sites

@@khoking

 

Yes, move from mobile_catalogue.php line 103:

echo tep_mobile_selection(tep_mobile_link(FILENAME_PRODUCTS_NEW), array(tep_image(DIR_WS_HTTP_CATALOG . DIR_MOBILE_IMAGES . 'new.png'), TEXT_MOBILE_PRODUCTS_NEW)).'<div class="fleche"><img src="' . DIR_WS_HTTP_CATALOG . DIR_MOBILE_IMAGES . 'arrow_select.png" /></div>';

 

to mobile_index.php

 

I think I understood this wrong.

If you wants to show the new products and not only the link to the new products page, you should use the code of mobile_products_new.php and modify the sql query like in includes/modules/new_products.php to show only a limited number of products.

Link to comment
Share on other sites

  • 2 weeks later...

HI raiwa,

 

Thnak you for a great contribution, I have a question:

 

\mobile\includes\Application_top.php has this line:

 

if (COMPATIBILITY_MODE)

{

require('includes/iosc_default_application_top.php');

}

 

I do not have iosc_default_application_top.php in the contribution.

Where should I get this file from? Do I need it?

 

I have a problem with items not showing in the card after customers add them.

 

thanks.

Link to comment
Share on other sites

@@moda,

 

Compatibility mode is a relict from older iOSC versions. It is not necessary and I'll clean up the code and config. entry in the next version.

 

For the products not adding to shopping cart:

- Can you please post your shops URL to check what happens.

- Which OSC and iOSC versions you are running?

- Does this happen with all products?

- If only with some products, can you please post the URL of an example product.

 

kind regards

Rainer (raiwa)

Link to comment
Share on other sites

Has anyone ported Additional Images Mod and/or MVS for this contribution?

Hello @@lyonsperf,

 

Support for More pics 6:

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

 

is included in the iOSC support package:

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

 

regards

Rainer (raiwa)

Link to comment
Share on other sites

@@raiwa

 

Hello Raiwa,

 

We just installed your great contribution everything seems to work well except that when you switch the language to french (fr), the page goes blank.

 

We have followed the modification for SEO URL5 but we are still having the same issue.

 

From this link http://www.mysite.com/mobile_languages.php

 

when you click the flaf for French or Francais, the page becomes blank

 

http://www.mysite.com/mobile_index.php?language=fr

 

Any ideas?

 

Thank you very much.

Link to comment
Share on other sites

@@raiwa

 

Hello Raiwa,

 

We just installed your great contribution everything seems to work well except that when you switch the language to french (fr), the page goes blank.

 

We have followed the modification for SEO URL5 but we are still having the same issue.

 

From this link http://www.mysite.com/mobile_languages.php

 

when you click the flaf for French or Francais, the page becomes blank

 

http://www.mysite.com/mobile_index.php?language=fr

 

Any ideas?

 

Thank you very much.

 

 

Hello @@TONYSHOES,

 

 

Please post the correct URL of your shop :)

 

Kind regards

Rainer

Link to comment
Share on other sites

is this compatible with 2.3.3?

 

what other options are there for mobile osc for 2.3.3?

thanks

 

Hello @@vampirehunter

 

You can download the version for OSC 2.3.3. here:

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

 

Note: I'm working on the new version iOSC 6.0 which should be released in the next 2-3 weeks. Maybe it would be a good idea to wait for the new version.

 

Other mobile solutions are commercial as far as I know.

Search in google for OSCommerce mobile

 

Kind regards

Rainer

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...