- Posts: 145
- Thank you received: 8
Auction status badges on product listings
5 months 3 weeks ago #371050
by lucad
Auction status badges on product listings was created by lucad
-- HikaShop version -- : 6.4.0
-- HikaAuction version -- : 6.0.0
-- Joomla version -- : 6
-- PHP version -- : 8.4
Dear Team
I hope you are doing well.
I am reaching out for assistance regarding the "Show auction status in listings" feature on my account. Although this setting is enabled and have attempted to adjust its position within the layout, the auction status is still not appearing on the live listings.
I have attached a screenshot of my current settings for your reference. It is likely that I am missing a step in the configuration process, but I have been unable to identify the cause of the issue.
Could you help me understand why or provide a link to any relevant documentation that might assist with the setup please?
Thank you for your help
-- HikaAuction version -- : 6.0.0
-- Joomla version -- : 6
-- PHP version -- : 8.4
Dear Team
I hope you are doing well.
I am reaching out for assistance regarding the "Show auction status in listings" feature on my account. Although this setting is enabled and have attempted to adjust its position within the layout, the auction status is still not appearing on the live listings.
I have attached a screenshot of my current settings for your reference. It is likely that I am missing a step in the configuration process, but I have been unable to identify the cause of the issue.
Could you help me understand why or provide a link to any relevant documentation that might assist with the setup please?
Thank you for your help
Please Log in or Create an account to join the conversation.
5 months 3 weeks ago #371053
by nicolas
Replied by nicolas on topic Auction status badges on product listings
Hi Luca,
The auction status badges feature works by injecting badge HTML into HikaShop's `extraData` positions on product rows, which the listing item templates then render. If the badges don't appear despite the setting being enabled, it's most likely because you have a HikaShop product listing template override in your Joomla template that doesn't include the `extraData` output.
Please check if you have a file like:
`templates/YOUR_TEMPLATE/html/com_hikashop/product/listing_img_title.php`
(or `listing_div.php`, `listing_fade.php`, etc.)
If so, that override was probably copied from an older version of HikaShop before the `extraData` mechanism was added. You would need to either update the override to include the extraData lines from the current HikaShop version, or remove the override to use the default template.
For reference, the default `listing_img_title.php` has these three extraData hooks:
- Near the top: `if(!empty($this->row->extraData->top)) { echo implode("\r\n",$this->row->extraData->top); }`
- After the product name: `if(!empty($this->row->extraData->afterProductName)) { echo implode("\r\n",$this->row->extraData->afterProductName); }`
- Near the bottom: `if(!empty($this->row->extraData->bottom)) { echo implode("\r\n",$this->row->extraData->bottom); }`
If you add the relevant line matching the position you selected in the configuration, the badges should appear.
The auction status badges feature works by injecting badge HTML into HikaShop's `extraData` positions on product rows, which the listing item templates then render. If the badges don't appear despite the setting being enabled, it's most likely because you have a HikaShop product listing template override in your Joomla template that doesn't include the `extraData` output.
Please check if you have a file like:
`templates/YOUR_TEMPLATE/html/com_hikashop/product/listing_img_title.php`
(or `listing_div.php`, `listing_fade.php`, etc.)
If so, that override was probably copied from an older version of HikaShop before the `extraData` mechanism was added. You would need to either update the override to include the extraData lines from the current HikaShop version, or remove the override to use the default template.
For reference, the default `listing_img_title.php` has these three extraData hooks:
- Near the top: `if(!empty($this->row->extraData->top)) { echo implode("\r\n",$this->row->extraData->top); }`
- After the product name: `if(!empty($this->row->extraData->afterProductName)) { echo implode("\r\n",$this->row->extraData->afterProductName); }`
- Near the bottom: `if(!empty($this->row->extraData->bottom)) { echo implode("\r\n",$this->row->extraData->bottom); }`
If you add the relevant line matching the position you selected in the configuration, the badges should appear.
The following user(s) said Thank You: lucad
Please Log in or Create an account to join the conversation.
5 months 3 weeks ago #371071
by lucad
Replied by lucad on topic Auction status badges on product listings
Hi Nicolas and thanks for the instructions
I checked the default template on my site /public_html/templates/flex/html/com_hikashop/product and the folder is empty (see attachment)
I checked also cassiopeia /public_html/templates/cassiopeia/html/com_hikashop/product and it is empty too
Kindly let me know
Many thanks for your support
Luca
I checked the default template on my site /public_html/templates/flex/html/com_hikashop/product and the folder is empty (see attachment)
I checked also cassiopeia /public_html/templates/cassiopeia/html/com_hikashop/product and it is empty too
Kindly let me know
Many thanks for your support
Luca
Please Log in or Create an account to join the conversation.
5 months 3 weeks ago #371078
by nicolas
Replied by nicolas on topic Auction status badges on product listings
Hi,
Ok, thanks for the details. I think I've found the issue. I've made a patch in HikaAuction.
Download again the install package on our website and install it on yours to get it.
Ok, thanks for the details. I think I've found the issue. I've made a patch in HikaAuction.
Download again the install package on our website and install it on yours to get it.
The following user(s) said Thank You: lucad
Please Log in or Create an account to join the conversation.
5 months 3 weeks ago #371084
by lucad
Replied by lucad on topic Auction status badges on product listings
Hi Nicolas
Downloaded hikashop, market and auction and installed as per your instruction
the folder /public_html/templates/flex/html/com_hikashop/product
unfortunately is still empty
Should I send you somehow ftp access and/or superadmin account?
Many thanks
Luca
Downloaded hikashop, market and auction and installed as per your instruction
the folder /public_html/templates/flex/html/com_hikashop/product
unfortunately is still empty
Should I send you somehow ftp access and/or superadmin account?
Many thanks
Luca
Please Log in or Create an account to join the conversation.
5 months 3 weeks ago #371086
by lucad
Replied by lucad on topic Auction status badges on product listings
Good morning Nicolas
Upon further review, I noticed the status is visible on the main page listing all auctions (as shown in attachments 1 and 2)
But it is currently missing from the individual product landing page where users place their bids.
Thank you
Luca
Upon further review, I noticed the status is visible on the main page listing all auctions (as shown in attachments 1 and 2)
But it is currently missing from the individual product landing page where users place their bids.
Thank you
Luca
Please Log in or Create an account to join the conversation.
5 months 3 weeks ago #371087
by nicolas
Replied by nicolas on topic Auction status badges on product listings
Hi Luca,
Good suggestion. We've added status badges to the individual product page as well in the latest update. The badge appears at the top of the auction panel and shows the same statuses as in the listings: Upcoming, Live, Sold, Unsold, or Cancelled.
If live bid updates are enabled, the badge also updates in real-time when the auction ends, switching from "Live" to "Sold" or "Unsold" without a page refresh.
You can download the update from your member area.
Good suggestion. We've added status badges to the individual product page as well in the latest update. The badge appears at the top of the auction panel and shows the same statuses as in the listings: Upcoming, Live, Sold, Unsold, or Cancelled.
If live bid updates are enabled, the badge also updates in real-time when the auction ends, switching from "Live" to "Sold" or "Unsold" without a page refresh.
You can download the update from your member area.
The following user(s) said Thank You: lucad
Please Log in or Create an account to join the conversation.
5 months 3 weeks ago #371094
by lucad
Replied by lucad on topic Auction status badges on product listings
Works perfectly Nicolas!
Once again, thank you for this outstanding support
Once again, thank you for this outstanding support
Please Log in or Create an account to join the conversation.
Moderators: Mohamed Thelji
Time to create page: 0.236 seconds