barkha064
Forum Replies Created
-
i tried this code ..it works on another website but not bankonitfx.com
// Add “USD” to the cart subtotal in the cart and checkout pages
function add_usd_to_subtotal( $price, $cart_item, $cart_item_key ) {
$price = WC()->cart->get_product_subtotal( $cart_item[‘data’], $cart_item[‘quantity’] );
return wc_price( $price ) . ‘ USD’;
}
add_filter( ‘woocommerce_cart_item_subtotal’, ‘add_usd_to_subtotal’, 10, 3 );
// Add USD suffix to the cart total
add_filter( ‘woocommerce_cart_totals_order_total_html’, ‘add_usd_suffix_to_order_total’, 10, 1 );function add_usd_suffix_to_order_total( $value ) {
return $value . ‘ USD’;
}// Add “USD” to the order subtotal on the checkout page
function add_usd_to_order_subtotal( $cart_subtotal ) {
return $cart_subtotal . ‘ USD’;
}
add_filter( ‘woocommerce_cart_subtotal’, ‘add_usd_to_order_subtotal’, 10, 1 );
add_filter( ‘woocommerce_order_formatted_line_subtotal’, ‘add_usd_to_order_subtotal’, 10, 1 );Can you let me now why this doensot work :
add_filter(‘woocommerce_price_format’, ‘ts_add_currency_suffix’, 10, 2); function ts_add_currency_suffix($price, $currency_symbol) { // Only add the suffix on cart and checkout pages if (is_cart() || is_checkout()) { // Get the current currency code $currency = get_woocommerce_currency(); // Add the suffix to the price $price .= ‘ ‘ . $currency; } return $price; }
Tried this but doesnot work
it added to price but not when we do checkout or in cart
You are NOT understanding my question ..I want to display like this $564.00 USD IN checkput ,total,cart ..”USD ” Text should be added at the end
not works for me i want display USD at the end of pricing in checkout and cart ..but it doesnot show in checkout , total
Forum: Plugins
In reply to: [Contact Form 7] Email notifications are not coming in Contact Form 7yes i recieved a message form hasbeen submited
Hi ,today the image is not showing on popup. And not saving also Video Troubleshooting (loom.com)
Hi Popup is not displaying on mobile currently..Here is the setting i have done.https://prnt.sc/H5yuhFFDGDhQ
it worked but i am not able to show only on home page
here is my settngs:https://prnt.sc/7k-UJc-YIZ_g
what i have to do show only on home page?
PHP 7.3.33
popup version – Version 4.0.1
yes i displayed but its not working
- This reply was modified 10 months, 1 week ago by barkha064.
Forum: Plugins
In reply to: [WooCommerce] Google pay and amazon pay are not workingIts not working i am getting this error:Your request failed. Use a different payment method, or contact us. Learn more [OR-CCSEH-21] [12:33 PM]
Forum: Plugins
In reply to: [WooCommerce] Google pay and amazon pay are not workingForum: Plugins
In reply to: [WooCommerce] Google pay and amazon pay are not workingI added the log..Let me know How to fix the issue
@dougaitken so it cannot be fixed? It never work before.
- This reply was modified 1 year, 6 months ago by barkha064.