Forum Replies Created
-
AuthorPosts
-
DominParticipant
One more short question.
Is any filter that could show in the cart – the real price in the “price” column (instead of “Free!”)? And “Free” would be only in the last column?
Then a client would see the real value of the gift.Thank you.
DominikDominParticipantSorry! Really sorry!
I put the function to the wrong theme… :/The filter works of course.
Thank you very much for your time!
Dominik
DominParticipantYes, of course. There is a few working functions…
Tried also:
add_action( ‘after_setup_theme’, ‘run_autocode’ );
function run_autocode() {
add_filter( ‘wjecf_coupon_has_a_value’, function( $has_a_value, $coupon ) { return true; }, 10, 2);
}But no effect…
DominParticipantThat’s it! When I put it to the main-theme functions.php it works correctly.
Is there a way to put this function to the child..?DominParticipantHi,
I put it to the child theme’s functions.php file.
Maybe the “child” is the problem?DD
DominParticipantI have just sent it via wetransfer then.
Thank you.
DominikDominParticipantHello,
Unfortunatelly the code:
add_filter( 'wjecf_coupon_has_a_value', function( $has_a_value, $coupon) { return true; }, 10, 2);
does not work.I have sent you the plugin to inspect.
Thank you in advance for fix.
Regards,
DominikDominParticipantHi,
I see that you are not interested in resolving the problem? 🙂It won’t be cheaper if I spend money for two different plugins 🙂
But if you have a discount coupon I would consider this option.Regards,
Dominik -
AuthorPosts