//
you're reading...
Uncategorized

Hide parent order / force display for a product

Order Splitter for WooCommerce has a variety of features to split items and options to handle the main/parent & splitted/child orders. One of these options, Hide parent order after split on thankyou page.

Hide parent order on thankyou page after split

User can hide parent order on thankyou page with this option. Main/parent order can be displayed on thankyou page with condition. For example, we need to display parent order when some specific item(s) is in the parent order. To achieve this, add meta-key wos_force_display  through custom fields in specific item(s).

Whenever an item with this meta-key will be in the parent order, parent order cannot be hidden on thankyou page even if you have turned on Hide parent order on thankyou page.

If you cannot find custom fields section on product edit page, make sure you have turned them on from screen options.

Enable custom fields in screen options

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: