Jump to content



Latest News: (loading..)

* * * * * 2 votes

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


  • Please log in to reply
843 replies to this topic

#841   raiwa

raiwa
  • Community Sponsor
  • 181 posts
  • Real Name:Rainer Schmied
  • Gender:Male
  • Location:MatarĂ³, Barcelona, Spain

Posted 10 May 2013 - 07:46 AM

View Postkhoking, on 10 May 2013 - 12:14 AM, said:

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, 10 May 2013 - 07:54 AM.


#842   raiwa

raiwa
  • Community Sponsor
  • 181 posts
  • Real Name:Rainer Schmied
  • Gender:Male
  • Location:MatarĂ³, Barcelona, Spain

Posted 10 May 2013 - 07:49 AM

View Postkhoking, on 10 May 2013 - 03:59 AM, said:

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

#843   raiwa

raiwa
  • Community Sponsor
  • 181 posts
  • Real Name:Rainer Schmied
  • Gender:Male
  • Location:MatarĂ³, Barcelona, Spain

Posted 10 May 2013 - 08:40 AM

View Postraiwa, on 10 May 2013 - 07:49 AM, said:

@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.

#844   lyonsperf

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

Posted 18 May 2013 - 05:08 PM

Has anyone ported Additional Images Mod and/or MVS for this contribution?
If the only tool you have is a hammer, all your problems look like nails