Нашел нужную тему на зарубежном форуме: Hi Guy,
Simple enough, there are a few places that price gets inserted, so go through the theme files that you are using…
I am using the ‘default’ theme, so I looked in that theme’s folder under ‘plugins/wp-e-commerce/themes/default, and on line 145 in single_product.php, you will find the line:
<span id=»product_price_<?php echo wpsc_the_product_id(); ?>» class=»pricedisplay»><?php echo wpsc_the_product_price(); ?></span><?php echo TXT_WPSC_PRICE; ?>:
that is the line that displays «Price:» and the price.
if you don’t want to remove the whole line, and merely want to just hide the text that would be echoed, edit out like so:
<span id=»product_price_<?php echo wpsc_the_product_id(); ?>» class=»pricedisplay»><?php //echo wpsc_the_product_price(); ?></span><?php //echo TXT_WPSC_PRICE; ?>
remembering to remove the ‘:’ that was before the directly above.
Now, on single product pages, you should find no prices.
The same goes for any other prices that you want to remove, look for the above function call — wpsc_the_product_price(); and remove it.
Hope that helps for anyone in the future, sorry my reply came so late, but I’ve only just stumbled on this thread!
James
Выполняю все действия, но с ценой ничего не происходит, стоит на своем месте как и прежде… Неужели это такая серьезная проблема, убрать отображение цены?