Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Feature Requests
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 March 27th, 2012, 09:41 AM
Sternberg Sternberg is offline
 
Join Date: Jan 2012
Posts: 39
Default Add Product Detail View to a specific category

Hi,

I hope to see this feature soon, as it would help me a lot.

Could you make it possible to connect a specific product detail view to products in a specific category?

Best regards,
Sternberg
  #2  
Old April 4th, 2012, 08:30 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

This is currently not possible.

Eric
  #3  
Old April 4th, 2012, 10:19 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

We currently don't have plans on adding this feature as we are focused on adding other features to the Factory.

But, you can do something like this in your PRODUCT DETAIL > Product detail module:

HTML Code:
<?php if ($product->cat_id == 591458) { ?>

  <!-- Single Product for Category ID 591458 -->
  <div class="sp">
    <div class="lc">
    <div class="thmb">
      <a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">
      [product.image tag='1']
      </a>
    </div>
    </div>
    <div class="rc">
    <h2><a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a></h2>
    <p class="desc">[product.description]</p>
    <div>
      [product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[tag.link]"><?php echo str_replace("-"," ",$tag->name);?></a>[product.end]
    </div>
    <div class="prc">[product.currency mode="sign"][product.price]</div>
    <div class="btns">
      <a href="[product.url]" class="dfbutton dforange dflarge" title="Buy this product" target="_blank" rel="nofollow">more info</a>
    </div>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  <!-- /Single Product for Category ID 591458 -->

<?php } elseif ($product->cat_id == 592507) { ?>

  <!-- Single Product for Category ID 592507 -->
  <div class="sp">
    <div class="lc">
    <div class="thmb">
      <a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">
      [product.image tag='1']
      </a>
    </div>
    </div>
    <div class="rc">
    <h2><a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a></h2>
    <p class="desc">[product.description]</p>
    <div>
      [product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[tag.link]"><?php echo str_replace("-"," ",$tag->name);?></a>[product.end]
    </div>
    <div class="prc">[product.currency mode="sign"][product.price]</div>
    <div class="btns">
      <a href="[product.url]" class="dfbutton dforange dflarge" title="Buy this product" target="_blank" rel="nofollow">BUY NOW!</a>
    </div>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  <!-- /Single Product for Category ID 592507 -->
  
<?php } else { ?>

  <!-- Single Product for all other categories -->
  <div class="sp">
    <div class="lc">
    <div class="thmb">
      <a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">
      [product.image tag='1']
      </a>
    </div>
    </div>
    <div class="rc">
    <h2><a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a></h2>
    <p class="desc">[product.description]</p>
    <div>
      [product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[tag.link]"><?php echo str_replace("-"," ",$tag->name);?></a>[product.end]
    </div>
    <div class="prc">[product.currency mode="sign"][product.price]</div>
    <div class="btns">
      <a href="[product.url]" class="dfbutton dforange dflarge" title="Buy this product" target="_blank" rel="nofollow">View Details</a>
    </div>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  <!-- /Single Product for all other categories -->
  
<?php } ?>
This basically allows you to show a specific style of your Product detail page for each category in your store. Just replace the category IDs with your category IDs and the necessary HTML and you should be good to go.

Eric
  #4  
Old April 4th, 2012, 10:53 AM
Sternberg Sternberg is offline
 
Join Date: Jan 2012
Posts: 39
Default

Perfect!
 


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 change Image Size on Product Detail View 1800HART Questions 8 March 29th, 2012 01:40 PM
Float Images to Right on Product Detail View RyanVega Questions 4 July 12th, 2011 04:14 PM
Custom Product Details Page for a Specific Category? kaje Questions 1 April 25th, 2011 01:31 PM
How to Wrap Text in Product Detail view patagonia Questions 2 January 31st, 2011 09:06 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 08:49 PM.


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