Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3023 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen

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>

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Feb. 25
2677
1
Juli 25
1368
2
Mai 25
1283
2
März 25
1627
0
Feb. 25
1268