Skip to content

πŸ‡§πŸ‡·πŸ‡²πŸ‡½πŸ‡¦πŸ‡·πŸ‡¨πŸ‡΄πŸ‡¨πŸ‡±πŸ‡΅πŸ‡ͺ This is a currency converter to use with EBANX Gateway.

License

Notifications You must be signed in to change notification settings

gpressutto5/ebanx-currency-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

57 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

EBANX Currency Converter

This is a currency converter to use with EBANX Payment Gateway for WooCommerce. This is an unnoficial plugin.

Requirements

  • PHP 5.6+
  • Wordpress 4.0+
  • WooCommerce 2.6+
  • EBANX Payment Gateway for WooCommerce 1.10.0+

EBANX only supports currency exchange when processing with USD or EUR, so this plugin requires that your store process one of these two currencies.

Getting Started

The easiest way to use this plugin is using the included Widget.

  1. On WordPress Admin Dashboard go to Appearence Β» Widgets.

widgets

  1. Drag and drop EBANX Currency Converter widget into any layout area.

layout area

  1. Choose the countries you process with EBANX and save.

countries

  1. That's it!

done!

Customizing

You can make your own design and use this plugin in your theme! Just make sure you add the following attributes to the elements you want to use as currency switch:

  • class: ebanx-currency-converter--flag-link This class has no styling. It is used for javescript to find the flag elements.
  • data-currency: USD, EUR, BRL, MXN, COL, CLP or PEN The currency this link switches to.

Example:

<button class="ebanx-currency-converter--flag-link" data-currency="BRL">Real</button>
<button class="ebanx-currency-converter--flag-link" data-currency="USD">Dollar</button>

Also, for styling purposes, the selected currency will automatically get the class active.

About

πŸ‡§πŸ‡·πŸ‡²πŸ‡½πŸ‡¦πŸ‡·πŸ‡¨πŸ‡΄πŸ‡¨πŸ‡±πŸ‡΅πŸ‡ͺ This is a currency converter to use with EBANX Gateway.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published