Hi everyone
Ribbon is a cool feature I am using on my website. I add it on the product page to say for example "New product" and it is display on tree view on the website.
However I am trying to add it on the product page, after clicking on the product in the list view. I think it is strange to loose this information after going in detail on the product.
So what I did with success :
With this, I saw I was able to do it, and to display it where I wanted it (I mean on the main product image on the product page)
What I try do now with no success :
When I updated standard code first to see if I was at the good place, I add my span inside this block
But now that I try to inherit this view templates.xml and to inject my span with an xpath I am not finding the right xpath to write ...
this is a template, with inside divs conditionned by if-else, without id ...
I tried many things, for example
But I have an error saying it was not found in the parent view...
My whole code
why is there NO WAY to display code on this forum !!!!!! (with or without code balise it keep everything empty)