Developer manual
Setting up Spring for products
Overview
- Define the default custom form for the products table
- Create a default custom form
- Create a new tab
Details
Define a default custom form
Add to settings.xml:
<settings>
<admin>
<edit>
....
<products>
<customfields>custom.product.xml</customfields>
</products>
....
</edit>
</admin>
</settings>
Create the new custom form
- Create a new custom.product.xml file in the local templates directory
- Add the required fields to custom.product.xml to define the product
Setting up the backend tabs
Create a new manager tab to display a list of products.
- Copy default.xql file to the local template directory and rename it custom.xql
- Add a new section to custom.xql to define a new tab.
- Add a new section to settings.xml to load the custom.xql
Add to custom.xql:
<query>
<name>Products</name>
<id>88899906578</id>
<url>/feed/table/products/format/system.manager.list/status/0/limit/100/</url>
</query>
Add to settings.xml:
<settings>
....
<admin>
....
<profile>
<default>custom</default>
</profile>
....
</admin>
....
</settings>