Guest Posted March 5, 2003 Posted March 5, 2003 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...
mugitty Posted March 5, 2003 Posted March 5, 2003 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!
Guest Posted March 5, 2003 Posted March 5, 2003 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....
mugitty Posted March 5, 2003 Posted March 5, 2003 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!
Guest Posted March 5, 2003 Posted March 5, 2003 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.
mugitty Posted March 6, 2003 Posted March 6, 2003 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!
Guest Posted March 6, 2003 Posted March 6, 2003 I would also be interested to see if this can be done. Ive been trying myself but with no success.
mugitty Posted March 6, 2003 Posted March 6, 2003 Miker; Go to this thread for what is (I think) a solution to what you want to do: http://www.oscommerce.com/forums/viewtopic.php?t=36462 ... 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!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.