- Posts: 13
- Thank you received: 1
Hiding prices only in category overview?
- Christoph
- Topic Author
- Offline
- New Member
-
Less
More
3 weeks 3 days ago #176159
by Christoph
Hiding prices only in category overview? was created by Christoph
Hi!
I'm currently switching from the old file scheme to the new V5 scheme with small granulated files. It is much work but then it is much better with the small files. Good decision by you!
I want to show the prices only in article overviews. If I use the switch in the backend I only can switchoff ALL pricing.
Have I overlooked some switches?
If not: I think views/blocks/prices is the one I have to look for?
Here is the relevant part of it:
The switch for EShopHelperShop::showPrice() is the one in Configuration ->Layout->Category page->Show prices?
Because if I switch it off, nothing happens: the prices are still there.
Where is my fault?
Regards,
Christoph
I'm currently switching from the old file scheme to the new V5 scheme with small granulated files. It is much work but then it is much better with the small files. Good decision by you!
I want to show the prices only in article overviews. If I use the switch in the backend I only can switchoff ALL pricing.
Have I overlooked some switches?
If not: I think views/blocks/prices is the one I have to look for?
Here is the relevant part of it:
Code:
<div class="eshop-product-price">
<?php
if ($product->product_price_text != '')
{
?>
<div class="product-price"><?php echo $product->product_price_text; ?></div>
<?php
}
else
{
if (EShopHelperShop::showPrice() && !$product->product_call_for_price)
{
echo EShopHtmlHelper::loadCommonLayout('blocks/product_price.php', [
'product' => $product,
'tax' => $tax,
'currency' => $currency,
]);
...
The switch for EShopHelperShop::showPrice() is the one in Configuration ->Layout->Category page->Show prices?
Because if I switch it off, nothing happens: the prices are still there.
Where is my fault?
Regards,
Christoph
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
3 weeks 1 day ago #176179
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Hiding prices only in category overview?
Hello Christoph,
If you want to hide product price on products list of category page, simply override file components/com_eshop/themes/default/views/common/products.php to comment the line to display price block.
If you are not familar with it, please submit a new ticket to EShop category to send me the super admin account to your site so I can help you.
Sincerely, Giang
If you want to hide product price on products list of category page, simply override file components/com_eshop/themes/default/views/common/products.php to comment the line to display price block.
If you are not familar with it, please submit a new ticket to EShop category to send me the super admin account to your site so I can help you.
Sincerely, Giang
The following user(s) said Thank You: Christoph
Please Log in or Create an account to join the conversation.
- Christoph
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 1
3 weeks 6 hours ago #176188
by Christoph
Replied by Christoph on topic Hiding prices only in category overview?
Hi Giang,
Ah ok. That override is no problem for me.
Thank you very much,
Christoph
Ah ok. That override is no problem for me.
Thank you very much,
Christoph
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
2 weeks 6 days ago #176189
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Hiding prices only in category overview?
No problem at all Christoph!
Sincerely, Giang
Sincerely, Giang
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.