WooCommerce keeps automatically completing order

[ad_1]

I want to offer a bundle of a physical product and a downloadable product. The downloadable product has a specified release date which is going to be a month before the physical product becomes available.

I am using the WPC Composite Products for WooCommerce plugin to manage the bundle, as it allows me to do bundle discounts.

The downloadable product is set to downloadable only (i.e. virtual product is off).

I’ve run into a couple of things in my testing.

Firstly, even though only products marked as BOTH virtual and downloadable should be auto-completing orders, WooCommerce seems to be skipping to autocompleting every order with a downloadable OR only virtual product in it. This continues to be the case even if I have the “Grant access to downloadable products after payment” option deselected in the “Access restriction” settings.

Secondly, I’d like to be able to send the downloadable product and allow download from a specific date. As I understand, you can only send the links once you mark the order as complete. But if I have different available dates for the physical product, I don’t want to mark the entire order as complete, until the physical product is also shipped. I think I can get around this by selecting the “Grant access to downloadable products after payment” option for new orders that come in after the digital product is available but before the physical product is available, is this correct?

System Status Report

### WordPress Environment ###

WordPress address (URL): [Redacted]
Site address (URL): [Redacted]
WC Version: 9.4.1
Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
Action Scheduler Version: ✔ 3.8.2
Log Directory Writable: ❌ To allow logging
make /home/public/wp-content/uploads/wc-logs/ writable.

WP Version: 6.7
WP Multisite: –
WP Memory Limit: ❌ 40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –

### Server Environment ###

Server Info: Apache
PHP Version: 8.1.30-nfsn2
PHP Post Max Size: 10 MB
PHP Time Limit: 180
PHP Max Input Vars: 1000
cURL Version: 8.7.1
OpenSSL/1.1.1w

SUHOSIN Installed: –
MySQL Version: 10.3.29-MariaDB-1:10.3.29+maria~xenial
Max Upload Size: 10 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

[REDACTED]

### Post Type Counts ###

attachment: 180
custom_css: 2
feedback: 3
nav_menu_item: 2
oembed_cache: 4
page: 24
post: 34
product: 17
protected_areas: 1
revision: 896
shop_coupon: 5
shop_order: 30
wp_block: 1
wp_global_styles: 2
wp_navigation: 2
wp_template: 17
wp_template_part: 8
wpcode: 2

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (15) ###

Allow ePUB and MOBI formats upload: by eKnizky.sk – 1.0
Passster: by Patrick Posner – 4.2.7
CookieYes | GDPR Cookie Consent: by CookieYes – 3.2.7
Editor Plus: by Munir Kamal – 2.10.0
Gutenberg: by Gutenberg Team – 19.6.2
MailerLite - Signup forms (official): by MailerLite – 1.7.13
PixelYourSite: by PixelYourSite – 10.0.0
Product Pre-Orders for Woocommerce: by VillaTheme – 1.2.5
Advanced Shipment Tracking for WooCommerce: by zorem – 3.7.1
MailerLite - WooCommerce integration: by MailerLite – 2.1.25
WooCommerce Order Test - WP Fix It: by WP Fix It – 3.4
WooCommerce Product Dependencies: by WooCommerce – 2.0.1
WooCommerce Square: by WooCommerce – 4.8.3
WooCommerce: by Automattic – 9.4.1
WPC Composite Products for WooCommerce: by WPClever – 7.3.8

### Inactive Plugins (4) ###

Google Analytics for WooCommerce: by WooCommerce – 2.1.8
Jetpack: by Automattic – 14.0
Site Kit by Google: by Google – 1.139.0
WPCode Lite: by WPCode – 2.2.3.1

### Settings ###

Legacy API Enabled: –
Force SSL: –
Currency: AUD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: composite (composite)
external (external)
grouped (grouped)
simple (simple)
variable (variable)
woosb (woosb)

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: –
Enforce Approved Product Download Directories: ✔
HPOS feature enabled: –
Order datastore: WC_Order_Data_Store_CPT
HPOS data sync enabled: –

### Logging ###

Enabled: ✔
Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
Retention period: 30 days
Level threshold: –
Log directory size: 0 B

### WC Pages ###

Shop base: #477 - /shop/
Cart: #478 - /cart/ -  Contains the woocommerce/cart block
Checkout: #479 - /checkout/ -  Contains the woocommerce/checkout block
My account: #480 - /my-account/
Terms and conditions: #481 - /refund_returns/

### Theme ###

Name: Livro
Version: 1.0.25
Author URL: https://automattic.com/
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ❌ Not declared

### Templates ###

Overrides: /home/public/wp-content/plugins/woocommerce/templates/block-notices/error.php
/home/public/wp-content/plugins/woocommerce/templates/block-notices/notice.php
/home/public/wp-content/plugins/woocommerce/templates/block-notices/success.php


### Square ###

Environment: Production
Tokenization Enabled: –
Debug Mode: Off

### Admin ###

Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
pattern-toolkit-full-composability
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
printful
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-store

Disabled Features: product-data-views
experimental-blocks
minified-js
product-pre-publish-modal
settings
async-product-editor-category-field
product-editor-template-system
blueprint
reactify-classic-payments-settings
use-wp-horizon

Daily Cron: ✔ Next scheduled: 2024-11-17 07:01:03 +10:00
Options: ✔
Notes: 143
Onboarding: completed

### Action Scheduler ###

Complete: 3,052
Oldest: 2024-10-17 03:49:51 +0000
Newest: 2024-11-17 03:36:15 +0000

Failed: 27
Oldest: 2023-02-15 17:06:20 +0000
Newest: 2024-06-10 22:00:16 +0000

Pending: 4
Oldest: 2024-11-17 04:06:01 +0000
Newest: 2024-11-21 04:29:49 +0000


### Status report information ###

Generated at: 2024-11-17 13:47:10 +10:00
  • This topic was modified 15 hours, 39 minutes ago by delilahwaan.
  • This topic was modified 15 hours, 38 minutes ago by delilahwaan. Reason: Fix typo

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer