Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3043 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona

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>

Post correlati Risposte Visualizzazioni Attività
1
feb 25
2708
1
lug 25
1416
2
mag 25
1297
2
mar 25
1662
0
feb 25
1301