0

I'm using Drupal 9.4 with commerce 2.30. To display both base-price & calculated-price, I've create a template commerce-price-calculated.html in web/themes/custom/mytheme/templates

I have a view with all my discounted products I would like to display only the calculated-price My view is named gm_promotions Filed displaying the calculated-price is (Product variation) Product variation: Price (sale price)

I followed the https://www.drupal.org/docs/theming-drupal/twig-in-drupal/twig-template-naming-conventions

views-view--gm_promotions--commerce-price-calculated.html.twig

views-view--gm_promotions.html.twig.bck it doesn't work.

What should I name the template?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.