![]() |
Is it possible to Add links to an individual product page?
Is it possible to Add links to an individual product page?
For example, if I am selling a chair. On that chair page I would like to place links to a page that help cusomters polish their chair. And on my Table page, I would like to add a link on how to polish tables. - I dont want the table link to display on the chair page and vice-versa. Being that the prouct pages are generated on the fly via database - is this possible? Thanks for the help! |
Re: Is it possible to Add links to an individual product page?
Add the link to the product description :)
|
Re: Is it possible to Add links to an individual product page?
Yeah, I thought of that but...
have 100's of products that I want to add specific links to. I need an easier way to do it via DB or PHP combo. Any other methods? |
Re: Is it possible to Add links to an individual product page?
You could use {if} statements, but you'd still have to write them to tell the system which links to show on what pages.
|
Re: Is it possible to Add links to an individual product page?
What about using some sort of upselling module?
Or perhaps adapt featured products to be displayed on all product pages and stripping the line of code that is only needed to display a link. (Think the above is easier) |
Re: Is it possible to Add links to an individual product page?
Maybe this is easier:
Id like to have code on each page that can read the product name (title) and based on that show proper link(s) from a database. If it sees Chair in the title then it shows all chair links, etc. |
Re: Is it possible to Add links to an individual product page?
Being a newbie am not sure if the following makes sense, but why wouldn't the following work - add an extra field to products, then add code that makes use of the extra field wherever you want that link displayed?
|
Re: Is it possible to Add links to an individual product page?
Quote:
It wouldn't be any different than hard-coding a link. In other words, it would be hard to maintain if a product were to be disabled, removed, etc. The only dynamic part would be the extra field displaying its contents; the contents of which, would be static in this case. |
Re: Is it possible to Add links to an individual product page?
It would be easy to display a certain product through a link and even check for its existence with an IF/ELSE statement but then the problems arise again with maintenance - what happens if that product were to be disabled or he/she wanted to point to another product.
Then there would be lots of IF/ELSE statements being executed all the time for no reason. Hope that makes a little more sense. |
Re: Is it possible to Add links to an individual product page?
I don't get it. I create an extra field called URL_field, and another called LinkText_field. Now let's use designerweb's example (but assume for simplicity's sake that it's one link per product):
"For example, if I am selling a chair. On that chair page I would like to place a link to a page that help customers polish their chair". Okay, so for product chair URL_field contains the url to a page on how to polish a chair and LinkText_field contains "how to polish your chair". "And on my Table page, I would like to add a link on how to polish tables." Okay, so for product Table extra field URL_field contains the url to a page on polishing tables and LinkText_field contains "how to polish tables". Now for each product, there will be a place for such a link. If fields are empty, the code says do not display. If fields for product not empty, then the code displays <a href="URL_field">LinkText_field</a>. What does it matter if a product is discontinued, removed, or something else? This code will be in a product template page, and if the field values are empty, it will simply not display anything ? So what am I missing? As far as I understand these links will not be to other products? |
All times are GMT -8. The time now is 11:21 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.