![]() |
Show search keywords in description of product
I'm trying to figure out how to get the 'Search keywords' showing on the product page somewhere in the description.
Can somebody help me with this? Thanks in advance! |
Re: Show search keywords in description of product
Search keywords?
|
Re: Show search keywords in description of product
1 Attachment(s)
Yep, the ones in the admin part of your product (see attachment).
|
Re: Show search keywords in description of product
1 Attachment(s)
To get an idea like this attachment:
(unfortunately I only manage in Photoshop :) ) |
Re: Show search keywords in description of product
Ah sorry, forgot those appeared in 4.1....not familiar enough with them to help, sorry :(
|
Re: Show search keywords in description of product
Anybody? Please ... :)
|
Re: Show search keywords in description of product
Try adding {$product.keywords} into your product.tpl
|
Re: Show search keywords in description of product
Thanks! That works :)
|
Re: Show search keywords in description of product
|
Re: Show search keywords in description of product
I'm looking for exactly the same stuff.
Warwick, have you found the solution with keywords and linking them? |
Re: Show search keywords in description of product
Well I did but it only works when you have the smart search mod from alteredcart installed ... if you do I can quote the code needed.
p.s. the mod isn't needed to get this working but I haven't got the old code (anymore) ... |
Re: Show search keywords in description of product
Got this working on 4.3.1. I'm using my Search Keywords as "Tags" to encourage customers to browse more.
After searching for clickable search keywords, I got a lot of help from this thread by wjbrewer. Please read that over first. Firstly, I didn't need to mod my search so you can ignore the part about that. In product.php, where wjbrewer indicated, I pasted in: Code:
$keywords = split(",", $product_info['keywords']); The above is different from what wjbrewer originally posted in that it recognizes that my keywords are comma-separated and will break them up as such, including keyword phrases that consist of more than one word with spaces in between. Then in my template where I want the keywords to show up (/customer/main/products_details.tpl in my case), I put in the following which will return my keywords on one line, followed by a pipe symbol (except for the last value) and each will be turned into a link: Code:
{if $product.keywords ne ""} The end result looks like this: Tags: Feminine | Floral | Sweet and Sassy Hope this helps someone! |
Re: Show search keywords in description of product
Hello,
I am looking to do something similar, but instead of the keywords appearing on the product pages themselves, I am wanting to create a page with all of the keywords entered across the site. Other than that, the same fuctionality (clickable tags that take you to a results page with the products associated with that tag). Any ideas on how to implement this on it's own page? Let me know, thanks! |
All times are GMT -8. The time now is 09:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.