Move download field

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
6 months 6 days ago #356077

-- url of the page with the problem -- : www.nvsp.nl/winkel/informatiekaarten/pro...de-spreekkamer-kaart
-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.4.0

Hello,

A question about moving the downloads from the bottom of the page to the top contact us for info. We use this code in show.php:

<div id="hikashop_product_files_main" class="hikashop_product_files_main">
<fieldset class="hikashop_product_files_fieldset">
<legend>Download</legend>
<a class="hikashop_product_file_link" href="/shop/information cards/product/download/file_id-120">NVSP Consulting room card</a><br><a class="hikashop_product_file_link" href="/shop/information cards/product/ download/file_id-123">NVSP Spider Web</a><br><a class="hikashop_product_file_link" href="/shop/information cards/product/download/file_id-125">NVSP Questionnaire</a> </fieldset>
</div>
but didn't get it changed.

It is not clear to us exactly in which .php file we need to change this

Jollyany's or the default?

Regards,

Dennis

Attachments:

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
6 months 6 days ago #356082

Hi,

Activate the "Display view files" setting via the HikaShop configuration and look at the product page again. You should see each zone marked with the name of the view file you need to edit.
Supposing you're using the default product page layout, it's the view file product / show_default.php
When you edit it for your template, you'll have a drag&drop interface in order to move the different blocks around. So you should be able to move the file download area easily in there.

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

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
6 months 6 days ago #356104

Hi Nicolas,

Unfortunately, that option "When you edit it for your template, you'll have a drag&drop interface in order to move the different blocks around. So you should be able to move the file download area easily in there." is not there because it is overwritten by the tz-jollyanny template.

Please advice on how to proceed

Attachments:

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
6 months 6 days ago #356106

Hi,

Then, I would recommend you contact the developer of your template so that they can tell you what is the best way to change the layout design included in the template.
You could probably directly edit the file libraries/jollany/framework/extensions/hikashop/product/show_default.php via FTP, but you might risk losing the changes when updating your template (not sure about this). So the best is to check with them what they recommend.

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

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
6 months 5 days ago #356135

Hi Nicolas,

Thanks for the info, we will submit it to the template builder.

regards

Dennis

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

Time to create page: 0.065 seconds
Powered by Kunena Forum