• Resolved lew1s

    (@lew1s)


    Hi, is it possible to add currency/price change in text shipping? So if I change currency the price change as well.
    See here: https://www.screencast.com/t/4XiWKQZloPJN

    Something like aelia got:
    Free worldwide shipping on all orders over [aelia_cs_currency_amount amount=”50″]

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Yes, you can use our woocommerce_currency_switcher_convert_price shortcode, like this:

    [woocommerce_currency_switcher_convert_price price="50"]

    • This reply was modified 6 years, 2 months ago by Pablo Pacheco.
    Thread Starter lew1s

    (@lew1s)

    Thanks! Working!

    Anytime ??

    Would you mind writing a review for the plugin? It’s really important for us

    Thread Starter lew1s

    (@lew1s)

    One more thing. If I add this code and want to use smart pricing the shipping is like this. https://www.screencast.com/t/BLqDEHOn2

    Its possible to show just $50 without the smart pricing.

    Going to give you 5* review ??

    Hum,
    I’m sorry. It’s not possible for now ??

    Once you enable Pretty Price there is only one way of overriding it, using a filter.
    In your case you want to disable it in case the shortcode is in use. I think we don’t have a way of getting this information.

    However if you’re using the shortcode on a specific page, like Home, it would be possible. Something like this would work, I suppose:

    add_filter( 'alg_wc_currency_switcher_correction', function ( $correction, $currency ) {
        if ( is_page( 'home' ) ) {
            $correction['rounding'] = 'no_round';
            $correction['pretty_price'] = 'no';
        }
    
        return $correction;
    }, 10, 2 );
    Thread Starter lew1s

    (@lew1s)

    not working if add this to functions.php

    I already added review 5*

    Thanks.

    I’ll try to think up something for the next version then

    Thread Starter lew1s

    (@lew1s)

    Thanks, please let me know here. ??

    Thread Starter lew1s

    (@lew1s)

    any updates?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘currency for text shipping’ is closed to new replies.