Jump to content

Edit History

Alexandre B.

Alexandre B.

Hello, and thank you for reading.

Prestashop Version: 1.7.8.7

I'm trying to do my own meta seo preview for learning, and I could easily manage to override the emplacement of the default one. But I can't manage to get twig to recognize my variable, saying it doesn't exist. But the variable show in context:

image.thumb.png.4df2e3aed71882b06d763de17cf9ec00.pngVariable showing in the context with the error

The variable is showing in the context, from the error. But can't be see by Twig. And the variable is being given to twig when I render the template. image.thumb.png.954263c30a057629b40e9153681c0b0f.png

 

I searched a lot of solution in the PrestaShop documentation who's mostly empty for this case of figure, and I been searching on google or with developers since 5 days now and I'm just stuck at the 'giving Twig my variable" step... Could someone see where the problem could occur ? Or if I'm doing something bad ?

Thanks you for having read that ! I really hope a solution could come from this topic

 

image.png

image.png

image.png

image.png

Alexandre B.

Alexandre B.

Hello, and thank you for reading.

Prestashop Version: 1.7.8.7

I'm trying to do my own meta seo preview for learning, and I could easily manage to override the emplacement of the default one. But I can't manage to get twig to recognize my variable, saying it doesn't exist. But the variable show in context:

image.thumb.png.4df2e3aed71882b06d763de17cf9ec00.pngVariable showing in the context with the error

The variable is showing in the context, from the error. But can't be see by Twig. And the variable is being given to twig when I render the template. image.thumb.png.954263c30a057629b40e9153681c0b0f.png

image.png.418ced8b49b4845b77fc1317c1522194.png

I searched a lot of solution in the PrestaShop documentation who's mostly empty for this case of figure, and I been searching on google or with developers since 5 days now and I'm just stuck at the 'giving Twig my variable" step... Could someone see where the problem could occur ? Or if I'm doing something bad ?

Thanks you for having read that ! I really hope a solution could come from this topic

 

image.png

image.png

image.png

×
×
  • Create New...