productpage layout and filter problem

  • Posts: 138
  • Thank you received: 1
10 years 7 months ago #122368

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Below all website information. First of all thanks for the amazing work you delivered. However i have a few little problems. First of all i have a problem with the way the productpage is showed. Somehow i dont get the caracterestics next to the product image. Doesnt matther wich option i choose. (deleted) They always show up below the productimage. And without a border.

2. i did choose the tab option because i like the way the commentbox is showed. However somehow this commentbox is not working. When i press the send button nothing happends. If i allow the stars and press them i get a 404 page.

3. it is probelly a very stupid quistion but i cant find the filter option. Is this because i have the free version? If not what do i do wrong? It is not showing in the menu and also not in modules.

I hope i dont ask stupid quistions. I did search for two houres but did not find any good answer. I hope you guys can help me. Thanks already.

-- url of the page with the problem -- : deleted
-- HikaShop version -- : HikaShop [1308282329]
-- Joomla version -- :
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : hikashop_category_data


category_name ⇒ test12
category_meta_description ⇒
category_keywords ⇒
category_page_title ⇒
category_alias ⇒
category_canonical ⇒
category_published ⇒ 1
category_layout ⇒
category_parent_id ⇒ 14
category_type ⇒ product
category_description ⇒
category_site_id ⇒
category_namekey ⇒ product_1378495173_1966186264

Last edit: 10 years 7 months ago by extreme.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
10 years 7 months ago #122415

Hi,

1. That's because of the CSS and the layout of your template and the custom CSS you added.
Here is the CSS you can add to fix that:
.hikashop_product_top_part {
height: 100px !important;
}
.hikashop_product_left_part {
width: 350px !important;
}
.hikashop_product_right_part {
width: 200px !important;
}

2. That's indeed a bug in the correct version. Edit the file "form" of the view "vote" via the menu Display>Views and change the lines:

<input type="hidden" name="vote_type" id="vote_type" value="<?php echo $type_item; ?>"/>
	<input type="hidden" name="hikashop_vote_user_id" id="hikashop_vote_user_id" value="<?php echo $hikashop_vote_user_id;?>"/>
	<input type="hidden" name="hikashop_vote_ok" id="hikashop_vote_ok" value="0"/>
to:
<input type="hidden" name="vote_type" id="vote_type_<?php echo $hikashop_vote_ref_id;?>" value="<?php echo $type_item; ?>"/>
	<input type="hidden" name="hikashop_vote_user_id" id="hikashop_vote_user_id_<?php echo $hikashop_vote_ref_id;?>" value="<?php echo $hikashop_vote_user_id;?>"/>
	<input type="hidden" name="hikashop_vote_ok" id="hikashop_vote_ok_<?php echo $hikashop_vote_ref_id;?>" value="0"/>
and that should fix the problem.

3. The filter feature is indeed only available in the Business edition:
www.hikashop.com/support/documentation/1...-filter-listing.html

Last edit: 10 years 7 months ago by nicolas. Reason: vote code updated
The following user(s) said Thank You: extreme

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

  • Posts: 138
  • Thank you received: 1
10 years 7 months ago #122420

Not sure why my quick reaction is not showing so lets type it again. Problem 1 is solved. Problem to however is not showing this file or this code.
what i see is below. When i enter one of these forms and do ctr f i cant find the code anywhere.
O and of course thanks again. :)





1 Front-end atomic product listing_vote
1 Front-end atomic vote form
1 Front-end atomic vote listing
1 Front-end atomic vote mini
1 Front-end beez5 product listing_vote
1 Front-end beez5 vote form
1 Front-end beez5 vote listing
1 Front-end beez5 vote mini
1 Front-end beez_20 product listing_vote
1 Front-end beez_20 vote form
1 Front-end beez_20 vote listing
1 Front-end beez_20 vote mini
1 Front-end kaiser product listing_vote
1 Front-end kaiser vote form
1 Front-end kaiser vote listing
1 Front-end kaiser vote mini
2 Back-end bluestork vote form
2 Back-end bluestork vote listing
2 Back-end bluestork vote normal
2 Back-end hathor vote form

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
10 years 7 months ago #122426

