Skip to main content

How I change the show product code?

13 years 9 months ago #84042 by incograf
Hi,

I'm working right now in this page,

image missing http://www.webpagescreenshot.info/i/263687-14201343138pm.png

but I wont edit this code page, but I dont find the file, some one can help me?

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

13 years 9 months ago #84064 by Mohamed Thelji
Hi,

If you want to edit your product page, you'll have to:
- Go to "Hikashop->Display->Views"
- Edit the "Show_default" file of the "product" view of your front-end template.

Hope this will help you.

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

13 years 9 months ago #84075 by incograf
I try several times, but nothing change.

my last try I use this code

<script type="text/javascript">alert('Hello');</script>


but the alert does not exist in the source code of page.

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

13 years 9 months ago #84076 by Mohamed Thelji
1. Are you sure that you are in an HIKASHOP product page ?
2. Are you sure that you are editing the good file of the good view of the good front-end template ?

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

13 years 9 months ago - 13 years 9 months ago #84077 by incograf
Im in this folder : ./components/com_hikashop/views/product/tmpl
And Im editing this file : show_default.php

actualization -> this is the URL of that printscreen : ./index.php?option=com_hikashop&ctrl=product&task=show&cid=2729&name=prateleira-em-melamina-com-furos&Itemid=59

I think i do it like you said
Last edit: 13 years 9 months ago by incograf.

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

13 years 9 months ago #84331 by Jerome
Hi,

Please do not edit files directly, you should use the override interface in HikaShop.
Editing directly the file have several bad effects:
- The override have an higher priority so you're modification would not be display if there is already an override.
- You would loose all of your modification when updating HikaShop.

So please check which template is used by your front-end and edit the right view (for the right template) in the HikaShop backend (Display > Views).

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

13 years 9 months ago - 13 years 9 months ago #84352 by incograf
Thanks,

i find it now :D


In product > show.php

i try add one option to select on top of select box with text "SELECT A CHARACTERISTIC", i find the printer in the line 89 of that file
Code:
echo $this->characteristic->displayFE($this->element,$this->params);

But i dont know how can I add that,

someone can helpme



thanks for help from all of you,

i solve the problem width Jquery :D

thanks :D
Last edit: 13 years 9 months ago by incograf. Reason: Problem Solved

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

Time to create page: 0.289 seconds
Powered by Kunena Forum