Jump to content


in progress

Change Buy Now Button Text



3 replies to this topic

#1 tyler_j

tyler_j

    New Member

  • Members
  • Others: All Plugins
  • 4 posts
  • LocationTampa, FL

Posted 10 June 2014 - 03:53 PM

Sorry if I missed this in on another post but I woudl like to use exchange to take donations only, however I'm having a heck of a time finding any tutorials on this. I have most of it setup and working but there are a few things I'm stuggling with.
  • I would like to rename the button "buy now" to add donation, or someting like that. I can't find it in any of the templates files so I must be looking in the wrong place.
  • Also the "filed under" at the bottom of the product page, i would like to hide that as well, most likely a CSS thing.
  • Lastly is there any way the buy now button, hopefully renamed soon, could go right to checkout rather than adding the total?

Thanks for any help.
Ty

#2 Elise Alley

Elise Alley

    iThemes Support

  • Administrators
  • Others: All Plugins, All Themes, Members, Moderators, Toolkit, Webdesign
  • 5,540 posts
  • LocationOklahoma City, OK

Posted 10 June 2014 - 07:00 PM

Hi Ty,

Try adding the following code to the bottom of your child theme's functions.php file before the closing ?> (if there is one):

function my_translated_text_strings( $translated_text, $untranslated_text, $domain ) {
$translated_text = $untranslated_text;
if ( 'LION' === $domain || 'it-l10n-ithemes-exchange' === $domain ) {
switch ( $untranslated_text ) {
case 'Buy Now' :
$translated_text = 'Donate Now';
break;
}
}
return $translated_text;
}
add_filter( 'gettext', 'my_translated_text_strings', 10, 3 );
add_filter( 'ngettext', 'my_translated_text_strings', 10, 3 );

That should take care of your Buy Now button.

The "filed under" is not coming from Exchange.  I've had one other person have that showing up and we figured out that it was coming from their theme.  If you post your site's URL I can take a look and help you with the CSS, but that's not coming from Exchange.

Do you mean can the Buy Now button go straight to the cart page?  If so, no, that's not an option in Exchange.  If that's not what you meant, just let me know.  

Let us know if you have any additional questions.  

Thanks,

Elise

#3 tyler_j

tyler_j

    New Member

  • Members
  • Others: All Plugins
  • 4 posts
  • LocationTampa, FL

Posted 10 June 2014 - 07:43 PM

Your an ACE! Thanks all that worked. One more question, some donations are designated. they would like a comment box that would be included with the order/donation. Is that possible.
Thanks!

#4 Elise Alley

Elise Alley

    iThemes Support

  • Administrators
  • Others: All Plugins, All Themes, Members, Moderators, Toolkit, Webdesign
  • 5,540 posts
  • LocationOklahoma City, OK

Posted 10 June 2014 - 07:58 PM

Hi Ty,

There isn't a comment option/custom field option in Exchange at this time.

If you have Gravity Forms, however, an avid Exchange user has created a plugin to integrate the two that you might try out:  http://wordpress.org/plugins/gravity-forms-checkout-info-add-on-for-ithemes-exchange/

Let us know if you have any other questions!

Thanks,

Elise



Reply to this Topic


ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Exchange ecommerce plugin forum.


  



Also tagged with one or more of these keywords: in progress

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users