python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Timber + Woocommerce : display product categories
I'm trying to create a shop page and display all the woocommerce products categories rather than the products. With "Timber::get_terms('product_cat');" I'm able to get some informations abou...
B0ttleneck
Votes: 0
Answers: 1
How to get current product or category url equivalent for all other channels in shopware 6?
I need to build a "channel switcher" in shopware6. How can I access current (Product)URL equivalents for all or some other channels in this shop? It should work like a language switcher, kee...
Martin Przybylek
Votes: 0
Answers: 1
Can't recover attribute from object within list of object using foreach in twig - symfony
Here is an example of my object :
^ array:1 [▼
0 => App\Entity\Fichefrais {#601 ▼
-idfichefrais: "a131-202201"
-date: DateTime @1640995200 {#602 ▶}
-nbjustificatifs: null
...
HDS_frenchguy
Votes: 0
Answers: 0
Twig for loop problem : stars rating system
I'm trying to generate a stars rating system for movies, but somehow, my algorithm doesn't work if the rating >= 2, values like 2.2, 2.8, 3.2 etc... won't output the right star.
<div class="...

Tristan
Votes: 0
Answers: 1