OFBiz Tutorial – Turning Products On or Off

HotWax SystemsPublished: Updated:

There are a number of reasons that a product or product variant (size, color, etc) may need to be removed from the front end of the site, but we don’t want to remove the product from the system entirely.  This could range from availability, inventory, or seasonal nature of products, or even more specific reasons to your business.  Luckily, OfBiz makes this process very simple, and allows us to set very specific introduction and discontinuation dated on products, right down to the individual variants of the products.  In this OFBiz tutorial we will walk you through this process to show you how it is done.

To be able to set these introduction and discontinuation dates, the user must be at least a Catalog Manager in the system, and we should already have products set up in the system.

Execution Steps

    1. Go to “Catalog” component and click on “Products” tab.ofbiz-tutorial-products-on-off-1sm
    2. Fill in details in search fields on “Find” page and click on “Find” button.ofbiz-tutorial-products-on-off-2sm
    1. System would display the list of existing products based on search inputs.ofbiz-tutorial-products-on-off-3sm
    2. Click on any of the “Product Id” from the list of various products displayed on Find page.
    3. Product Detail will be displayed on “Edit Product” page.

ofbiz-tutorial-products-on-off-4sm

  1. Click on “Dates” tab.ofbiz-tutorial-products-on-off-5sm
  2. Enter the “Introduction Date” to enable the product display or to turn on the product.ofbiz-tutorial-products-on-off-6Lg
  3. Enter the “Sales Discontinuation Thru Date” to discontinue and turn of the product display on the ecommerce storefront.ofbiz-tutorial-products-on-off-7sm
  4. Click on “Update Product” button.ofbiz-tutorial-products-on-off-8

Expected Outcome

  • If the “Introduction Date” is a future date then product display will be turned off till the date specified.
  • If “Introduction Date” is not specified or it is a past date then product display will be turned on for the store front.
  • The changes will get reflected on Edit Product page.
  • Product will be displayed or removed from storefront.

–Chris Gaughan—

chris-gaughan

Chris Gaughan is an OfBiz Designer specializing in Client Training and Support for HotWax Media.

HotWax Systems About HotWax Systems
HotWax Systems is the leading global service provider for Apache OFBiz application development, and creators of HotWax Commerce, the world’s leading open-source Unified Commerce Platform. In 2017, HotWax Systems expanded its portfolio to include a full set of consulting services and custom business solutions based on the Moqui Ecosystem of open source projects.

Leave a Reply

Your email address will not be published. Required fields are marked *