我希望有人能帮助我解决这个问题。我尝试将其发布在 zencart 论坛中,但尚未有人接受 - 所以我希望 stackoverflow 能够提供帮助。
在zencart中,我发现product_info页面可以显示最小、最大和产品数量单位。但是,它“并排”显示它。
点击查看该图片。
我希望将其显示为改为列出项目,但我不知道如何做到这一点。
我所能得到的最远是将其缩小到 tpl_product_info_display.php ,在其中,我发现它是由
$the_button = zen_get_products_quantity_min_units_display((int)$_GET['products_id'])
提前谢谢您引起的!
I'm hoping someone out there can help me with this. I tried posting it in the zencart forum, but no takers yet - so I'm hoping stackoverflow will be able to help.
In zencart, I've found that the product_info page can display minimum, maximum, and product quantity units. However, it displays it "side by side".
Click to see the image.
I would like to have it displayed as a list item instead, but I'm at a loss on how I can do this.
The furthest I've got is narrowing it down to the tpl_product_info_display.php and in it, I found that it's caused by
$the_button = zen_get_products_quantity_min_units_display((int)$_GET['products_id'])
Thank you in advance!
发布评论
评论(1)
对于那些也想知道这个问题的人...有人设法在 zen-cart 论坛。
前往包含 ->函数 - Functions.php(在我的例子中,我在functions_prices.php中找到它)
然后查找“zen_get_products_quantity_min_units_display”函数。
将以下内容更改
为
:添加末尾,只需创建一个新行,从而摆脱“并排”显示单位的情况。
To those that were also wondering about this... someone managed to answer it in the zen-cart forum.
Head to includes -> Functions - Functions.php (in my case, I found it in functions_prices.php)
Then look for "zen_get_products_quantity_min_units_display" function.
Change the following:
To:
Adding the end, simply creates a new line, getting rid of displaying the units "side by side".