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 September 21st, 2012, 12:58 AM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default change buy button label in product details by category

Hi,

Can you help please,

How would you change the button label for product details in just one category.

I've got quite a few product that need to be changed to rent instead of buy. I know you can do this for a single product but is there a way for multiple products or per category?

Regards,
Pauline.
  #2  
Old September 21st, 2012, 09:40 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Yes, you can change how things are displayed on a per-category basis.

Here's how to change how things are displayed on a per-category basis:
http://www.datafeedr.com/videos?vide...rc=yt#videotop

Here's how to change your button colors and text:
http://www.datafeedr.com/videos?vide...rc=yt#videotop

Eric
  #3  
Old September 21st, 2012, 11:00 AM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default

Hi Eric,

Been through all the vids on the subject but no luck, you have to change the product details as a single page and not batch process.

I've tried to work out how I can do this with a custom command but the result I'm geting is:

http://grandevents.co.uk/blog/?q=sto...1201695955079/

Do you know what the command would be, as you can see I'm almost there!! but not quite sure how you would format it,

Regards,
Pauline.
  #4  
Old September 21st, 2012, 12:27 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Try something like this:
HTML Code:
<?php if ($product->cat_id == 1015963 || $product->cat_id == 1004240 || $product->cat_id == 1004235) : ?>
	<a href="[product.url]" class="dfbutton dforange dflarge" title="Buy this product" rel="nofollow">Rent</a>
<?php else : ?>
	<a href="[product.url]" class="dfbutton dforange dflarge" title="Buy this product" rel="nofollow">Buy</a>
<?php endif; ?>
Eric
  #5  
Old September 21st, 2012, 12:40 PM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default

Thank you Eric, you're a saint, works a treat,

Regards,
Pauline
 


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
Facebook Like Button - Adding a like button to each product on the category page Eric Tips, Tricks & Tutorials 5 June 24th, 2012 05:14 PM


All times are GMT -5. The time now is 01:16 PM.


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