Skip to Content
Menu
This question has been flagged

Hi, I was wondering if it's possible to add specific sections for a product, such as length, width or height, which coulb be linked with a databases which refers the dimensions of a product. 

I saw that it was possible with the Studio App, but I wanted to know if there was another way to do it, without Studio App.

Thanks !

Avatar
Discard
Best Answer

Hi you could achieve this by first going into developer mode

1. Settings > Developer Mode 

2. Then Settings > Technical > Fields

3. Create your desired Field with its properties

4. This step is a bit tricky as you need to understand the basics of 'views' and 'inherited view'. Navigate your way to the product form and you can see a lady bug button at the side of the message icon on top right of your screen. Click on it.

5. Choose Edit View: Form 

6. There will be an inherited views tab and you will see several inherited views. 

7. click on the Add a line.

8. to help you write the necessary code, i will provide the basic structure of the code. Assuming you want to add the 'fields' next to barcode field.

 

    
        
        
    

and then click save and reload the page

Hope this helps


Mohamad Huzaifah

Computs Sdn Bhd



Avatar
Discard

i dont know why the code part is missing but heres the code

<data>

<xpath expr="//field[@name='barcode']" position="after">
<field name="your fields name here" />
<field name="your fields name here 2" />
</xpath>
</data>

Related Posts Replies Views Activity
0
Mar 24
1075
0
Dec 24
38
1
Sep 24
726
1
Sep 24
143
0
Aug 24
120