Hook the woocommerce_currency
filter.
function change_woocommerce_currency( $currency ) {
if ( is_product_category( 'my-special-cat' ) ) {
$currency = 'myCred' // or whatever the currency symbol is
}
return $currency;
}
add_filter( 'woocommerce_currency', 'change_woocommerce_currency' );
Related Posts:
- Hide some items from Screen options in dashboard for products
- Exclude Empty Child Categories in Menu
- Add to cart php not working [closed]
- (Woocommerce) Order by price when entering specific category
- add product thumbnail to checkout page only and include variation name
- Which method is more correct for removing WooCommerce Extensions menu item?
- Removing default image size list in Media Box
- How to restrict actions and filters “properly” by conditions
- syntax for remove_filter in parent theme with class
- How to Acheive the custom woocommerce category template
- Issue adding text after short description on product pages Woocommerce [closed]
- Best way to programatically add “rel” attributes to page and post images
- change billing and shipping address 1 and 2 field placeholders [closed]
- add_filter priority problem
- Clean-up script tags
- woocommerce target button with class after ajax update
- Remove function or filter
- Super simple shortcode not working
- WordPress function for 1 to for many
- How to filter out shortcode when displaying the_excerpt() in the loop?
- Adding multiple taxonomy filters to functions.php
- Product Tags in Add New product as checkbox list [closed]
- Last updated date function
- I want to get product attirbute in the section below
- How to set default archive image without overriding first attached image? [closed]
- Only let plugin add actions to wp_head & wp_footer on single posts
- Load Woocommerce and WordPress Functions Outside
- How to make custom column Admin>Users sortable?
- Get Current Post ID in functions php, meta query filter
- Output and filter data from a XML url
- When sale price is 0.00 show only regular price
- What did I do wrong in my functions code, that will not change the “Get New Password” text to “Send It”?
- how can I edit flexslider in woocommerce. [Urgent]
- How to filter $content in shortcode function
- Filtering out the #more anchor link that gets produced by
- Functions when woocommerce isn’t installed
- How can I add a filter for specific categories on functions.php?
- How to add custom JavaScript in functions?
- How would I go about replacing this function in my child theme located in inc/template-tags.php
- Retrieve a value from Yoast SEO to use to set a default twitter card image honoring overrides
- Filter an WordPress Function in (general-template.php)
- Redefine function arguments before rendering
- How can I add a class to a nav li depending on URL?
- Modify gform_other_choice_value for specific form and specific field in Gravity Forms
- Set “woocommerce_is_purchasable” to false for specific “$product->is_stock_status”
- Filter to wp_list_authors
- Woocommerce image sizes missing from Appearance › Customize but not declared by theme
- Way to redirect all Product Sub Category to its Main category Page?
- Delay a function, any function!
- Add Adsense code between job listings – wp job manager plugin
- Problem with images URL after filter applying
- How add body_class from wp_termmeta
- remove_action not working, even after changing priority [duplicate]
- remove/hide wp-editor
- Replace header image on all other pages but home – URL issue
- Add a class to post if it has been recently updated
- search form leads to 404
- how to add_filter to non hook function
- How to hide content on mobile in the functions.php file – woocommerce
- How to hide WooCommerce product title and short description to non logged in users?
- how can I add filter in specfic field in my website?
- localize_script but data changes dependent on product ID
- Changing the HTML of notices in WooCommerce [closed]
- Overwrite text in a complicated filter hook
- Save_post – Warning: Cannot modify header information
- removing description tabs – single product page – breaks footer
- Remove span tags from WooCommerce Downloads page
- Link product attribute value to a URL – woocommerce
- custom error message for empty username and password using authenticate filter not working
- Remove text after a dot and a colon in Woocommerce product title
- Add #primary at the end of navlink permalinks on single posts
- remove_filter function to unhook twentysixteen parent theme function
- only update titles of single posts
- OOP Switch statement with array as parameter
- Problems adding a new field to product in cart
- Woocommerce Display Discount On cart
- How can I automatically delete comments that contain a URL?
- Appending „read more” to the excerpt conditionally
- How to add class dynamically from templates
- Override plugin function to show invoices even if not logged in
- function replace_text for entire page
- how can I change the read more link destinations and direct all to the same page?
- Woocommerce custom calculation function
- button to toggle css styling / div visibility?
- ACF Filter return value
- Execute jQuery with custom event listener after successfully add an item to the cart
- How to make an If Else on Excerpt Filter
- Regex works in regexr, but not if I filter content [closed]
- Retrieve a custom form field modified by a filter
- functions.php filters not applied in AJAX call
- Woocommerce Price Text
- Settings in functions.php used by a plugin
- Force resize for all video content
- Way of getting queried loop before the query with a filter hook?
- Display post_meta-by_key on product catalogue
- Trying to get this function to show below the content
- Which template file to edit to edit homepage in Mystile [closed]
- “woocommerce_output_related_products” not working
- Warning: call_user_func_array() expects parameter 1 to be a valid callback
- Add text below WooCommerce short description if metabox value is true