In this tutorial we are going to show you how to copy an existing controller and we are going to use the product_edit_item "product edit page" as an example, and we are going to associate it to a custom product type.

By creating or modifying existing controllers, it will give you the possibility to present each types with different information appropriate to each one of them.

For instance, if you have two product types you can show/hide fields or tabs base on the type selected so that each product types are unique and more personalize.

  • From the admin panel, navigate to jDesign > Controllers
  • Makes sure to copy the controllers where the view is being used. For example, the "product_edit_item" view is used in the following pages;

product.add: when you create a product
product.edit: When you edit a product
product.presave: when the product is automatically save when you open it

controllers listing

  • Once you've copied the controller, edit it and change the following:
    • Rename the controller to the name that is easy for you to remember. Do not remove the default controller, simply add [ -new name ] to the existing one e.g from "product" to "product-services"
      Assign a new view if you have created one.
    • Click [Save] to save your changes

controllers edit

Friendly Reminder:

Joobi support does not guarantee any kind of support when you break your installed Joobi application due to the above customizations.

Friendly Reminder

Joobi uses "evaluate before you buy" approach, we do NOT issue refunds after a subscription is purchased.
All basic plan (3 months) includes a back-link to Joobi.org

We invite you to:

Use the 30 days trial period before buying
Test-drive Joobi products using the demo website
For Mobile apps, check our iOS and Android demo

joobi-custom-service

Web Hosting Partner

Web Hosting     DreamHost