Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Hyperlink in Detailed Description

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-15-2009, 10:53 AM
 
AMMoyer AMMoyer is offline
 

Senior Member
  
Join Date: Nov 2008
Posts: 150
 

Default Hyperlink in Detailed Description

I am trying to add a hyperlink in the detailed description to another product page. I don't want to use the upselling links provided with xcart, just a quick little hyperlink to get you to another product.

Here is what I have in my "Detailed Description" of an example product.
Code:
<p>Adjustment range of ╠2-1/4╟</p> <p>2 washers per kit</p> <p>Order 1 kit per wheel</p> <p>For complete front end kit see <a href=''http://www.ingallseng.com/product.php?productid=16436&cat=0&page=1''>PN 87310</a> </p>

But when you are on that product page, the link just links to the page you are currently on. So it's like you've gone nowhere. What am I missing? Thanks.
__________________
Adam
X-Cart Gold 4.4.5 - Live
X-Cart Gold 4.1.11 - Retired
X-Payments 1.0.4
CDSEO Pro
EWD Hosting
Reply With Quote
  #2  
Old 04-15-2009, 12:24 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Hyperlink in Detailed Description

YOur code is incorrect, you need to use " not ' ' around the html. Also, don't use the domain in there, that will cause https issues. Just use product.php?productid=.....etc. So:

<a href="product.php?productid=16436">

Really need to get yourself an SEO url mod too, don't want to use the php links for SEO reasons.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-03-2009, 11:07 PM
 
lash lash is offline
 

Senior Member
  
Join Date: Oct 2006
Posts: 138
 

Default Re: Hyperlink in Detailed Description

What if I use a rewrite, like the CDSEO, can you still use the
<a href="product.php?productid=16436">

Cause I am having no luck with links for my manufacturers unless I use the clean urls with my domain in it.
__________________
4.1.9
www.lash.se
Reply With Quote
  #4  
Old 04-09-2010, 04:28 PM
 
Bearsnum34 Bearsnum34 is offline
 

Senior Member
  
Join Date: Jan 2010
Posts: 134
 

Default Re: Hyperlink in Detailed Description

Can someone please explain how this works with the CDSEO?

I would like to add a link in the description to cross sell products and would rather not use the upsell. Reason being IMHO is because if the link is in the description a customer would be more apt to click the link then scroll down to the related products.

Does this make sense?

Many Thanks!


Quote:
Originally Posted by balinor
YOur code is incorrect, you need to use " not ' ' around the html. Also, don't use the domain in there, that will cause https issues. Just use product.php?productid=.....etc. So:

<a href="product.php?productid=16436">

Really need to get yourself an SEO url mod too, don't want to use the php links for SEO reasons.
__________________
4.3.1
x-configurator
x-specialoffers
Reply With Quote
  #5  
Old 04-10-2010, 04:03 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Hyperlink in Detailed Description

Just put the link in the description - use the CDSEO or clean url version, not the php version.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 04-13-2010, 05:22 PM
 
Bearsnum34 Bearsnum34 is offline
 

Senior Member
  
Join Date: Jan 2010
Posts: 134
 

Default Re: Hyperlink in Detailed Description

Hum....do you mean the url link from CDSEO <a herf ....and so on?

Thanks so much!

Quote:
Originally Posted by balinor
Just put the link in the description - use the CDSEO or clean url version, not the php version.
__________________
4.3.1
x-configurator
x-specialoffers
Reply With Quote
  #7  
Old 04-14-2010, 04:36 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Hyperlink in Detailed Description

Browse to the page you want to link to. Copy the url.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 04-21-2010, 07:49 PM
 
Bearsnum34 Bearsnum34 is offline
 

Senior Member
  
Join Date: Jan 2010
Posts: 134
 

Default Re: Hyperlink in Detailed Description

Okay I am confused, before you said not to use the regular url http://soapersupplies.net/store/aloe-vera-gel/ but to use the CDSEO Pro link. Normally I would do this Aloe Vera Gel in the description, but that has the company name and the product name not the CDSEO Pro url.

I am sorry to be a real PITA, but I just don't understand.


Quote:
Originally Posted by balinor
Browse to the page you want to link to. Copy the url.
__________________
4.3.1
x-configurator
x-specialoffers
Reply With Quote
  #9  
Old 04-22-2010, 04:27 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Hyperlink in Detailed Description

<a href="/aloe-vera-gel/">link text</a>

Get it?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #10  
Old 04-29-2010, 05:23 PM
 
Bearsnum34 Bearsnum34 is offline
 

Senior Member
  
Join Date: Jan 2010
Posts: 134
 

Default Re: Hyperlink in Detailed Description

I thought I got it here is what I put and it doesn't work, it says page not found.

Try using it in our <a href="/melt-and-pour-soap-base/">Melt and Pour Soap Bases</a>

Also should I be putting the Clean URL or the CDSEO link, I have tried both and they don't work?

Quote:
Originally Posted by balinor
<a href="/aloe-vera-gel/">link text</a>

Get it?
__________________
4.3.1
x-configurator
x-specialoffers
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:09 AM.

   

 
X-Cart forums © 2001-2020