View Single Post
  #2  
Old 04-23-2011, 07:58 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 761
 

Default Re: Adding Login Popup to Descriptions

you could insert a link in the product description with URL "http://<your_domain>/login.php" and embed this in the text you want: e.g. if you use the plain text editor in your product description, the inserted code could be:
Code:
<a href="http://<your_domain>/login.php">Login to view Special Dealer Pricing</a>
where you replace "<your_domain>" with your domain. If x-cart is installed under a directory then you use:
Code:
<a href="http://<your_domain>/xcart_root_dir/login.php">Login to view Special Dealer Pricing</a>
where "xcart_root_dir" is the name of the directory your x-cart is installed under.
__________________
Vasilis Vrontisis
X-Cart Development, Maintenance & Customization
https://[URL="http://www.craftforweb.com"]craftforweb.com[/url]
vasilis@craftforweb.com
Reply With Quote