Repository Forums Support WooCommerce Extended Coupon Features PRO Selecting free product leads to EMPTY CART

Topic Resolution: Resolved

This topic contains 5 replies, has 2 voices, and was last updated by  Soft79 3 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5086

    nevrela
    Participant

    Hi support!

    I was hoping that I will find the answer for my problem in resolved topics but I couldn’t.

    I bought the PRO version to be able to add a free product by coupon. I created the coupon with topic and free product which is supposed to be applied by adding the coupon (no auto-coupon) for any product – so basically default settings with no restrictions.
    When I go to the shop page, I pick a variable product (all products are variable), I go to cart, apply coupon, cart refresh and show “your cart is empy – go back to the shop”.

    I have also tried the scenario with only selected products to which can be the coupon applied, also that the customer have to pick the free gift (lets image the free gift is variable product – so the customer can pick the size/color of the free t-shirt in this case) and the results are same – after adding the free product, choosing the variable of the product (size/color), the cart gets updated and show “empty cart – go back to the shop”

    Im looking forward for your answer …
    Have a nice day!

    #5088

    Soft79
    Keymaster

    Hi,

    This looks like a catch 22. Unfortunately a coupon can’t be applied on an empty cart. Can you test if the coupon works as expected when the cart contains at least 1 item?

    #5089

    nevrela
    Participant

    Hi,

    no, no you probably get it wrong, there is an ITEM in the cart.
    See the video link bellow please

    https://youtu.be/WTJaQfuNZYA

    The debug mode is ON for now,

    This is the woocommerce status:

    
    ### WordPress Environment ###
    
    Home URL: http://dennetabory.sk
    Site URL: http://dennetabory.sk
    WC Version: 3.4.4
    Log Directory Writable: ✔
    WP Version: ❌ 4.9.10 - Je dostupná novšia verzia WordPressu (5.1.1)
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: sk_SK
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.39 - Pre vyšší výkon a bezpečnosť odporúčame používať PHP verziu 7.2 alebo vyššiu. Ako aktualizovať verziu PHP
    PHP Post Max Size: 96 MB
    PHP Time Limit: 0
    PHP Max Input Vars: 1000
    cURL Version: 7.47.0
    OpenSSL/1.0.2g
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.10-MariaDB
    Max Upload Size: 96 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.4.4
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Celková veľkosť databázy: 32.36MB
    Veľkosť údajov v databáze: 22.83MB
    Veľkosť indexu databázy: 9.53MB
    wp_woocommerce_sessions: Data: 0.20MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 0.19MB + Index: 0.06MB
    wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.92MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    wp_atum_order_items: Data: 0.02MB + Index: 0.02MB
    wp_atum_product_data: Data: 0.02MB + Index: 0.03MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.25MB + Index: 0.16MB
    wp_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB
    wp_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB
    wp_fmepco_poptions_table: Data: 0.02MB + Index: 0.00MB
    wp_fmepco_rowoption_table: Data: 0.02MB + Index: 0.00MB
    wp_fmepco_temp_table: Data: 0.02MB + Index: 0.00MB
    wp_geo_mashup_administrative_names: Data: 0.02MB + Index: 0.00MB
    wp_geo_mashup_locations: Data: 0.02MB + Index: 0.06MB
    wp_geo_mashup_location_relationships: Data: 0.02MB + Index: 0.03MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_masterslider_options: Data: 0.02MB + Index: 0.02MB
    wp_masterslider_sliders: Data: 0.02MB + Index: 0.02MB
    wp_ngg_album: Data: 0.02MB + Index: 0.02MB
    wp_ngg_gallery: Data: 0.02MB + Index: 0.02MB
    wp_ngg_pictures: Data: 1.52MB + Index: 0.02MB
    wp_nm_personalized: Data: 0.02MB + Index: 0.00MB
    wp_options: Data: 9.27MB + Index: 0.23MB
    wp_pmxe_exports: Data: 0.02MB + Index: 0.00MB
    wp_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB
    wp_pmxe_posts: Data: 0.02MB + Index: 0.00MB
    wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB
    wp_postmeta: Data: 2.52MB + Index: 2.00MB
    wp_posts: Data: 1.52MB + Index: 0.39MB
    wp_pwebcontact_forms: Data: 0.02MB + Index: 0.00MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.02MB + Index: 0.03MB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB
    wp_ukuu_favorites: Data: 0.02MB + Index: 0.03MB
    wp_upicrm_fields: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_fields_mapping: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_integrations: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_leads: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_leads_campaign: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_leads_integration: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_leads_route: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_leads_status: Data: 0.02MB + Index: 0.03MB
    wp_upicrm_mails: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_options: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_users: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_webservice: Data: 0.02MB + Index: 0.00MB
    wp_upicrm_webservice_parameters: Data: 0.02MB + Index: 0.00MB
    wp_usermeta: Data: 2.52MB + Index: 3.03MB
    wp_users: Data: 1.52MB + Index: 0.72MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_woof_query_cache: Data: 0.02MB + Index: 0.02MB
    wp_wpforms_entries: Data: 0.02MB + Index: 0.02MB
    wp_wpforms_entry_fields: Data: 0.02MB + Index: 0.05MB
    wp_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB
    wp_wpgmza: Data: 0.02MB + Index: 0.00MB
    wp_wpgmza_categories: Data: 0.02MB + Index: 0.00MB
    wp_wpgmza_category_maps: Data: 0.02MB + Index: 0.00MB
    wp_wpgmza_circles: Data: 0.02MB + Index: 0.00MB
    wp_wpgmza_maps: Data: 0.02MB + Index: 0.00MB
    wp_wpgmza_polygon: Data: 0.02MB + Index: 0.00MB
    wp_wpgmza_polylines: Data: 0.02MB + Index: 0.00MB
    wp_wpgmza_rectangles: Data: 0.02MB + Index: 0.00MB
    wp_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB
    wp_yith_wapo_types: Data: 0.02MB + Index: 0.00MB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB
    wp_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    acf-field: 4
    acf-field-group: 1
    attachment: 670
    display_type: 7
    dslc_hf: 2
    dslc_projects: 1
    dslc_staff: 35
    dslc_templates: 6
    dslc_testimonials: 186
    envira: 2
    nav_menu_item: 21
    nemus_slider: 1
    ngg_gallery: 36
    ngg_pictures: 757
    oembed_cache: 1
    page: 40
    popup: 1
    popup_theme: 6
    post: 4
    postman_sent_mail: 1
    product: 48
    product_tabpage: 1
    product_variation: 283
    revision: 157
    shop_coupon: 4
    shop_order: 716
    soliloquy: 1
    tabs_responsive: 43
    ultimate_slider: 1
    wcccf: 3
    wccpf: 5
    wp-type-contacts: 5
    wpforms: 2
    wpgmapembed: 43
    zrf_custom_field: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Váš obchod nepoužíva HTTPS. Zistite viac o HTTPS a SSL certifikátoch.
    Hide errors from visitors: ✔
    
    ### Active Plugins (47) ###
    
    Woocommerce 24pay Payment gateway: 24pay – 1.0.0 – Nebolo testované s aktívnou verziou WooCommerce
    All-in-One WP Migration Unlimited Extension: ServMask – 2.10
    All-in-One WP Migration: ServMask – 6.61
    Anti-spam: webvitaly – 5.3
    GDPR Cookie Consent: WebToffee – 1.7.6
    Display Order Details for WooCommerce: Pinal Shah – 1.0 – Nebolo testované s aktívnou verziou WooCommerce
    WooCommerce Doxx Gateway: codetime – 1.0.1 – Nebolo testované s aktívnou verziou WooCommerce
    Duplicator Pro: Snap Creek – 3.7.8.1
    Google Map Embed: SRMILON – 1.3.7
    Google Analytics Dashboard for WP (GADWP): ExactMetrics – 5.3.7
    Import users from CSV with meta: codection – 1.13
    Live Composer - WooCommerce integration: Live Composer Team – 1.2.5 – Nebolo testované s aktívnou verziou WooCommerce
    Page Builder: Live Composer - drag and drop website builder (visual front end site editor): Live Composer Team – 1.3.9
    Loco Translate: Tim Whitlock – 2.2.0
    Master Slider: averta – 3.4.1
    Meta Box: MetaBox.io – 4.12.6
    Popup Maker: WP Popup Maker – 1.7.30
    Responsive Lightbox: dFactory – 1.7.2
    Fast Secure Contact Form: fastsecure – 4.0.56
    Tabs Responsive: wpshopmart – 1.8.9
    Tidio Chat: Tidio Ltd. – 3.4.0
    TinyMCE Advanced: Andrew Ozz – 4.6.7
    Under Construction: Web factory Ltd – 2.80
    WC Fields Factory: Saravana Kumar K – 3.0.3
    WC Secondary Product Thumbnail: Hendy Tarnando – 1.3.2 – Nebolo testované s aktívnou verziou WooCommerce
    Woo Additional Terms: MyPreview – 1.1.0
    Premmerce WooCommerce Customers Manager: premmerce – 1.1.8
    Woocommerce Customers Order History: javmah – 3.2.0
    WooCommerce Extended Coupon Features PRO: Soft79 – 3.0.7
    WooCommerce Checkout Add-Ons: SkyVerge – 1.11.0 – 2.0.2 je dostupný – Nebolo testované s aktívnou verziou WooCommerce
    WooCommerce Checkout Manager: Visser Labs – 4.1.6 – Nebolo testované s aktívnou verziou WooCommerce
    WooCommerce Custom Product Data Fields: Kharis Sulistiyono – 1.2.4 – Nebolo testované s aktívnou verziou WooCommerce
    WooCommerce Print Invoice & Delivery Note: Tyche Softwares – 4.4.7 – Nebolo testované s aktívnou verziou WooCommerce
    WooCommerce Export Customer Email: MH Mithu – 1.3 – Nebolo testované s aktívnou verziou WooCommerce
    WooCommerce Filter Orders by Product: Md. Kowsar Hossain – 2.0.7 – Nebolo testované s aktívnou verziou WooCommerce
    WooCommerce PayPal Express Checkout Gateway: WooCommerce – 1.4.7 – Nebolo testované s aktívnou verziou WooCommerce
    Booster for WooCommerce: Algoritmika Ltd – 3.8.0
    Advanced Order Export For WooCommerce (Pro): AlgolPlus – 2.1.1
    WOOF - WooCommerce Products Filter: realmag777 – 1.2.1
    WooCommerce SuperFaktúra: Webikon (Ján Bočínec) – 1.6.46 – Nebolo testované s aktívnou verziou WooCommerce
    WooCommerce: Automattic – 3.4.4 – 3.5.7 je dostupný
    WordPress Print This Section: Scott Hair – 2.0.4
    WP Migrate DB: Delicious Brains – 1.0.8
    WP show more: JAMOS Web Service – 1.0.7
    WP SMTP: Yehuda Hassine – 1.1.10
    WPForms: WPForms – 1.5.0.4
    NextGEN Gallery: Imagely – 3.1.6
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Slug pre obchod: #8 - /tabory/
    Košík: ❌ Stránka neobsahuje shortcode.
    Pokladňa: ❌ Stránka neobsahuje shortcode.
    Môj účet: ❌ Stránka neobsahuje shortcode.
    Všeobecné obchodné podmienky: #246 - /obchodne-podmienky/
    
    ### Theme ###
    
    Name: Orao
    Version: 1.0
    Author URL: http://themeforest.net/user/DanyDuchaine
    Child Theme: ❌ – Ak upravujete WooCommerce na rodičovskej téme
    ktorú ste nevytvorili
    odporúčame použiť odvodenú tému. Prečítajte si návod Ako vytvoriť odvodenú tému.
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: chamland-ds-orao/woocommerce/checkout/thankyou.php
    chamland-ds-orao/woocommerce/emails/customer-invoice.php verzia 2.5.0 je zastaralá. Verzia jadra je 3.3.0
    chamland-ds-orao/woocommerce/emails/customer-on-hold-order.php
    
    Outdated Templates: ❌
    					
    					
    						Naučte sa ako aktualizovať
    
    #5090

    Soft79
    Keymaster

    I see.

    I tested a bit, when a product is in the cart and we go back to the shop and add another product to the cart, the first item is removed from the cart. This even happens without the coupon applied. Can you please temporarily disable our plugin to see if the problem persists?

    #5092

    nevrela
    Participant

    That’s our shop set up, that you can get only one product to the cart (by clicking on the button).
    But this set up shouldn’t be in a conflict with a adding product by coupon.
    Same thing happens even when there is an auto-coupon option checked – in this case Im not even able to get to the cart it just gives me message “empty cart”.

    I can provide you with login data somehow so you can have a look around.

    Thanks

    #5094

    Soft79
    Keymaster

    So that’s conflicting. What plugin/snippet do you use to limit the cart to a single product?

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

You must be logged in to reply to this topic.