It's the vote/form file of your frontend template. There is only one possible file and the code is there.

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

  • Posts: 138
  • Thank you received: 1
10 years 7 months ago #122427

You are right ofcourse. Im sorry. However i put it in and it is still not working...

the code looks like this now

?>
<div id="reload" class="hikashop_vote_form">
<input type="hidden" name="vote_type_<?php echo $hikashop_vote_ref_id;?>" id="vote_type" value="<?php echo $type_item; ?>"/>
<input type="hidden" name="hikashop_vote_user_id_<?php echo $hikashop_vote_ref_id;?>" id="hikashop_vote_user_id" value="<?php echo $hikashop_vote_user_id;?>"/>
<input type="hidden" name="hikashop_vote_ok_<?php echo $hikashop_vote_ref_id;?>" id="hikashop_vote_ok" value="0"/>
<?php
if ($vote_enabled == 1) {
echo '<div class="hikashop_vote_stars">';
echo JText::_('VOTE').": ";
echo '<select name="hikashop_vote_rating" id="hikashop_vote_rating_id">';
for ($i = 1; $i <= $hikashop_vote_nb_star; $i++) {
echo '<option value="' . $i . '">' . $i . '</option>';
}

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
10 years 7 months ago #122555

It seems that you're also missing a hidden input field.
Please add the code:

<input type="hidden" name="hikashop_vote_ref_id" id="hikashop_vote_ref_id" value="<?php echo $hikashop_vote_ref_id;?>"/>
before:
<input type="hidden" name="vote_type_<?php echo $hikashop_vote_ref_id;?>" id="vote_type" value="<?php echo $type_item; ?>"/>
in that same file and that should fix that second issue.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
10 years 7 months ago #122593

For the second issue of my first post, I've made a mistake. I've fixed the code in my post. Please use the new one.

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

  • Posts: 138
  • Thank you received: 1
10 years 7 months ago #122668

Hello,

Thanks for the quick reply again! its getting impressive. I did in the end put this code in and it is working now. You are the best.

<input type="hidden" name="hikashop_vote_ref_id" id="hikashop_vote_ref_id" value="<?php echo $hikashop_vote_ref_id;?>"/>
<input type="hidden" name="vote_type" id="vote_type_<?php echo $hikashop_vote_ref_id;?>" value="<?php echo $type_item; ?>"/>
<input type="hidden" name="hikashop_vote_user_id" id="hikashop_vote_user_id_<?php echo $hikashop_vote_ref_id;?>" value="<?php echo $hikashop_vote_user_id;?>"/>
<input type="hidden" name="hikashop_vote_ok" id="hikashop_vote_ok_<?php echo $hikashop_vote_ref_id;?>" value="0"/>

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

  • Posts: 4
  • Thank you received: 0
10 years 7 months ago #124756

Good morning
My voting system does not work when I use the template "it_healthcare 2", any idea to solve this problem? thanks in advance

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #124810

Hi,

First of all, thanks to give us mode informations, like your HikaShop version.
A link to your website can be useful to see the problem.

It probably come from a javascript error in your template, and as the votes are displayed after, the javascript can't be loaded so it can't be displayed fine.

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

  • Posts: 4
  • Thank you received: 0
10 years 7 months ago #124893

Good mornig
my version of hikaShop is 2.2.1 starter
the link of my site is elportalnaturista.com/jupgrade/index.php.../category_pathway-12

The link to it_healthcare template demo is demo.icetheme.com/?template=it_healthcare2

Thank you very much

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
10 years 7 months ago #124988

Hi,

You have a javascript error in the webpage. I can't tell you where the error come from exactly but, because there is an error in the page, the rest of the script is not processed and the script which initialize the vote stars is not launched by the browser.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum