Home / Forums / DynamiX Support / WooCommerce / shop-cart / droppanel

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts

  • keyhanjun
    Participant

    Hi Andy,

     

    is there something special I have to activate in the backend to see the shop-cart in the droppanel?

     

    Want to achieve the same which you can see on this page here which also uses WooCommerce:

     

    http://www.amerikickfitness.com/

     

    I use v2.9 of DynamiX.

     

    Thanks. 😉

    Andy
    Andy
    Keymaster

    Hi keyhanjun, that function is only available in 2.9.1 + 🙂


    keyhanjun
    Participant

    ups… 😛

     

    Will update immediately & report back…

     

    Thanks.

     

    Edit: Awesome, Andy – works like a charm! 🙂


    keyhanjun
    Participant

    Hi Andy,

     

    now I am trying to translate ‘item’, ‘items’ & the text when you hover over the shopping card
    (‘View your shopping card’) without success.

     

    I already tried to translate it via the plugin ‘CodeStyling Localization’ & also via changing the text/code
    in the file ‘functions.php’.

     

    Any ideas?

     

    Thanks. 😉

    Andy
    Andy
    Keymaster

    Hi keyhanjun,

     

    I’ve modified this for the next version – you’ll find the phrase in DynamiX/header.php as well as functions.php.


    keyhanjun
    Participant

    Thanks Andy!

     

    Here is my temporary solution:

     

    file: header.php (line 506)

     

    changed to:

     

    global $woocommerce; // WooCommerce ?>

    <div class=”shop-cart”>

    <span class=”shop-cart-items”>

    <a class=”cart-contents” href=”<?php echo $woocommerce->cart->get_cart_url(); ?>” title=”<?php _e(‘Zum Warenkorb’, ‘NorthVantage’); ?>”>

    <span class=”shop-cart-itemnum”>

    <?php echo sprintf(_n(‘%d Artikel’, ‘%d Artikel’, $woocommerce->cart->cart_contents_count, ‘woothemes’), $woocommerce->cart->cart_contents_count);?> –

    </span>

     

    file: functions.php (line 69):

     

    changed to:

     

    <a class=”cart-contents” href=”<?php echo $woocommerce->cart->get_cart_url(); ?>” title=”<?php _e(‘Zum Warenkorb’, ‘woothemes’); ?>”>

    <span class=”shop-cart-itemnum”>

    <?php echo sprintf(_n(‘%d Artikel’, ‘%d Artikel’, $woocommerce->cart->cart_contents_count, ‘woothemes’), $woocommerce->cart->cart_contents_count);?> –

    </span>

     

    Hope this helps someone till the new version gets released. 😉

    Andy
    Andy
    Keymaster

    It may also work if you change ‘woothemes’ to ‘NorthVantage’ as well (that’s what I have changed for the next version).

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

You must be logged in to reply to this topic.