Content below products at products listing page

  • Posts: 94
  • Thank you received: 2
  • Hikashop Business
3 years 5 months ago #326052

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.3.24
-- Browser(s) name and version -- : Firefox 82.0.3
-- Error-message(debug-mod must be tuned on) -- : Not applicable

Hi there,

Is it possible to place content below the products at a products listing page for SEO and UX purposes? When using the description area at a product category it will appear above the products. We want to use this area for a small intro text, but a comprehensive explanation below the products, so the first products will always be visible.

Thanks in advance!

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
3 years 5 months ago #326057

Hi,

There is no option for that.
However, if you need to add additional content on the listing, I would recommend to create one or several custom fields of the table "category" via the menu Display>Custom fields.
Then, you can edit the file product / listing.php via the menu Display>Views.
There, you can move the block of code which displays the custom fields to have it near the end and thus after the products listing:

if(!empty($custom_fields_html)) {
?>
		<div id="hikashop_category_custom_info_main" class="hikashop_category_custom_info_main">
			<h4><?php echo JText::_('CATEGORY_ADDITIONAL_INFORMATION');?></h4>
			<table class="hikashop_category_custom_info_main">
				<?php echo $custom_fields_html; ?>
			</table>
		</div>
<?php
	}

The following user(s) said Thank You: RustyHika

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 2
  • Hikashop Business
3 years 5 months ago #326144

Thanks Nicolas,

Thanks for the info. As soon as I put the website on our testserver I will go for your suggestion.

Cheers,
Remco

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 7
  • Hikashop Multisite
3 years 3 months ago #328165

Hello,

Is it ok if I reply at this thread, of course in line with this topic with an additional question, or would you rather have me starting a new topic? I'm not sure what to do...

Thanks in advance!

Regards,
Ans

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
3 years 3 months ago #328166

Hi,

The best is to create a new thread and include a link to this thread for reference in your message.
That way, other persons that were involved in this thread won't be notified (well if you think the other users could provide information themselves, then it can make sense to post in the same thread but in most cases, opening a new thread is what I would recommend).

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum