Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

SJ Grid - Hardcoded "Featured" badge?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: SJ Grid - Hardcoded "Featured" badge?

SJ Grid - Hardcoded "Featured" badge? 7 years ago #26958

Hi,
How should I remove the "Featured" badge on K2 Items?
It cannot be removed by switching off at the K2 Category settings!

Ok, there may be two workarounds:
1. display:none at the CSS
2. editing the PHP file(s)

:/

thank you
palos
The topic has been locked.

Re: SJ Grid - Hardcoded "Featured" badge? 7 years ago #27043

  • thuyltt
Dear sir,
Please Click hide option in 'Featured' notice . Refer this photo: prntscr.com/9xjdkl

Thanks.
The topic has been locked.

Re: SJ Grid - Hardcoded "Featured" badge? 7 years ago #27044

No, do not joke dear thuyltt.
It is hardcoded...again!
I solved it by disabling it in CSS but thangnd wrote also a solution:

26.01.2016 11:41:43 thangnd wrote:
Dear palos,

Please go to templates\sj_grid\html\com_k2\templates\default\item.php find code:
<?php if($this->item->params->get('itemFeaturedNotice') && $this->item->featured): ?>
<!-- Featured flag -->
<span>
<sup>
<?php echo JText::_('K2_FEATURED'); ?>
</sup>
</span>
<?php endif; ?>
=> edit to:

<?php if($this->item->params->get('itemFeaturedNotice') && $this->item->featured): ?>
<!-- Featured flag
<span>
<sup>
<?php echo JText::_('K2_FEATURED'); ?>
</sup>
</span>
-->
<?php endif; ?>

Thanks & regards!

PLEASE FORGET HARDCODING VALUES! FOR EVER!
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes