• Resolved fghdev

    (@fghdev)


    In the previous version of jigoshop we use the amr shortcode any widget plugin to add the multi currency plugin to the product page. The new version of jigoshop does render the widget code, if I customize the product.php page to have this text:

    [do_widget “Jigoshop: Multi Currencies”]

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter fghdev

    (@fghdev)

    Any idea how to add the Multi Currencies widget on the product page without using the sidebar layout?

    Please edit your templates/shop/product.php file in wp-content/plugins/jigoshop-ecommerce (or copy the above file to wp-content/themes/[your_theme_name]/jigoshop/shop) and on the end of line 8 please insert the following: $mcWidget = do_shortcode('[do_widget id=WIDGET_ID]');, where WIDGET_ID is the id ID you got from AMR when adding the widget to “Widgets for shortcodes”. Then – in the same file – insert the code <?php echo $mcWidget; ?> where you would like the widget to display (ie. under <article ...).
    We will make this simpler in the future, but for now, it’s the only way of doing this.

    Thread Starter fghdev

    (@fghdev)

    Solution works perfectly. Thank you Marcin.

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

The topic ‘amr shortcode any widget’ is closed to new replies.