Thread: Adding a Comma
View Single Post
  #8  
Old 04-06-2022, 08:11 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,132
 

Default Re: Adding a Comma

Apparently you cannot call php functions directly in twig files. You can try this as modifier



{{ ($this.getListPrice() * 1000)|number_format() }}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote