wordpress - 价格中每点更改逗号
问题描述
怎么能改变,每。在价格??
我有这个代码
<div class="product-view-cash-price-div product-view-cash-price text-webstore">
<span class="product-view-cash-price-value text-webstore" itemprop="price" content="<?php echo @number_format($variation_product->get_price()); ?>" style="font-size:35px;">
$<?php echo @number_format($variation_product->get_price()); ?>
</span>
<span itemprop="priceCurrency" content="CLP"></span>
</div>
谢谢
解决方案
您可以在 WooCommerce 设置中更改商店价格的千位和小数分隔符。通过 WooCommerce > 设置 > 常规 > 货币选项。
推荐阅读
- asp.net - Silverlight 5.1 应用程序在移动到新服务器时中断
- shiny - 有多个输入进入多个图表,但 5 个中只有 3 个在工作
- apache - 允许来源不适用于 apache2 上的多个域
- reactive-programming - 我使用项目反应器或()运算符的问题
- javascript - 如何知道实时更新何时结束 - Cloud Firestore ionic 4 with angular
- django - 在 django 信号中捕获一些值
- scala - 在 Spark Catalyst 代码生成期间,具有转义字段名称的 Scala 案例类引发错误
- javascript - 如何在 Lodash Get 中使用泛型类型?
- flow-project - 在路线中添加公交车站?(流,相扑)
- javascript - 反应图像源在文件夹中不起作用