Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #213788

    Hi,
    I need your help. I have WPML and woocommerce plugin uptodate.
    I d like to add multicurrency switcher to the menu under the language switcher.
    This code: <?php echo(do_shortcode(‘[currency_switcher]’)); ?>
    Could you please me write to which php file should be this code written?

    Thank you for answer.
    my site: http://www.jakubvelinsky.cz

    #213899

    Hi velinsky!

    You can insert the code in wp-content/themes/enfold/header.php below following line

    
    do_action('avia_meta_header');
    

    Best regards,
    Peter

    #213930

    Hi,
    I have flahslight theme and I can not find “do_action(‘avia_meta_header’);” in header.php in flashlight theme.
    Any idea?

    Thanks

    Jakub

    #214646

    Hey Jakub!

    Try putting it on sidebar.php after line 51:

    $menu = wp_nav_menu($args);
    

    Regards,
    Josue

    #214792

    Hi Josue,
    I tried it add below this line, but all menu disapeared and I was not able to load my site.

    Thank you

    Jakub

    #214831

    Hey!

    Please excuse my first reply – I missed that you use Flashlight. Try to insert the switcher below the menu div – after following code

    
    $menu = wp_nav_menu($args);
    echo "</div>";
    

    Regards,
    Peter

    #214854

    Hi,
    I wrote code below this line:
    like this:
    $menu = wp_nav_menu($args);
    echo “</div>”;
    <?php echo(do_shortcode(‘[currency_switcher]’)); ?>
    echo “</div>”;

    But same the same issue.

    Best regards

    Jakub

    #214935

    Hey!

    Please replace your code above with this:

    $menu = wp_nav_menu($args);
    						echo "</div>";
    						echo do_shortcode('[currency_switcher]'); 
    					echo "</div>";

    Cheers!
    Ismael

    #214992

    Hi Ismael,
    now its good!!!
    thank you.

    One more question.
    How could I change currencies names?

    Best regards

    Velinsky

    #215201

    Hi!

    Please try this plugin: http://wordpress.org/plugins/woocommerce-custom-currencies/

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.