legacy-knowledge-base
公開されました Jun. 30, 2025

Virtual product order status and tax

written-by

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • Require the following with the virtual product:
    • No need for user personal data and would like to remove it for checkout.
    • The order status should moved to completed status directly after the payment.

Environment

  • Liferay DXP 7.4 
  • Commerce 4.0

Resolution 

NOTE: The following resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations.

  • Use the type Virtual to create the products in regards to these. Tax calculation can be ignored by enabling 'Tax Exempt', please navigate to Control Panel → Products → Click on your product → go to Configuration Tab and disable it.
  • The 'Shippable' field in the same Tab can also be disabled.
  • Disable the shipping address checkout step. This is possible by disabling Shippable the product. (This is automatically done for virtual products)
  • Disable the Billing Address Checkout step if the product is virtual.
  • Accept the order and put it to Completed right away as soon as the order is placed for this product.
  • Regarding the complete status of the products: this might be feasible with an object action, but it is not recommended because there are many validations in the back-end when transitioning order statuses in Liferay commerce: Implementing a Custom Order Status

Additional Information

  • Refer to this: Configuring Virtual Products 
    "When you set up a virtual product you decide when you want it to be activated (activation status in the base information section of the virtual tab of the product settings) "
  • Net price / gross price can be set in both channels and price lists: Creating-a-price-list 
did-this-article-resolve-your-issue

legacy-knowledge-base