This topic has 13 replies, 3 voices, and was last updated 9 years by Andrei.

  • Author
  • #85273
     costa974
    Participant

    kleo mini cart doesn’t call all the hook and action the woocommerce cart does!

    please fix it

    #85278
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #85281
     costa974
    Participant

    for example: woocommerce_cart_item_price, woocommerce_single_product_image_html, woocommerce_cart_item_name

    #85283
     costa974
    Participant

    Thanks, maybe I bought the wrong theme, it seems to be very buddypress oriented. But it’s so beautiful!

    #85652
     costa974
    Participant

    So? Any news? Have I to implement it by myself?

    #85821
     costa974
    Participant

    ???

    #86196
     costa974
    Participant

    ?????????????????????????????????????????????????

    #86198
     Andrei
    Moderator

    Hi,

    Sorry for the late reply, can you please provide a few more details about what you’re trying to achieve and it doesn’t work ? When you’re referring to the mini-cart, should I understand that you’re referring to the ajax shopping bag from the main menu ? Please provide me more details so I can help you out.

    Looking forward.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #86367
     costa974
    Participant

    I use the following woocommerce hooks to customize the shopping cart and everything works fine in standard woocommerce cart:
    woocommerce_cart_item_name
    woocommerce_single_product_image_html
    woocommerce_cart_item_subtotal
    woocommerce_cart_item_price

    But these hooks are not called by your ajax minicart.

    I think you should follow the reference implementetion of woocommerce minicart in

    plugins\woocommerce\templates\cart\mini-cart.php

    If you open that file you will notice they keep calling apply_filters()… so that custom hook code is properly called.

    Thanks

    #87380
     costa974
    Participant

    Too difficult?

    #87381
     Andrei
    Moderator

    Absolutely not, I’ll be giving a closer look into this and I’ll get back to you with more details.

    Thank you for your patience.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #88344
     Andrei
    Moderator

    Hi,

    Please use the file you can find in the attached archive to replace the following file “wp-content/themes/kleo/lib/plugin-woocommerce/config.php” and in the future we’ll include this in our release as well.

    I have added the following filters:

    woocommerce_cart_item_product
    woocommerce_cart_item_name
    woocommerce_cart_item_thumbnail
    woocommerce_cart_item_price
    woocommerce_cart_item_quantity

    Let me know if you need any more help with this.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    #88808
     costa974
    Participant

    Thanks, it works

    #88810
     Andrei
    Moderator

    I’m glad to hear that!

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 14 posts - 1 through 14 (of 14 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?