Skip to main content

Extension Testing

Fynd Partners provides development companies to test their extensions and themes in production environment on Fynd Commerce without affecting managed companies.

Here are some of the benefits of using development companies for testing extensions:

  • Test your extension in a production like environment without affecting managed companies.
  • Quickly populated test data, so you can test their code thoroughly without having to waste time in creating test data.
  • Free to use, and Partners can create an unlimited number of them.
  • You can process entire order journey in development companies to enable testing of any extension feature.

Create Development Company

To create development company follow the below given instructions:

  1. Go to Fynd Partners.
  2. Login to Fynd Partners.
  3. Select a suitable organization.
  4. Go to Companies and then go to Development tab.
  5. Click Add.
  6. Fill in the required details.
  7. Click Save. Your account is created and will be available in the development company page.
  8. Click the required development company from the listing page.
  9. You will be redirected to the development company in the Fynd Commerce.

Using Development Company

A development company allows users to perform all the actions and configurations available in a managed account, but within a testing environment. With a development company, users can create products, set up brands, configure payments, and test various platform features without affecting any live data or processes. This environment is ideal for testing integrations, making customizations, and installing extensions before deploying them in a live environment.

In the development company, users can also install extensions from other partner organizations. Whether the extension is public or private, development company users have full access to install and test these extensions. For private extensions, specific company IDs can be added as subscribers, allowing those companies, even if they belong to different development companies, to install the extension.

note

This feature applies to all free extensions, but does not extend to paid extensions.

Installing Extensions in a Development Company

  1. Navigate to your development company in the Fynd Partner Panel.
  2. Go to Extension.
  3. Click Extension Marketplace.
  4. Choose and install a published extensions from the marketplace.

For more detailed information on managing extensions, using managed accounts, or other platform functionalities, please refer to the Fynd Commerce-User Guide.

Populate Test Data

Populating Test Data via FDK CLI

  1. Run the following command to log into your Fynd Partner account:
fdk login
note

Make sure you have latest version of FDK CLI installed.

  1. It will direct you to Choose Partner Organization page, select the desired organization.
  2. In the terminal following status will appear: User logged in successfully.
  3. Run the following command:
fdk populate
  1. It will ask for the company ID.
  2. You will find it in the URL of Fynd Commerce page.
  3. Enter the company ID.
  4. In the terminal, following status will appear:
    1. Creating Brand
    2. Brand Updated Successfully
    3. HSN Code Created Successfully
    4. X Products Created Successfully (X = number of products)
    5. Y Inventory Updated Successfully (Y = number of inventory)
    6. Setup is Done
  5. Test Data is successfully added in your development company.

Populating Sample Data via Partner Panel

When creating a development company you now have the option to populate it with sample data directly through the user interface. This feature allows for a setup, ensuring that development companies are pre-populated with essential data such as products, brands, and inventory, making it easier to test platform functionalities without the need for manual input.

Steps to Populate Sample Data

  1. Navigate to the Partner Panel.
  2. Go to Companies.
  3. Click Add in Create Development Company.
  4. Enter the necessary details, such as company name, business details, and more.
  5. Choose to Populate Sample Data:
    1. During the company creation process, select the option to Populate Sample Data.
    2. This will automatically add predefined test data to your development company.
  6. What is Included in the Sample Data:
    1. Brands: A sample brand will be created and updated.
    2. HSN Codes: Harmonized System (HS) codes for products will be generated.
    3. Products: A set of sample products will be created and listed in the account.
    4. Inventory: The inventory associated with these products will be populated, allowing you to test various order and inventory-related functionalities.
  7. Once the development company is created, and the sample data has been populated, you will see a confirmation message indicating that the setup is complete and the test data has been added successfully.

Process Order

Check Self-ship Settings in Sales Channel

  1. Go to Sales Channel → SettingsLogistics & SupportShipping & Delivery Settings.
  2. Slide the Allow Self-Ship Delivery toggle to enable it.

Place Order on Website

  1. Go to Sales Channel → Products.
  2. Click open in new window (↗) icon on any product to open it.
  3. Enter pin code to check product availability.
  4. Click BUY NOW.
  5. Enter suitable delivery address and contact details.
  6. Click ADD ADDRESS.
  7. Click PROCEED TO PAY.
  8. Click Pay.

You order placed successfully.

Process Order Using OMS

  1. In the Fynd Commerce, go to OrderMy Order.
  2. Click on the Shipment ID of the order from Unfulfilled Section.
  3. Click Confirm.
  4. Click Submit.
  5. Refresh if Status is not changed to Confirmed.
  6. Enter Invoice Number.
  7. Click Update.
  8. Refresh if the status is not changed to DP Assigned.
  9. Click Pack in the Action column.
  10. Refresh if the status is not changed to Packed.
  11. Click Update Status to update the status again.
  12. You can select the status from the dropdown which you want to show to the customer and enter remark.
  13. Click Update.

Order is successfully processed in the development company.


Was this section helpful?