Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Free products doesn't show when customer not logged in
- This topic has 8 replies, 2 voices, and was last updated 6 years ago by mail5.
-
AuthorPosts
-
April 12, 2018 at 10:31 am #2994mail5Participant
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
April 12, 2018 at 10:38 am #2996Soft79KeymasterWhat are all settings of the coupon? What message do you get if you manually try to apply the coupon when not logged in?
April 12, 2018 at 11:46 am #2997mail5ParticipantThe 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.
April 18, 2018 at 11:51 am #3057mail5ParticipantHi,
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?
April 18, 2018 at 3:59 pm #3058Soft79KeymasterIk zal even kijken als u een link + instructies geeft om het in uw winkel te kunnen bekijken.
April 25, 2018 at 11:44 am #3129mail5ParticipantKan ik de inlogcodes naar een bepaald e-mailadres sturen? Anders staan ze hier openbaar namelijk
April 25, 2018 at 1:15 pm #3130Soft79KeymasterKan naar admin at soft79.nl
April 25, 2018 at 1:49 pm #3131Soft79KeymasterSomebody 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?
April 30, 2018 at 12:06 pm #3156mail5ParticipantHi,
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.
-
AuthorPosts
- You must be logged in to reply to this topic.