• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 13.01.23, 08:40
  • Opened by: Vidmantas Dapkus

Ticket #24143 - Second description block on categories page

I try to place the secondary description block on Category page using Category Fields module. I want to place it below the Products grid but there is nu such module in the Prestashop Module widget list. How to get it to be listed there?

Comments

Fred 13 Jan 2023, 17:00

Hi Vidmantas
That’s because Category Fields module doesn’t support widgets.
You can ask developer to add widgets support, here is more information https://devdocs.prestashop-project.org/8/modules/concepts/widgets/

But how that module work with Classic theme, maybe it uses some special hook?

Vidmantas Dapkus 14 Jan 2023, 14:08

To display the content on your category page you will need to add the short code below to your category template. Your category template
can be located in the file below:

{site_root}/themes/{theme_name}/templates/catalog/listing/category.tpl

{block name=’product_list_bottom’}
{hook h=’categoryField’ name=’test’}
{/block}

But how it will affect the Alysum theme? Can I make these changes. I tested on native theme and it works.

Fred 15 Jan 2023, 10:19

I just added it for you https://take.ms/8HecZ Please check it out

Vidmantas Dapkus 15 Jan 2023, 11:41

Thanks, it works.

Fred 15 Jan 2023, 11:41

You are welcome!