Page 5 of 5 FirstFirst ... 345
Results 41 to 50 of 50
  1. #41
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,966
    Plugin Contributions
    25

    Default Re: Mobile template

    Did you actually replace
    @media handheld {
    with
    @media all and (max-width: 320px) {

    This would not change the display width of your site, it would just make it apply to all small windows.

  2. #42
    Join Date
    Nov 2009
    Location
    Sydney Australia
    Posts
    64
    Plugin Contributions
    0

    Default Re: Mobile template CSS

    I'm having the same problem. Interestingly, some elements scale, and others do not. For example, I use an image slider for my header. The images crop (but don't scale) to what appears to be an appropriate size, yet the directional graphical arrows to move to next/previous image, remain in an unmodified state. Other product images remain in large format size. I'm pretty clued in, but I'm not sure where to start with this one . . .

    I am desperate to get a solution to this - here is my rant for those that want to listen:

    I think a lot of people don't realise how important this issue is. One year ago, mobile traffic to our site amounted to less than 1.5 percent of our visitors. Over the last six months it accounted for 8.5 percent of traffic, but over the last month, this has grown to 12%. Because our site is not optimised for mobile, we have more than twice the bounce rate, AND most importantly, our conversion rate to buying customer is 40% of that for our not mobile visitors.

    These lost opportunities, quite conservatively, will "cost" our small business more than $7200 this year, if the visitors from mobiles remains constant - which obviously nobody imagines will be the case.

    When mobile visitors account for 20% of our traffic (which again I believe would be a very conservative estimate) at a constant sales volume, I figure it will cost us just over $12000 per year.

    I think there are some massive opportunities for someone to monetise a workable mobile ZenCart platform. I urge anyone and everyone to take this seriously. If we come up with a shared freebie solution that is great, but we need to focus much more of our collective resources on this issue.

    Rant over . . . ;)
    Sean McElligott

  3. #43
    Join Date
    May 2006
    Location
    Charlottesville VA
    Posts
    1,191
    Plugin Contributions
    18

    Default Re: Mobile template CSS

    I got questions about what the buyer - phone owner wants to see so I started a new thread to gather opinions. Check it out and tell me what you think

    http://www.zen-cart.com/forum/showthread.php?p=1081559

  4. #44
    Join Date
    Jan 2008
    Posts
    67
    Plugin Contributions
    0

    Default Re: Mobile template

    I'm using this bit of code to check for mobile browsers using the browscap method, it works perfectly. What I'm having issues with is the redirect, I've done exactly what Calljj had written but when you click 'view full site' in the mobile template, it doesn't affect anything, it goes to the redirect.php file and then straight back to the mobile site. I can however redirect to a different site from the redirect page, but this defeats the point of just using a 'mobile template' and having to maintain two sites. Does anybody have any suggestions as to why this is not working properly and switching templates?



    Quote Originally Posted by Calljj View Post
    To answer my own question, if using the browscap method as Vittorio posted and you want iphone customers to see the full site, then this is how i did it.

    ...

    Hope this helps someone out with creating mobile based zen cart templates for iphones etc

  5. #45
    Join Date
    May 2006
    Location
    Charlottesville VA
    Posts
    1,191
    Plugin Contributions
    18

    Default Re: Mobile template

    Responsive css can work of course but when you are dealing with sites that have a lot of images, like ecommerce, sometimes, the best alternative is to display:none to a lot of elements. The biggest problem is that the element - image or what have you- still loads - slowing down page load on a phone with little bandwidth. So I consider that to be a less than optimum solution. I have made a zen cart mobile template using mobile jQuery where I actually removed elements and applied the jQuery css and styles. It works pretty good but does not work on all phones, only the more recent smart phones - and that's the biggest problem. There's no solution that works optimally for all mobile phones. I keep my fingers crossed that those with the old phones probably don't do much buying. It is true that the biggest buyers on mobile devices are iPhones and iPads. But personally, I don't want to look at a mobile version on my iPhone. I want to see the whole thing - that's why I have an iPhone and an iPad.

    So the redirects come into play - do you make the redirects automatic - as responsive design can easily do? I dang sure don't want that on my phone.

    Indications are that's exactly what the zen cart team is wrestling with now. It's all about decisions and what direction to go in, not technology because the technology is always going to moving faster than we are - and that's being proved over and over again with more new sized devices coming out so fast, no one can keep up with it - unless one makes that a full-time job.

  6. #46
    Join Date
    Nov 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: Mobile template

    Quick question I have made the .css but my tpl_header.php does not contain
    Code:
    /**
    * load printer-friendly stylesheets -- named like "print*.css", alphabetically
    */
    $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^print/', '.css');
    sort($directory_array);
    while(list ($key, $value) = each($directory_array)) {
    echo '<link rel="stylesheet" type="text/css" media="print" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
    }
    So im not sure were to place handheld css code.

  7. #47
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,966
    Plugin Contributions
    25

    Default Re: Mobile template

    It's not tpl_header that handles this, but /includes/templates/your_template/common/html_header.php.

  8. #48
    Join Date
    Jan 2012
    Posts
    43
    Plugin Contributions
    0

    Default Re: Mobile template

    anyone developed a responsive zen cart template?

  9. #49
    Join Date
    May 2011
    Location
    Sunny Rossendale (not)
    Posts
    556
    Plugin Contributions
    2

    Default Re: Mobile template

    Quote Originally Posted by boomup View Post
    anyone developed a responsive zen cart template?
    looks like zencart v1.6.0 release will http://www.zen-cart.com/showthread.p...47#post1161947
    What ever your doing remember to KISS ( Keep It Simple Stupid )

  10. #50
    Join Date
    Jan 2010
    Posts
    66
    Plugin Contributions
    3

    Default Re: Mobile template

    Quote Originally Posted by boomup View Post
    anyone developed a responsive zen cart template?
    Recently we have developed mobile version of Zen Cart.

    *** EDIT: MODERATOR NOTE: Please don't advertise your work on the Zen Cart forum.

    Quote Originally Posted by discoverytdi View Post
    looks like zencart v1.6.0 release will http://www.zen-cart.com/showthread.p...47#post1161947
    Oh, I'm glad to hear the news. Look forward to Zen Cart upgrade to 1.6.0.
    Last edited by swguy; 22 Nov 2012 at 04:18 PM.

 

 
Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. Thinking of building a free Mobile Template
    By KThompson in forum Addon Templates
    Replies: 12
    Last Post: 20 Mar 2012, 04:37 PM
  2. Has anyone here gone MOBILE yet?
    By kevinmc3 in forum General Questions
    Replies: 19
    Last Post: 14 Dec 2010, 06:27 PM
  3. template for iphone/mobile userd
    By ballyc27 in forum Addon Templates
    Replies: 3
    Last Post: 6 Oct 2009, 01:58 AM
  4. PayPal Mobile
    By Adds in forum General Questions
    Replies: 0
    Last Post: 20 Mar 2007, 12:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •