Hot answers tagged

10 votes
Accepted

Interpret TWIG's {% js %} as <script> in PHPStorm

You can do this using PhpStorm’s Language Injections feature. In fact, as of PhpStorm 2017.3, it has included support for {% script %} tags out of the box. To extend that to {% js %} tags, go to ...
1 vote

Showing and hiding details (price, sale price, sku etc)when product variant is selected on details page

So, I actually decided a slightly different approach in the end and not sure if it is better or less performant, but I feel gives me a little more flexibility. Basically, more like a 'tabbed' ...
  • 1,844

Only top scored, non community-wiki answers of a minimum length are eligible