• Not show download link digital product when checkout guest user (not create user)

    I use script for mark product to only can download by guest user, it’s already works.

    Enable : Allow customers to place orders without an account

    Access restriction
    Enable : Downloads require login (This setting does not apply to guest purchases.)

    Enable : Grant access to downloadable products after payment (Enable this option to grant access to downloads when orders are “processing”, rather than “completed”.)

    All process check out is works, but no direct download link show up

    And when click download link from email, it required to login, but guest account doesn’t have an account to login.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    I just tested on my personal site with a Downloadable product and guest checkout, using the same Enable : Downloads require login and Enable : Grant access to downloadable products after payment settings that you have, however after checkout the download links displayed as expected:

    download links
    Link to image: https://d.pr/i/yT4USS

    Also, opening the link from the email downloaded the file directly.

    What payment gateway were you using for checking out? If using PayPal, please refer to this FAQ about downloadable products:
    https://docs.woocommerce.com/document/digital-downloadable-product-handling/#section-14

    If you are still having trouble, please share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your reply. Please note that since this is a public forum, you may want to remove any sensitive information that you don’t want shared publicly.

    Thread Starter Hilfan Soeltansyah

    (@hilfans0)

    Hi kelly,

    Thank you for your reply.

    I’m not using any payment gateway, because all product is free for all registered member (customer type user account). And some product is free for unregistered member (Guest Account).

    I’m not choose any option on Payment methods, and all product price set to 0.

    Below is Woo System status

    Regards,

    Hilfan

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://app-pack.telkomuniversity.ac.id
    Site address (URL): https://app-pack.telkomuniversity.ac.id
    WC Version: 4.7.0
    REST API Version: ✔ 4.7.0
    WC Blocks Version: ✔ 3.6.0
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 1.6.3
    Log Directory Writable: ✔
    WP Version: 5.5.3
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.12
    PHP Post Max Size: 50 MB
    PHP Time Limit: 150
    PHP Max Input Vars: 1000
    cURL Version: 7.73.0
    OpenSSL/1.1.1h
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.49
    Max Upload Size: 50 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.7.0
    WC Database Prefix: wpqr_
    Total Database Size: 59.04MB
    Database Data Size: 53.14MB
    Database Index Size: 5.90MB
    wpqr_woocommerce_sessions: Data: 9.31MB + Index: 0.29MB + Engine MyISAM
    wpqr_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpqr_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_woocommerce_downloadable_product_permissions: Data: 0.06MB + Index: 0.08MB + Engine MyISAM
    wpqr_woocommerce_order_items: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    wpqr_woocommerce_order_itemmeta: Data: 0.16MB + Index: 0.13MB + Engine MyISAM
    wpqr_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpqr_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_actionscheduler_actions: Data: 0.54MB + Index: 0.26MB + Engine MyISAM
    wpqr_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpqr_actionscheduler_logs: Data: 0.34MB + Index: 0.29MB + Engine MyISAM
    wpqr_commentmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wpqr_comments: Data: 0.05MB + Index: 0.03MB + Engine MyISAM
    wpqr_defender_lockout: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wpqr_defender_lockout_log: Data: 0.21MB + Index: 0.01MB + Engine MyISAM
    wpqr_erp_acct_product_price: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_lic_key_tbl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_lic_reg_domain_tbl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_mailchimp_carts: Data: 0.06MB + Index: 0.01MB + Engine MyISAM
    wpqr_mailchimp_jobs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpqr_ms_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_options: Data: 8.46MB + Index: 0.17MB + Engine MyISAM
    wpqr_postmeta: Data: 13.96MB + Index: 2.52MB + Engine MyISAM
    wpqr_posts: Data: 18.22MB + Index: 0.73MB + Engine MyISAM
    wpqr_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_css_bkp: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_navigations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_sliders: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_sliders_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_slides: Data: 0.17MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_smush_dir_images: Data: 0.46MB + Index: 0.23MB + Engine MyISAM
    wpqr_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_stock_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_swpm_membership_meta_tbl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_swpm_membership_tbl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_swpm_members_tbl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_swpm_payments_tbl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpqr_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpqr_term_relationships: Data: 0.15MB + Index: 0.43MB + Engine MyISAM
    wpqr_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpqr_usermeta: Data: 0.35MB + Index: 0.24MB + Engine MyISAM
    wpqr_users: Data: 0.03MB + Index: 0.04MB + Engine MyISAM
    wpqr_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpqr_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine MyISAM
    wpqr_wc_download_log: Data: 0.09MB + Index: 0.08MB + Engine MyISAM
    wpqr_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wc_order_product_lookup: Data: 0.04MB + Index: 0.04MB + Engine MyISAM
    wpqr_wc_order_stats: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpqr_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wc_product_meta_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpqr_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpqr_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_webpushr_abandoned_cart: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpqr_wp_cloudplugins_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wuoy_affiliate_bonus: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wuoy_affiliate_fbcode: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wuoy_bca: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wuoy_bri: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wuoy_link_statistic: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wuoy_link_statistic_date: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_wuoy_mandiri: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpqr_yith_wcwl: Data: 0.09MB + Index: 0.05MB + Engine MyISAM
    wpqr_yith_wcwl_lists: Data: 0.11MB + Index: 0.07MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    attachment: 831
    feedzy_categories: 1
    feedzy_imports: 11
    forum: 1
    mc4wp-form: 1
    nav_menu_item: 202
    oembed_cache: 71
    page: 22
    post: 3029
    product: 209
    revision: 2
    shop_order: 255
    templatera: 7
    testimonial: 4
    topic: 1
    wc_membership_plan: 1
    wc_memberships_team: 1
    wc_user_membership: 1
    wdf_scan: 1
    wdf_scan_item: 6
    wpcf7_contact_form: 3
    wphb_minify_group: 61
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (50) ###
    
    Redux: by Redux.io + Dovy Paukstys – 4.1.23
    Admin Menu Editor Pro: by Janis Elsts – 2.12.4
    Akismet Anti-Spam: by Automattic – 4.1.7
    Authorizer: by Paul Ryan  – 2.10.0
    bbPress Shortcodes: by NexGenForo – 1.0
    bbPress: by The bbPress Contributors – 2.6.6
    Change Password Protected Message: by pipdig – 1.2.5
    Classic Editor Addon: by <a href="https://so-wp.com">Pieter Bos</a>
    <a href="https://gschoppe.com">Greg Schoppe</a> – 2.6.3
    
    Classic Editor: by WordPress Contributors – 1.6
    Code Snippets: by Code Snippets Pro – 2.14.0
    Contact Form 7: by Takayuki Miyoshi – 5.3
    Duplicate Post Page Menu & Custom Post Type: by Inqsys Technology – 1.5.1
    Envato Elements: by Envato – 2.0.7
    Featured Image from URL | FIFU: by fifu.app – 3.4.3
    Featured Images in RSS for Mailchimp & More: by 5 Star Plugins – 1.5.7
    Feedzy RSS Feeds Premium: by Themeisle – 1.6.12
    Feedzy RSS Feeds Lite: by Themeisle – 3.5.1
    GD bbPress Attachments: by Milan Petrovic – 4.1
    Beehive Pro: by WPMU DEV – 3.3.4
    Head, Footer and Post Injections: by Stefano Lissa – 3.2.1
    Hide Price Until Login: by CedCommerce – 1.0.10
    Jetpack by WordPress.com: by Automattic – 9.1
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.4.2
    Mailchimp for WooCommerce: by Mailchimp – 2.4.7 – Installed version not tested with active version of WooCommerce 4.7.0
    MC4WP: Mailchimp for WordPress: by ibericode – 4.8.1
    Mega Main Menu: by MegaMain.com – 2.2.1
    Slider Revolution: by ThemePunch – 6.2.22
    RoadThemes Helper: by RoadThemes – 1.0.0
    Rotating Tweets (Twitter widget & shortcode): by Martin Tod – 1.9.10
    Simple Local Avatars: by Jake Goldman
    10up – 2.2.0
    
    Simple product counter: by WebArea – 2.1.0
    Snapshot Pro: by WPMU DEV – 3.3.0
    Templatera: by WPBakery – 1.1.12
    Testimonials: by WooThemes – 1.5.4
    Advanced Editor Tools (previously TinyMCE Advanced): by Automattic – 5.5.1
    Branda Pro: by WPMU DEV – 3.4.1
    WP Cloud Plugin Use-your-Drive (Google Drive): by WP Cloud Plugins – 1.15.5
    Webpushr Push Notifications: by Webpushr – 4.15.0
    WooCommerce Checkout Field Editor: by WooCommerce – 1.5.36 – Installed version not tested with active version of WooCommerce 4.7.0
    WooCommerce Max Quantity: by Isabel Castillo – 1.5.2 – Installed version not tested with active version of WooCommerce 4.7.0
    WooCommerce Stock Manager: by StoreApps – 2.5.2 – Installed version not tested with active version of WooCommerce 4.7.0
    WooCommerce: by Automattic – 4.7.0
    Notifier to Whatsapp: by QODR – 0.3.9 – Installed version not tested with active version of WooCommerce 4.7.0
    Defender Pro: by WPMU DEV – 2.3.2
    Hummingbird Pro: by WPMU DEV – 2.7.0
    WP-PostViews: by Lester 'GaMerZ' Chan – 1.76.1
    Smush Pro: by WPMU DEV – 3.7.2
    SmartCrawl Pro: by WPMU DEV – 2.8.3
    WPMU DEV Dashboard: by WPMU DEV – 4.10.5
    YITH WooCommerce Wishlist: by YITH – 3.0.16
    
    ### Inactive Plugins (1) ###
    
    Simple WordPress Membership: by smp7
    wp.insider – 4.0.2
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: IDR (Rp)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 0
    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)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: #12 - /shop/
    Cart: #1486 - /cart/
    Checkout: #13 - /checkout/
    My account: #14 - /my-account/
    Terms and conditions: #3 - /term-and-condition/
    
    ### Theme ###
    
    Name: Sinrato Child Theme
    Version: 1.0
    Author URL: http://plazathemes.com/
    Child Theme: ✔
    Parent Theme Name: Sinrato
    Parent Theme Version: 1.0.4
    Parent Theme Author URL: http://plazathemes.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: sinrato-child/woocommerce/archive-product.php
    sinrato-child/woocommerce/cart/cart.php
    sinrato-child/woocommerce/cart/cross-sells.php
    sinrato-child/woocommerce/cart/mini-cart.php
    sinrato-child/woocommerce/checkout/form-checkout.php
    sinrato-child/woocommerce/content-product.php
    sinrato-child/woocommerce/content-product_cat.php
    sinrato-child/woocommerce/content-single-product.php
    sinrato-child/woocommerce/content-widget-product.php
    sinrato-child/woocommerce/global/breadcrumb.php
    sinrato-child/woocommerce/loop/loop-end.php
    sinrato-child/woocommerce/loop/loop-start.php
    sinrato-child/woocommerce/loop/orderby.php
    sinrato-child/woocommerce/loop/pagination.php
    sinrato-child/woocommerce/myaccount/my-orders.php
    sinrato-child/woocommerce/single-product/related.php
    sinrato-child/woocommerce/single-product/up-sells.php
    sinrato-child/woocommerce/single-product.php
    
    ### Action Scheduler ###
    
    Canceled: 3
    Oldest: 2020-11-11 22:10:06 +0700
    Newest: 2020-11-15 18:32:03 +0700
    
    Complete: 1,939
    Oldest: 2020-10-20 19:11:02 +0700
    Newest: 2020-11-20 05:52:39 +0700
    
    Pending: 25
    Oldest: 2020-11-20 08:21:20 +0700
    Newest: 2020-11-22 02:18:36 +0700
    
    
    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there Hilfan,

    Thank you for providing that Status Report. I see that you have a number of different plugins that could be affecting the default behavior, as well as a custom theme that could be causing the links not to display.

    To check for conflicts in plugin/theme code, please temporarily switch your theme back to the default Storefront theme and disable all plugins except for WooCommerce, then check to see if the issue is fixed. If it is, then switch your theme back and reactivate plugins one-by-one until you find the one that is causing the issue.

    You can read about testing for conflicts in our documentation here:
    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not show download link digital product when checkout guest user’ is closed to new replies.