Frequently bought together issue not answered
-
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
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
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
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
Yes, just close the topic.
Rune
Always remember that you can reach out to us with any questions you may have.
We wish you a splendid day!
Kind Regards
The topic ‘Frequently bought together issue not answered’ is closed to new replies.