最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - How to retrieve quantity input field by id in woocommerce

programmeradmin2浏览0评论

I want to retrieve quantity input field for the product having 95 id. trying this function but it is not working. it adds only one product in cart even after selecting more than one in the input field.

<div class="quantity">
<label>QTY</label>
<?php woocommerce_quantity_input(array(
'id'=>95
)); ?>  
</div>
发布评论

评论列表(0)

  1. 暂无评论