Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Avatar: mario83
    mario83
    Participant
    April 1, 2015 at 10:13

    I did it in the meanwhile. Added in the array
    ‘orderby’=> ‘id’,
    ‘order’ => ‘asc’,

    to shortcodes.php in WooCommerce PRODUCT slider and grid section. If somebody is looking for the same thing.

    Avatar: mario83
    mario83
    Participant
    March 3, 2015 at 09:59

    Thank you. Actually it works. It’s not a happy solution because obviously somethings wrong, but it will work for now until the theme is either updated or serve another plugin. Thanks again

    Avatar: mario83
    mario83
    Participant
    March 2, 2015 at 22:30

    Thank you Robert! Although it’s a shame it became deprecated, they looked nice.

    Thank you again for clarification.

    Avatar: mario83
    mario83
    Participant
    March 2, 2015 at 22:09

    Doesn’t it have something to do with class buttons_added?

    Avatar: mario83
    mario83
    Participant
    March 2, 2015 at 22:07

    screenshot

    Hi, I was referring to this arrows.. Is this the feature you’re referring it’s deprecated? Thanks

    Avatar: mario83
    mario83
    Participant
    March 2, 2015 at 21:52

    Sorry, I’m still building the website on localhost and it’s not publicly exposed. Do you have any other suggestions? Teamviewer perhaps?
    BTW: I have looked it some more, in init of the plugin includes minified version of javascript which doesn’t ‘have’ the function you call in theme. they have made this function not available from anywhere else.

    Avatar: mario83
    mario83
    Participant
    March 2, 2015 at 19:24

    Hi,
    thank you for reply but it doesn’t help.
    I forgot to mention earlier that adding products to wishlist is only possible when I’m logged in as an administrator.
    what i can see from code is that this removal button is of class class=”remove” and has a ‘onclick’ call to remove_item_from_wishlist() function. However, latest version of plugin Yith wishlist (v2.0.3.) has its own binding to that function with:
    $(document).on( ‘click’, ‘.remove_from_wishlist’, function( ev ){
    var t = $( this );
    ev.preventDefault();
    remove_item_from_wishlist( t );
    return false;
    } );
    they bind to a class which doesn’t exist in the whole theme (v2.6.2) and the jquery.yith-wcwl.js file in which remove_item_from_wishlist() function is implemented is not visible to theme files.

    It’s probably something similar to ‘add to wish list’ functionality.
    Importing that .js would probably fix this issue, but if versions of theme and plugin are incompatible in any other area, I don’t think that this is the way to do it.

    Does any of this help?

    It is possible that I got it wrong, I only took a look at the theme and plugin source code.

    Avatar: mario83
    mario83
    Participant
    March 2, 2015 at 18:00

    After spending all day by google for a solution, it seems to me that it is a theme issue after updating wishlist plugin. The theme is overwriting wishlist templates with the old ones.

    This is what I get in the console:
    Uncaught ReferenceError: remove_item_from_wishlist is not defined

    I’ve found that many people has resolved this issue by updating the theme.

    Any help is appreciated.

    Avatar: mario83
    mario83
    Participant
    March 2, 2015 at 15:44

    <a href="javascript:void(0)" onclick="remove_item_from_wishlist( '/wishlist/view/?remove_from_wishlist=2', 'yith-wcwl-row-2');" class="remove" title="Remove this product">×</a>

    <a href="javascript:void(0)" onclick="remove_item_from_wishlist( 'https://www.8theme.com/demo/legenda/wp-admin/admin-ajax.php?wishlist_item_id=7925', 'yith-wcwl-row-7925');" class="remove" title="Remove this product">×</a>

    Forgot to wrap it

    Avatar: mario83
    mario83
    Participant
    March 2, 2015 at 15:44

    When I right click Inspect element this is what I get at my website:
    ×

    And this is how it looks on yours:

    ×

    Maybe that would give you some deeper insight.

    Avatar: mario83
    mario83
    Participant
    March 2, 2015 at 13:30

    Hi, I’m still running the site on localhost as I build it for the client. Therefore, as much as I would like to, I cannot provide you access at this point..

    Please, contact administrator
    for this information.
  • Viewing 11 results - 1 through 11 (of 11 total)
Viewing 11 posts - 1 through 11 (of 11 total)
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.