Repository Forums Support WooCommerce Extended Coupon Features PRO Free products doesn't show when customer not logged in

Topic Resolution: Resolved
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2994
    mail5
    Participant

    Hi Guys,

    First of all, great plugin. I do have one problem:
    When i’m logged in the free are shown when the cart total is at least €20. But when i’m not logged in, the free product doesn’t show at all. I checked all the setting but can’t see any restriction that can cause this. Can you help me out?

    Kind regard,

    Erik

    #2996
    Soft79
    Keymaster

    What are all settings of the coupon? What message do you get if you manually try to apply the coupon when not logged in?

    #2997
    mail5
    Participant

    The message i get after manually apply the coupon is that the coupon isn’t valid for the choosen shipping methode. That makes sense because the shipping methode is determined after the customer fill in there address.

    #3057
    mail5
    Participant

    Hi,

    Ik kom er net achter dat jullie Nederlands zijn;)

    Ik ben er dus achter wat het probleem is. Je moet voor de coupon een verzendmethode invullen. Deze verzendmethoden wordt pas bepaald op de check-out pagina, omdat deze website aan slechts een aantal postcodes levert.

    Is er toch een manier dat er gratis producten aangeboden worden in de winkelwagen, zonder dat de verzendmethode is ingevoerd?

    #3058
    Soft79
    Keymaster

    Ik zal even kijken als u een link + instructies geeft om het in uw winkel te kunnen bekijken.

    #3129
    mail5
    Participant

    Kan ik de inlogcodes naar een bepaald e-mailadres sturen? Anders staan ze hier openbaar namelijk

    #3130
    Soft79
    Keymaster

    Kan naar admin at soft79.nl

    #3131
    Soft79
    Keymaster

    Somebody placed this css which hides the selection:

    .page-id-6 .wjecf-fragment-checkout-select-free-product {
        display: none!important;
    }
    

    Also, to allow the Free Products to appear dynamically: copy wp-content/plugins/woocommerce-auto-added-coupons-pro/templates/checkout/select-free-product.php to wp-content/YOUR_CHILD_THEME/woocommerce-auto-added-coupons/checkout/select-free-product.php and comment or remove this line:

    if (empty( $coupons_form_data ) ) return;

    But; it seems that you allow the coupon for any of the shipping/payment methods so why not remove these conditions completely from the coupon?

    #3156
    mail5
    Participant

    Hi,

    The css has the class .page-id-6 which is the check-out page. I don’t want the option to show on this page, that’s the reason the css is placed.

    I hovered the questionmark after the shipping methods. When i translate the text to english is says: You have to choose one of these shipping methods to use this coupon. So i thought i have to select them all. I deleted all shipping methods and now it’s works great.

    Thanks for your help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.