Home Forums WoodMart support forum Frequently bought together issue not answered

Frequently bought together issue not answered

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #499855

    metuza
    Participant

    Hello,

    My ticket at https://xtemos.com/forums/topic/frequently-bought-together-compability-issues/ was closed without answering my question.

    In regards to the issue i was wondering if you could add a filter as in my example below so i can edit the priority without editing core files.

    Just add something like this:
    $priority = apply_filters( ‘woocommerce_get_price_html_priority’, 10 );
    add_filter( ‘woocommerce_get_price_html’, array( $this, ‘update_product_price’ ), $priority, 2 );

    Then i can easily change the priority as below:
    // Change price html priority for frequently bought together
    function afas_change_price_html_priority() {
    return 11;
    }
    add_filter( ‘woocommerce_get_price_html_priority’, ‘afas_change_price_html_priority’ );

    Brgds
    Rune

    #499877

    Luke Nielsen
    Keymaster

    Hello,

    Thank you for sharing your ideas for changes to the theme. We appreciate your input. After careful consideration, we regret to inform you that we won’t be able to incorporate these specific changes at this time. However, we remain committed to providing you with the best possible experience and will continue to consider future enhancements.

    Don’t hesitate to let me know if you need any further help or any other info.

    Kind Regards

    #499885

    metuza
    Participant

    Well, i just got YITH to add the filter. A little more risky as their function works with hundreds of discounts possibilities compared to woodmart only 1-2. Anyway, YITH is known for the best support and developers 😉

    Rune

    #499889

    Luke Nielsen
    Keymaster

    Hello,

    Glad that you found a solution.

    I do hope you would remain as our valued customer and thank you for your time.

    So we can close the topic?

    Kind Regards

    #499891

    metuza
    Participant

    Yes, just close the topic.

    Rune

    #499892

    Luke Nielsen
    Keymaster

    Always remember that you can reach out to us with any questions you may have.

    We wish you a splendid day!

    Kind Regards

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

The topic ‘Frequently bought together issue not answered’ is closed to new replies.