Skip to main content

Move download field

More
2 years 11 months ago #356077 by Dnsftl
Move download field was created by Dnsftl
-- 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:
Code:
<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

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

More
2 years 11 months ago #356082 by nicolas
Replied by nicolas on topic Move download field
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.

More
2 years 11 months ago #356104 by Dnsftl
Replied by Dnsftl on topic Move download field
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

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

More
2 years 11 months ago #356106 by nicolas
Replied by nicolas on topic Move download field
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.

More
2 years 11 months ago #356135 by Dnsftl
Replied by Dnsftl on topic Move download field
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.107 seconds
Powered by Kunena Forum