Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Compatibility with Free Gift Coupons #2888
    Domin
    Participant

    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.
    Dominik

    in reply to: Compatibility with Free Gift Coupons #2887
    Domin
    Participant

    Sorry! Really sorry!
    I put the function to the wrong theme… :/

    The filter works of course.

    Thank you very much for your time!

    Dominik

    in reply to: Compatibility with Free Gift Coupons #2885
    Domin
    Participant

    Yes, 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…

    in reply to: Compatibility with Free Gift Coupons #2883
    Domin
    Participant

    That’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..?

    in reply to: Compatibility with Free Gift Coupons #2881
    Domin
    Participant

    Hi,
    I put it to the child theme’s functions.php file.
    Maybe the “child” is the problem?

    DD

    in reply to: Compatibility with Free Gift Coupons #2872
    Domin
    Participant

    I have just sent it via wetransfer then.
    Thank you.
    Dominik

    in reply to: Compatibility with Free Gift Coupons #2868
    Domin
    Participant

    Hello,
    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,
    Dominik

    in reply to: Compatibility with Free Gift Coupons #2839
    Domin
    Participant

    Hi,
    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

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