• Hi

    I’m not a coder, so I may not have the skills to implement this plug-in.

    I’d like to re-direct site visitors on mobile phones, who visit a certain pages, to be re-directed to a different page on the site.

    I have a shopping cart that works fine on desktops and tablets but on phones the basket/checkout gets messed up. The shopping system is supplied by a third party via javascript on a standard template page. You can see the problem here: https://www.mtfu.co.uk/2701-2/ (but you have to try on a phone to see the problem)

    The only solution I have found so far is a workaround using an iframe: https://www.mtfu.co.uk/iframe-test/

    This page isn’t all that great on desktops with the additional sroll bars.

    So I’d like to redirect visitors to the shopping cart to the iframe option. But I’m not sure how to do it. I’ve installed the plug-in and activated it.

    I have a plug-in that enables me to add code to the header, so I added <?php if(is_mobile()) { ‘https://www.mtfu.co.uk/iframe-test/&#8217;}; ?>

    But there was no change when I try viewing the page it was inserted into.

    Any beginners help gratefully received.

    https://www.ads-software.com/plugins/php-browser-detection/

  • The topic ‘Noob question… from a non-coder.’ is closed to new replies.