Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 1st, 2011, 05:06 PM
JoanaMarie JoanaMarie is offline
 
Join Date: Jun 2011
Posts: 18
Default product category link

hi all,

looking for the tag of product category links. i found the [product.category] tag, which works perfectly. is there a tag creating the link to the category. i've tried [product.category_link], didn'T work though.

thanks
  #2  
Old August 1st, 2011, 05:57 PM
stefan stefan is offline
 
Join Date: Feb 2008
Posts: 5,901
Default

Can you explain in more detail what you exactly want to do? Do you want to display all your category links? Only a link to one specific category? where on the page?
  #3  
Old August 5th, 2011, 03:42 AM
JoanaMarie JoanaMarie is offline
 
Join Date: Jun 2011
Posts: 18
Default

on the search page template i added the category to the products querried. ie product 1 is in category a, product 2 is in category b and so on. is this possible? ex here: http://www.teamspieler.org/shop/suche/?word=ferrari
cheers
  #4  
Old August 5th, 2011, 12:20 PM
stefan stefan is offline
 
Join Date: Feb 2008
Posts: 5,901
Default

It seems category tags are currently not supported in some views.

We'll address that issue in one of the next releases.

In the meantime you can use following workaround:

1. In the search view, immediately below the line containing [product.each] add the following php code

Code:
<?php $category = $s->category_for_product($product) ?>
2. To create your category links you can then use

Code:
<a href="[category.link]">[category.name]</a>

Last edited by stefan : August 5th, 2011 at 12:54 PM.
  #5  
Old August 5th, 2011, 03:45 PM
JoanaMarie JoanaMarie is offline
 
Join Date: Jun 2011
Posts: 18
Default

worked! thx stefan
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
product link goes to merchant home page onlineshopper Problems 1 May 23rd, 2011 04:46 AM
How Can I One Category Parent Link to Product Listing? cashnow Questions 3 February 3rd, 2011 05:08 PM
Category link not clickable when viewing product detail ayorofrance Problems 6 January 10th, 2011 12:34 PM


All times are GMT -5. The time now is 06:11 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.