- Posts: 92
- Thank you received: 0
child images in slider
I want you say to me if there is some option to show the child images in a slider when they are great instead of that they appear in two lines. I send you a screenshot of the page of one of my products, in order that you see what I want to change.
Thank you very much, like always, for your priceless help.
Please Log in or Create an account to join the conversation.
Your thumbnail images are in a div which have a specific "id" and a specific "class".
like
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
but if I do what you say (to specify an height in order to not display a vertical scrollbar), then a vertical scrollbar display in div and i'd like the small images display in just one line with a horizontal scrollbar (Or slightly similar).
Is it possible just with CSS or with a plugin?
thanks
Please Log in or Create an account to join the conversation.
It's not possible only in CSS, it will certainly require some JavaScript.
Please Log in or Create an account to join the conversation.
It finalizes doubt on the topic: if I change the first image into other one of another color, the tooltip of the first one continues appearing. It is a bug or I have done slightly badly?
Please Log in or Create an account to join the conversation.
Corrected on our end, it will be on the next release.
Please Log in or Create an account to join the conversation.
This morning, fiddling with my shop, in all my products the following message goes out over the comments:
"Warning: Creating default object from empty value in /homepages/32/g472368468/htdocs/tienda1/components/com_hikashop/views/vote/view.html.php on line 155"
If the product has some comment also the following message goes out over the previous one:
"Warning: Creating default object from empty value in /homepages/32/g472368468/htdocs/tienda1/components/com_hikashop/views/vote/view.html.php on line 104"
please, how can I fix it?
Please Log in or Create an account to join the conversation.
Could you give us the corresponding lines in your code ? (we don't have the same lines number)
Please Log in or Create an account to join the conversation.
line 104: "$elts[$i]->vote_comment = $hikashop_vote->vote_comment;"
line 155: "$pageInfo->elements->total = $total;"
Thanks
Please Log in or Create an account to join the conversation.
Do you have "$elts[$i] = new stdClass();" at the line 103 ?
Please Log in or Create an account to join the conversation.
This is the complete code from line 99:
$limit = ' LIMIT '.(int)$pageInfo->limit->start.','.(int)$pageInfo->limit->value.'';
$db->setQuery('SELECT * '.$query.$order.$limit);
$scores = $db->loadObjectList();
$elts = array();
foreach ($scores as $hikashop_vote) {
$elts[$i]->vote_comment = $hikashop_vote->vote_comment;
$elts[$i]->vote_rating = $hikashop_vote->vote_rating;
$elts[$i]->vote_pseudo = $hikashop_vote->vote_pseudo;
$elts[$i]->username = $hikashop_vote->username;
$elts[$i]->vote_id = $hikashop_vote->vote_id;
$elts[$i]->vote_user_id = $hikashop_vote->vote_user_id;
$elts[$i]->vote_useful = $hikashop_vote->vote_useful;
$elts[$i]->total_vote_useful = 0; //know the total of useful vote for this post
$query= 'SELECT count(vote_user_id) FROM '.hikashop_table('vote_user').' WHERE vote_user_id = '.(int)$elts[$i]->vote_id.'';
$db->setQuery($query);
$elts[$i]->total_vote_useful = $db->loadResult();
$elts[$i]->already_vote = 0; //know if the user already vote for this post
if(empty($hikashop_vote_user_id))$hikashop_vote_user_id = hikashop_getIP();
$query= 'SELECT vote_user_useful FROM '.hikashop_table('vote_user').' WHERE vote_user_id = '.(int)$elts[$i]->vote_id.' AND vote_user_user_id = '.$db->quote($hikashop_vote_user_id).'';
$db->setQuery($query);
$elts[$i]->already_vote = $db->loadResult();
if (!empty ($hikashop_vote->vote_comment)) {
$purchased = '';
$query = 'SELECT order_id FROM '.hikashop_table('order').' WHERE order_user_id = '.$db->quote($hikashop_vote->vote_user_id).'';
$db->setQuery($query);
if(!HIKASHOP_J25){
$order_ids = $db->loadResultArray();
} else {
$order_ids = $db->loadColumn();
}
if(!empty($order_ids)){
$query = 'SELECT product_id FROM '.hikashop_table('product').' WHERE product_parent_id = '.(int)$hikashop_vote_product_id.'';
$db->setQuery($query);
if(!HIKASHOP_J25){
$product_ids = $db->loadResultArray();
} else {
$product_ids = $db->loadColumn();
}
if(empty($product_ids)){
$product_ids = array(0 => 0); //if the article has no variants
}
$query = 'SELECT order_product_id FROM '.hikashop_table('order_product').' WHERE order_id IN ('.implode(',',$order_ids).') AND product_id = '.(int)$hikashop_vote_product_id.' OR product_id IN ('.implode(',',$product_ids).')';
$db->setQuery($query);
$result = $db->loadResult();
if(!empty($result))
$purchased = 1;
}
$elts[$i]->purchased = $purchased;
}
if($elts[$i]->vote_useful >10){
$row->top_ranked = $elts[$i]->vote_id;
}
$i++;
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
What xavier means is that we are always working on the version so this bug is fixed on our working project and will be released in the next package.
So You will enjoy it once we do the release. By the way, the component is sometime updated without version changing (when it's for fixing multiple annoying bugs).
So if you download your business version more than 1 month ago, you should try to redownload it.
Anyway, did the solution fixed your problem?
Please Log in or Create an account to join the conversation.
Thanks
Please Log in or Create an account to join the conversation.