Mobile control, hide sections?

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeMobile control, hide sections?

This topic has been marked as resolved.

Hi,

Is it possible to hide sections when a visitor accesses the store from a mobile device?

For example, we have one foot with enough information to the desktop version, we would like to put a simple walk to the mobile version disabling some parts.

How do we do?

It is common practice that the version for mobiles is easier and with fewer items than the desktop version.

Best regards,

Toni

January 5, 2015 at 2:14 pm #36336
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
January 8, 2015 at 4:37 pm #36426

Hi,

I applied the style as I have indicated, but it had no effect


@media screen and (max-width: 767px) {
  #row_PYbYC {
    display: none !important;
  }
}

Any fix?

Best regards,

Toni

January 14, 2015 at 9:32 pm #36633

Hi,

Everything is solved by creating a subdomain to work with multistore. Taking advantage of the ability to work with multistores on pavilion.

http://www.maskezapatos.com (desktop version)
m.maskezapatos.com (mobile version)

Another solution would be to build with pavilion a configuration for mobile without having to create a subdomain to work with multistore. But this development would be for the team ThemeBurn.

Pavilion great!!!

Best regards

January 15, 2015 at 5:32 pm #36663

Hi,

Using a multi-store for a mobile only website is a really nice idea, that we could further improve :)

BR,
ThemeBurn team

January 19, 2015 at 5:14 pm #36820

Hi,

By now configure Mobile site fast copying the parameters of the main store and then removing or modifying the necessary rows for a simpler and less overloaded mobile navigation.

In your hands is it better!!! Sure he is made, it is a big issue, I have seen many and yours is the one with the greatest future.

BR.

Toni

January 19, 2015 at 7:52 pm #36842

Thanks for the motivational words :)

BR,
ThemeBurn team

January 23, 2015 at 10:38 am #37041

Hi,

I created a pavilion for mobile configuration. This design aims to a subdomain managed to multistore of Opencart.

The problem I have is that when redirected to the subdomain. Use your library MobileDetect and detect the user’s device, redirected to the subdomain and I make an infinite loop.

How do I redirect with pavilion to take me to the subdomain (multistore)?

Any suggestions?

Best regards,

Toni

March 3, 2015 at 3:05 pm #38919

Hi,

It is possible to indicate, when it detects that a mobile device, use of a design or other pavilion?

It is the suitable way to reduce the burden of the pages, making a lighter configuration while using the advantages of responsive design Pavilion Tracking Google robots without redirects.

Can be performed by inserting an on / off button Mobile Design. This button will instruct Pavilion that configuration is to be used for mobile devices. Or the option Store, insert a design option sets, called Mobile Design, which can not be activated or the administrator, as interest that setting is displayed when the user accesses with mobile devices.

After reading documentation regarding Google responsive design or different url, is the best option I can think of for a lighter design using Pavilion.

What do you think?

Have you got something in mind?

Best regards,

Toni

March 3, 2015 at 4:20 pm #38924

Hi,

The easiest thing to do would be the subdomain redirection. The other idea may be good but there is too much to be developed :)

For the redirection, you just need to create a cookie, whether the user has a mobile device or not, so you don’t get in an infinite loop.

I am sure you can find plenty of resource about how to create a PHP cookie, e.g. this one:

http://www.w3schools.com/php/func_http_setcookie.asp

BR,
ThemeBurn team

March 6, 2015 at 5:36 pm #39040

Hi,

Your cookie “is_touch” of the file “theme/pavilion/template/tb/header.tpl”, can you use to redirect to a mobile m.yourdomain.com subdomain?

How do should use it if so?

I want to integrate with pavilion as best as possible and once tested, share since surely will have users with the same problem.

BR,
Toni

March 9, 2015 at 3:37 pm #39087

Hi,

Solved with javascript!!!

I attached the extension (JS Redirection Mobile Site) in case anyone needs or wants to improve it.

BR,

Toni

March 9, 2015 at 6:56 pm #39098

Hi Toni,

Thanks for sharing this modification!

BR,
ThemeBurn team

March 16, 2015 at 11:05 am #39274
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.