Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

linking to outside of osc simple question lol


hungryfrank

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...