Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3022 Vistas

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
Descartar
Mejor respuesta

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
Descartar

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>

Publicaciones relacionadas Respuestas Vistas Actividad
1
feb 25
2676
1
jul 25
1368
2
may 25
1283
2
mar 25
1627
0
feb 25
1268