Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Mar 2006
    Location
    munich
    Posts
    34
    Plugin Contributions
    0

    Default How could I make single words in products-description linked?

    Hi,

    I am selling stock-photography on my site, and, as the description consits of keywords instead of long phrases, I have to extend the search-ability as much as possible.
    Example: There is a picture that shows an appletree, with red apples, standing alone on a wide meadow on a rainy day. So my keywords would be "Apple", "Tree", "Meadow", Rain", Weather", "Alone", Red". Up to now these keywords appear in one line on the Product_info_display in the row, where "officialy" the description woul be. That's fine for me, but i would like to have each of these Words linked as a searchterms, so that if I am clicking i.e. on the keyword "Apple" all pictures with this keyword will be shown in the search_result page.

    This is a very common technique with the big stock-agencies and, for the professional users (photo-editors etc) a very helpful an inspiring tool.

    So my question in one line:Can anyone give me an idea, on how to code this, "showing single words as (search-) links?

    Thanks in advance, I'd appreciate any hint!!!!
    jens

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How could I make single words in products-description linked?

    The search function by default looks at the product description and "single" terms when it searches. Try it out with a few test products and see if this is not what your are seeking

  3. #3
    Join Date
    Mar 2006
    Location
    munich
    Posts
    34
    Plugin Contributions
    0

    Default Re: How could I make single words in products-description linked?

    Hi kobra,

    thanx for the fast reply.
    Yes, I know about this, but what I am trying to do is to use the search-funktionality not over a searchbox but directly by clicking one keyword within the description in order to make it easier to customers to use the search (as I dont't want them to retype the searchterm in a searchbox).

    To me it should be a little piece of code, wich is probably integratet in the product_info_displa.php und should be something like "read each word in description and turn each word as into a single link, use this link as searchterm for search_php" ...

    unfortunately I am not that fit in php-coding to be able to translate the phrase above into php-code or making a function out of it. Cn you help me????

    Maybe it is helpfukl to see the testsite here: www.picts-online.de/index.php

    Tanks everybody,
    jens

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How could I make single words in products-description linked?

    Better explanation allowed me to see what you are after...

    I am sure that this can be done but I am not accomplished enough at php to assist.

    Hopefully, another might provide some insight but this might be more involved than one might think on first look.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

    Default Re: How could I make single words in products-description linked?

    jens - remember that the contents of the description can be HTML links. So you could say

    These little red shoes are a perfect match for <a href=some link>this little black dress</a>

    Hope this helps!
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Mar 2006
    Location
    munich
    Posts
    34
    Plugin Contributions
    0

    Default Re: How could I make single words in products-description linked?

    Thanks kobra and swguy,

    @swguy:
    Yes, that's true, and this is what it is supposed to do - but, as I explained before, I am importing the descriptions via EP (I have to, according t the big amounts of pictures ("products"), so these links should be generated dynamically while importing them from the db (as far as I think???), because handcoding would take too much time...

    Can you still please help me out of the fog????

    Thank you Guys,

    jens


    PS.: forgot one essential info: in the description there are no sentences, but just words, comma-separated.
    So Unfortunately no
    "little red shoes for the pretty black dress" (what a picture in my mind ;->)
    It's more unromantic like
    "red,shoes,pretty,black,dress"
    Last edited by jensderknipser; 24 Sep 2006 at 09:26 PM.

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

    Default Re: How could I make single words in products-description linked?

    If "red" always points to the same link, and "shoes" likewise, perhaps you could use my "adding boilerplate to text description" tip:

    http://www.thatsoftwareguy.com/zenca...scription.html

    In your case, the stringlist would be links.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #8
    Join Date
    Mar 2006
    Location
    munich
    Posts
    34
    Plugin Contributions
    0

    Default Re: How could I make single words in products-description linked?

    Hi Scott,

    thanks for this link, I am going to test it right tonight. Just one question: what do you mean with "boilerplate"???

    Ciao,
    jens

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

    Default Re: How could I make single words in products-description linked?

    Standardized language you want to repeat again and again. For instance, if you want
    your descriptions for certain types of products to include the phrase,

    "All our products include a 30 day satisfaction guarantee"

    then my tip is a shortcut for adding this "boilerplate."

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Mar 2006
    Location
    munich
    Posts
    34
    Plugin Contributions
    0

    Default Re: How could I make single words in products-description linked?

    Thank you, Scott. I'll never stop learning another language ;->

    Starting your suggestion tonight - I think, that might work, I keep you informed

    So far and ciao,
    jens

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v153 Could I delete an option value to which some products linked.
    By su35 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 Nov 2014, 02:14 PM
  2. v150 Can I make attributes linked products?
    By kezerb in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 19 Feb 2012, 06:42 PM
  3. Stock control of Linked Categories and Linked Products
    By limelites in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 7 Apr 2009, 09:45 AM
  4. How do I use Linked Products?
    By EDN-inc in forum General Questions
    Replies: 2
    Last Post: 10 Mar 2009, 06:28 PM
  5. how could I make my site like this ?
    By raikou in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Jun 2008, 10:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg