• Resolved IgnacioJ

    (@ignacioj)


    Hi.

    Whatever currency I select in Woocommerce options, it shows only $ symbol. And I want to use “USD” for every price in the website.

    How can I do that?

    This is the Woocommerce System Status:

    WordPress Environment<br><br>WordPress address (URL): https://majesticandes.com<br>Site address (URL): https://majesticandes.com<br>WC Version: 9.3.3<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ✔ 3.8.1<br>Log Directory Writable: ✔<br>WP Version: 6.7.1<br>WP Multisite: –<br>WP Memory Limit: 2 GB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: es_ES<br>External object cache: – Server Environment<br><br>Server Info: Apache<br>PHP Version: 7.4.33<br>PHP Post Max Size: 512 MB<br>PHP Time Limit: 300<br>PHP Max Input Vars: 1500<br>cURL Version: 7.45.0<br>OpenSSL/1.0.1e<br><br>SUHOSIN Installed: –<br>MySQL Version: 8.0.35<br>Max Upload Size: 512 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database<br><br>WC Database Version: 9.3.3<br>WC Database Prefix: wp_<br>Total Database Size: 130.09MB<br>Database Data Size: 125.41MB<br>Database Index Size: 4.68MB<br>wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.09MB + Index: 0.09MB + Engine InnoDB<br>wp_addonlibrary_addons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_addonlibrary_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB<br>wp_e_notes_users_relations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB<br>wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_options: Data: 6.44MB + Index: 0.14MB + Engine InnoDB<br>wp_postmeta: Data: 86.48MB + Index: 1.81MB + Engine InnoDB<br>wp_posts: Data: 30.47MB + Index: 0.34MB + Engine InnoDB<br>wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_twwr_whatsapp_agent_logs: Data: 0.30MB + Index: 0.00MB + Engine InnoDB<br>wp_twwr_whatsapp_chat_logs: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_dates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_excluded_dates_times: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_price_category_relation: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_pricings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcbk_booking_meta_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_yith_wcbk_booking_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcbk_booking_resources: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yith_wcbk_external_bookings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcbk_global_availability_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcbk_global_availability_rules_associations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcbk_global_price_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcbk_global_price_rules_associations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcbk_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcbk_product_resources: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yith_wcbk_reserved_bookings: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yith_wcbk_reserved_resources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts<br><br>attachment: 283<br>elementor_library: 20<br>envato_tk_import: 1<br>itineraries: 1<br>metform-entry: 3<br>metform-form: 3<br>nav_menu_item: 8<br>page: 53<br>post: 3<br>product: 12<br>revision: 1708<br>shopengine-template: 2<br>trip: 1<br>trip-packages: 1<br>ttbm_guide: 5<br>ttbm_places: 20<br>ttbm_tour: 5<br>twwr_whatsapp_agent: 4<br>twwr_whatsapp_chat: 1<br>wapf_product: 1<br>wcpa_pt_forms: 1<br>wp_global_styles: 1<br>wp_navigation: 1<br>wp-travel-payment: 1<br>ywtm_tab: 1 Security<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (24)<br><br>WP Travel Engine - Travel and Tour Booking Plugin: by WP Travel Engine – 6.2.1<br>Astra Pro: by Brainstorm Force – 4.8.3<br>BackWPup: by BackWPup – Plugin de copia de seguridad y restauración de WordPress – 4.1.6<br>Elementor Pro: by Elementor.com – 3.25.2<br>Elementor: by Elementor.com – 3.25.4<br>ElementsKit Lite: by Wpmet – 3.3.1<br>EmailKit: by wpmet – 1.5.6<br>EmbedPress: by WPDeveloper – 4.1.1<br>Envato Elements: by Envato – 2.0.15<br>Essential Addons for Elementor: by WPDeveloper – 6.0.9<br>GTranslate: by Soluciones de traducción multilingüe basadas en Inteligencia Artificial – 3.0.7<br>MetForm: by Wpmet – 3.9.0<br>Premium Addons for Elementor: by Leap13 – 4.10.62<br>ShopEngine: by Wpmet – 4.7.2<br>Skyboot Custom Icons for Elementor - Elementor Icons library: by Skybootstrap – 1.0.8<br>TW WhatsApp Chat Rotator: by ThemeWarrior – 1.1.1<br>WooCommerce Custom Product Addons Free: by Acowebs – 3.0.12<br>WooCommerce: by Automattic – 9.3.3 (update to version 9.4.2 is available)<br>WP Mail SMTP: by WP Mail SMTP – 4.1.1<br>WP Rollback: by WP Rollback – 2.0.7<br>Wp Social: by Wpmet – 3.0.8<br>Wp Ultimate Review: by Wpmet – 2.3.4<br>WP Travel Engine - Elementor Widgets: by WP Travel Engine – 1.3.5<br>YITH WooCommerce Tab Manager Premium: by YITH – 1.43.0 Inactive Plugins (1)<br><br>Astra Pro: by Brainstorm Force – 4.8.2 Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left_space<br>Thousand Separator:<br>Decimal Separator: .<br>Number of Decimals: 0<br>Taxonomies: Product Types: booking (booking)<br>external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: ✔<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 90 B WC Pages<br><br>Shop base: #142 - /experiences/<br>Cart: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.<br>Checkout: ❌ Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.<br>My account: ❌ Page does not contain the [woocommerce_my_account] shortcode.<br>Terms and conditions: ❌ Page not set Theme<br><br>Name: Astra Child<br>Version: 1.0.0<br>Author URL: https://plano41.com.ar/<br>Child Theme: ✔<br>Parent Theme Name: Astra<br>Parent Theme Version: 4.8.3 – 4.8.7 is available<br>Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme<br>WooCommerce Support: ✔ Templates<br><br>Overrides: – Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br><br>Daily Cron: ✔ Next scheduled: 2024-11-28 14:36:33 -05:00<br>Options: ✔<br>Notes: 68<br>Onboarding: completed Action Scheduler<br><br>Complete: 73<br>Oldest: 2024-10-27 23:13:50 -0500<br>Newest: 2024-11-27 14:51:38 -0500<br><br>Failed: 11<br>Oldest: 2024-10-08 14:40:59 -0500<br>Newest: 2024-10-19 00:21:21 -0500<br><br>Pending: 3<br>Oldest: 2024-11-27 23:25:51 -0500<br>Newest: 2024-12-02 17:27:12 -0500 Status report information<br><br>Generated at: 2024-11-27 17:41:01 -05:00<br>

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @ignacioj

    I understand you’re seeing only the $ symbol and want to show “USD” for all prices. To fix this, go to WooCommerce > Settings > Currency Options and set the Currency to ‘United States (US) dollar’ and the “Currency Position” has ‘Left’ or ‘Right’ with a space selected.

    Then add this code to your functions.php file or use a plugin to manage snippets (preferred):

    add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);

    function change_existing_currency_symbol($currency_symbol, $currency) {
    if($currency == 'USD') {
    $currency_symbol = 'USD';
    }
    return $currency_symbol;
    }

    Do note that custom code is usually outside our scope of support, just in case you require more code customization, we would suggest checking the services on our Customization page.

    Hope that helps!

    Thread Starter IgnacioJ

    (@ignacioj)

    ¡Excellent! It works great.

    Thanks a lot!

    You’re welcome and I’m glad to know it works! 🙂

    If anything else comes up, please feel free to open a new topic.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Wrong Currency Symbol’ is closed to new replies.