| 1 |
import { __ } from '@wordpress/i18n'; |
| 2 |
|
| 3 |
import acfIcon from './images/acf.svg'; |
| 4 |
import aeliaIcon from './images/aelia.svg'; |
| 5 |
import curcyIcon from './images/curcy.svg'; |
| 6 |
import foxIcon from './images/fox.svg'; |
| 7 |
import wpmlIcon from './images/wpml.svg'; |
| 8 |
|
| 9 |
const getPlugins = () => [ |
| 10 |
{ |
| 11 |
id: 1, |
| 12 |
name: __('Advanced Custom Fields', 'disco'), |
| 13 |
category: __('Custom Data', 'disco'), |
| 14 |
description: __( |
| 15 |
"Use your ACF custom field values as discount conditions. Target discounts by membership tier, customer type, or any custom meta you've defined.", |
| 16 |
'disco' |
| 17 |
), |
| 18 |
pluginFile: 'advanced-custom-fields/acf.php', |
| 19 |
tags: [ |
| 20 |
__('Condition Filters', 'disco'), |
| 21 |
__('Custom Meta', 'disco'), |
| 22 |
__('Auto-synced', 'disco'), |
| 23 |
], |
| 24 |
proRequired: true, |
| 25 |
learnMoreUrl: |
| 26 |
'https://discoplugin.com/docs/acf-advanced-custom-fields/', |
| 27 |
icon: acfIcon, |
| 28 |
}, |
| 29 |
{ |
| 30 |
id: 2, |
| 31 |
name: __('WPML Multi-Language', 'disco'), |
| 32 |
category: __('Multi-Language · Multi-Currency', 'disco'), |
| 33 |
description: __( |
| 34 |
'Disco discount rules apply correctly across all languages and currencies managed by WPML — no manual conversion or duplicate campaigns needed.', |
| 35 |
'disco' |
| 36 |
), |
| 37 |
pluginFile: 'sitepress-multilingual-cms/sitepress.php', |
| 38 |
tags: [ |
| 39 |
__('Multi-Currency', 'disco'), |
| 40 |
__('Multi-Language', 'disco'), |
| 41 |
__('Auto-detected', 'disco'), |
| 42 |
], |
| 43 |
proRequired: true, |
| 44 |
learnMoreUrl: |
| 45 |
'https://discoplugin.com/docs/wpml-woocommerce-multilingual/', |
| 46 |
icon: wpmlIcon, |
| 47 |
}, |
| 48 |
{ |
| 49 |
id: 3, |
| 50 |
name: __('FOX Currency Switcher', 'disco'), |
| 51 |
category: __('Multi-Currency', 'disco'), |
| 52 |
description: __( |
| 53 |
'Sell in any currency and apply Disco discounts correctly in every currency your customers switch to — zero manual conversion required.', |
| 54 |
'disco' |
| 55 |
), |
| 56 |
pluginFile: 'woocommerce-currency-switcher/index.php', |
| 57 |
tags: [ |
| 58 |
__('Currency Rules', 'disco'), |
| 59 |
__('Auto-conversion', 'disco'), |
| 60 |
__('Live Rates', 'disco'), |
| 61 |
], |
| 62 |
proRequired: true, |
| 63 |
learnMoreUrl: |
| 64 |
'https://discoplugin.com/docs/fox-currency-switcher-woocs/', |
| 65 |
icon: foxIcon, |
| 66 |
}, |
| 67 |
{ |
| 68 |
id: 4, |
| 69 |
name: __('CURCY – Multi Currency', 'disco'), |
| 70 |
category: __('Multi-Currency', 'disco'), |
| 71 |
description: __( |
| 72 |
'Disco Pro integrates with CURCY so your discount rules work seamlessly across multiple currencies — offering customers a smooth global shopping experience.', |
| 73 |
'disco' |
| 74 |
), |
| 75 |
pluginFile: 'woo-multi-currency/woo-multi-currency.php', |
| 76 |
tags: [ |
| 77 |
__('Global Discounts', 'disco'), |
| 78 |
__('Currency Sync', 'disco'), |
| 79 |
__('Woo Native', 'disco'), |
| 80 |
], |
| 81 |
proRequired: true, |
| 82 |
learnMoreUrl: |
| 83 |
'https://discoplugin.com/docs/curcy-multi-currency-for-woocommerce/', |
| 84 |
icon: curcyIcon, |
| 85 |
}, |
| 86 |
{ |
| 87 |
id: 5, |
| 88 |
name: __('Aelia Currency Switcher', 'disco'), |
| 89 |
category: __('Multi-Currency', 'disco'), |
| 90 |
description: __( |
| 91 |
'Enterprise-grade multi-currency solution. Disco Pro works natively with Aelia — show prices and accept payments in different currencies while discount rules apply automatically.', |
| 92 |
'disco' |
| 93 |
), |
| 94 |
pluginFile: |
| 95 |
'aelia-currencyswitcher/aelia-woocommerce-currencyswitcher.php', |
| 96 |
tags: [ |
| 97 |
__('Enterprise', 'disco'), |
| 98 |
__('Multi-Currency', 'disco'), |
| 99 |
__('Geo Pricing', 'disco'), |
| 100 |
], |
| 101 |
proRequired: true, |
| 102 |
learnMoreUrl: 'https://discoplugin.com/docs/aelia-currency-switcher/', |
| 103 |
icon: aeliaIcon, |
| 104 |
}, |
| 105 |
]; |
| 106 |
|
| 107 |
export default getPlugins; |
| 108 |
|