Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A TEXT LINK IN COPY


smart

Recommended Posts

Posted

I have text after the login e.g.

 

Welcome back Name! Would you like to see which new products are available to purchase?

 

Then more text - saying Purchase from us XXX - Link To and Link To

 

these link go to a Catalogue link.

 

But when they go I loose the session.

 

And index.php?cPath=21&osCsid

 

The client has to log in again

 

Can this be done?

 

Here is where I need the link.

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?<BR> Purchase from Us - <a href="index.php?cPath=21&osCsid"><u>Link One</u></a> range and from the <a href="index.php?cPath=22&osCsid"><u>Link Two</u></a> range .</a>');

?

 

Thanks

Posted
I have text after the login e.g.

 

Welcome back Name! Would you like to see which new products are available to purchase?

 

Then more text - saying Purchase from us XXX - Link To and Link To

 

these link go to a Catalogue link.

 

But when they go I loose the session.

 

And index.php?cPath=21&osCsid

 

The client has to log in again

 

Can this be done?

 

Here is where I need the link.

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?<BR> Purchase from Us - <a href="index.php?cPath=21&osCsid"><u>Link One</u></a> range and from the <a href="index.php?cPath=22&osCsid"><u>Link Two</u></a> range .</a>');

 

 

Thanks

 

 

use the normal function tep_href_link()

to make links and the session will remain.

Treasurer MFC

Posted
SO HOW IS THIS DONE?

 

THANKS

 

 

there are numerous examples of this in the code :

 

 

<?php

echo '<a href="' . tep_href_link(FILENAME_PRICE_LIST) . '" class="menuBoxContentLink">' . BOX_INFORMATION_PRICE_LIST . ' </a>' ;

?>

Treasurer MFC

Posted

Thanks But

 

will not work in these Code

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?<BR> Purchase from Us - <a href="index.php?cPath=21&osCsid"><u>Link One</u></a> range and from the <a href="index.php?cPath=22&osCsid"><u>Link Two</u></a> range .</a>');

 

were would I put it?

 

<?php

echo '<a href="' . tep_href_link(FILENAME_PRICE_LIST) . '" class="menuBoxContentLink">' . BOX_INFORMATION_PRICE_LIST . ' </a>' ;

?>

 

Thanks

Archived

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

×
×
  • Create New...