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 April 16th, 2013, 07:16 AM
Aichels Aichels is offline
 
Join Date: Feb 2013
Posts: 77
Default Category link

In my product detail page I have related products in bottom I want integrate button where it would take visitors to products from the same category.

I managed to insert button with this code, but I don't know how to link to same category.

<div>
<a href="#" class="dfbutton dfwhite dflarge dfrounded">More products</a>
</div>

www.fashion-drop.com
  #2  
Old April 16th, 2013, 09:20 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

To display a link to a category page from your product details page, you need to use this code in your link tag:

Code:
[server.url query='c=$product->cat_id&amp;view=category']
So you would do something like this:

HTML Code:
<div>
<a href="[server.url query='c=$product->cat_id&amp;view=category']" class="dfbutton dfwhite dflarge dfrounded">More products</a>
</div>
Eric
  #3  
Old April 16th, 2013, 02:18 PM
Aichels Aichels is offline
 
Join Date: Feb 2013
Posts: 77
Default

Awesome! Thank you.
 


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
How to update [category.link] Barn2Media Questions 2 March 21st, 2013 04:28 AM
Link images to category page nzcid Questions 6 March 5th, 2013 09:57 PM
Use Category Description as Category Link Camden Questions 3 January 25th, 2012 04:00 PM
product category link JoanaMarie Questions 4 August 5th, 2011 03:45 PM


All times are GMT -5. The time now is 12:55 PM.


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