Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add HTML link in product description


Guest

Recommended Posts

Posted

Can anybody help me ?.

 

I can add the contents of a html page into the product description field and it then displays the page within the product page, but i have quite a few product html pages.

 

Is there a way to just include a link to the html file ?.

 

Any help would be greatfully appreciated.

 

Miker...

Posted

Miker;

 

If you're talking about the individual item pages that are created for each item when you create them in admin->catalog->categories/products, there is a field that says

 

Products URL:

(without http://)

 

It shows at the bottom of the item description in product_info.php and opens a new window to whatever URL you entered when creating the product, but you could easily move it to a spot higher in the page.

 

Alternatively, you could use a <a href="blah" target="_blank">LINK</a> and place it anywhere you want to within the product description html.

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Posted

Many thanks for the response.

 

I want to remove the URL link to manufacturers website, as i have a spec. file for every product stored.

 

Can i have the description html file open up within the product page, just like if i was to populate the description field with text.

 

Sorry for being a nuisance.

 

Miker....

Posted

I'll have to play with it (might be a few hours), but I would think that there's a way to put an include into the product description field to achieve what you're after.

 

I'll let you know if I come up with anything

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Posted

what if you just removed the html from the product files? so that you are left with just the text. (I am guessing you are using an include in the product description to get the files loaded in there) but I guess if you already have lots of files for all your products, this would be a large hassel.

Posted

Miker;

 

Mattice had suggested that it might be accomplished with the php eval() function:

http://www.php.net/eval

 

I've tried, but I'm afraid this is beyond my meager capabilities, as I can't get any php that I put into the Products Description field to show up in the finished product

 

Sorry :(

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Posted

I would also be interested to see if this can be done. Ive been trying myself but with no success.

Archived

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

×
×
  • Create New...