hdt551
June 16, 2020, 4:12pm
1
I want to display an additional field on the Products/Variants view:
But I can’t seem to find how to modify it.
I can add (or in this case duplicate) a field on the Products view:
using this definition in Views:
Can you tell me what I need to change to modify the Variants view?
ced
(Cédric Krier)
June 16, 2020, 5:36pm
2
You modified the variant view as you inherited the view of product.product
. But product.product
has many views so you must inherit all of them if you need.
hdt551
June 17, 2020, 10:33am
3
Can you give me an example of an xpath expression which will match something in Form Products/Variants? I have tried many variations without success.
ced
(Cédric Krier)
June 17, 2020, 10:39am
4
I do not understand. Your screenshot show an xpath that add field on the product.product
.
hdt551
June 17, 2020, 11:17am
5
It works on Products, but not on Products/Variants
See screenshot under:
I want to display an additional field on the Products/Variants view:
ced
(Cédric Krier)
June 17, 2020, 11:19am
6
This is the variant view. But as I said there are multiple view for the variant, you must inherit also the others.
hdt551
June 17, 2020, 11:25am
7
There is no way to identify which one is associated with Products/Variants? They are all named product.product.
I have went through many of them and as far as I can tell only the product.product of view type Form does not generate an error. So I am at a loss.
ced
(Cédric Krier)
June 17, 2020, 11:47am
8
hdt551
June 17, 2020, 12:25pm
9
Ok, it is working now.
Making the view names more clearly identifiable will certainly help people like me make small changes.
Thank you.
jeromarquez
(Jerónimo Marquez)
June 17, 2020, 11:27pm
10
I think the same, sometimes it’s a little bit difficult to look for an specific view. Maybe we should think about adding some more specific information. Because just adding the type and the inherit would continue being not 100% specific. I just can think about the ID, but is not so pretty. Maybe adding a Code to the views by a sequence? Just my two cents.
Cheers!
system
(system)
Closed
July 17, 2020, 11:27pm
11
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.