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 12th, 2011, 11:08 AM
cashnow cashnow is offline
 
Join Date: Sep 2009
Posts: 362
Default Can I add a merchant description to a product page?

Hi,

Is it possible to add a merchant description to a product page that will associate only with that merchant?

I know V3 does it with products and coupons, any way possible for a merchant description?

Thank you!

Store ID 6719
www.forbabygifts.com
  #2  
Old April 12th, 2011, 01:25 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

We don't store any merchant descriptions so I don't think this will be possible.

Eric
  #3  
Old April 12th, 2011, 05:46 PM
cashnow cashnow is offline
 
Join Date: Sep 2009
Posts: 362
Default

Is there a work around if I create a unique merchant description? I was going to piggyback off the coupon or product add new, but realized it would display wrong.

This may not be so, but if there is one that comes to mind, will you let me know?

Thank Eric!
  #4  
Old April 12th, 2011, 06:18 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

You can do something like this in your theme's functions.php file:

PHP Code:
function dfr_merchant_description($merchant_id) {

    
$merchant_descriptions  = array
    (
        
'12345'    =>    'Description for merchant with ID 12345',
        
'67890'    =>    'Another description for merchant with ID 67890',    
    );
    
    return 
$merchant_descriptions[$merchant_id];

And then call that from your views like this:

PHP Code:
<?php echo dfr_merchant_description($product->merchant_id); ?>
 


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
Display coupons on a product details page from same merchant as the product Eric Tips, Tricks & Tutorials 73 December 9th, 2014 11:06 PM


All times are GMT -5. The time now is 02:38 PM.


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