hungryfrank Posted December 6, 2016 Share Posted December 6, 2016 i am tired and probably can no longer think right. how do i link to outside of the shop. something like $url='www.mysite.com'; and then a link to $url you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 6, 2016 Share Posted December 6, 2016 It depends on how you are including the code - whether it is in a block of php or not. The link to an external page using no php would be <a href="www.site.com" target="_blank">Other site</a> Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
hungryfrank Posted December 6, 2016 Author Share Posted December 6, 2016 thanks jack but i don't want to put www.site.com directly in the link. i have it as MY_OUTSIDE_SITE in the configuration table and it seems that creates a problem. you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 6, 2016 Share Posted December 6, 2016 In that case you need to use php, like this: <a href="<?php echo $url; ?>" target="_blank">Other site</a> The above assumes the line is not within a block of php. If it is, it would be echo '<a href="' . $url . '" target="_blank">Other site</a>'; Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
hungryfrank Posted December 6, 2016 Author Share Posted December 6, 2016 yes that was my problem so i did it by putting evarything in php and it worked you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.