- Posts: 107
- Thank you received: 0
questions ?
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.
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.
This is great to be able to change the popup time to continue on shopping ...
I sent you the email
Please Log in or Create an account to join the conversation.
You can't add a message without hacking in the core files of HikaShop and you'll loose your modifications when you update.
If you still want to do that, you can edit the file administrator/components/com_hikashop/classes/user.php in the function register.
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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
<a onclick="return hikashopQuantityChange('hikashop_product_quantity_field_1',1,0,1);" href="#" class="hikashop_product_quantity_field_change" id="hikashop_product_quantity_field_change_plus" style="width: 65px;">+</a>
i want to customize the button .. but I've got a few problems with only css
Please Log in or Create an account to join the conversation.
<?php
function hikashop_quantity_render($html,$i,$max_quantity,$min_quantity){
return '
<table>
<tr>
<td rowspan="2">
<input id="hikashop_product_quantity_field_'.$i.'" type="text" value="'.JRequest::getInt('quantity',$min_quantity).'" class="hikashop_product_quantity_field" name="quantity" onchange="hikashopCheckQuantityChange(\'hikashop_product_quantity_field_'.$i.'\','.$max_quantity.','.$min_quantity.');" />
</td>
<td>
<a id="hikashop_product_quantity_field_change_plus" class="hikashop_product_quantity_field_change" href="#" onclick="return hikashopQuantityChange(\'hikashop_product_quantity_field_'.$i.'\',1,'.$max_quantity.','.$min_quantity.');">+</a>
</td>
<td rowspan="2">
'.$html.'
</td>
</tr>
<tr>
<td>
<a id="hikashop_product_quantity_field_change_minus" class="hikashop_product_quantity_field_change" href="#" onclick="return hikashopQuantityChange(\'hikashop_product_quantity_field_'.$i.'\',0,'.$max_quantity.','.$min_quantity.');">-</a>
</td>
</tr>
</table>
';
}
You can directly change the HTML code in that file and it will override the default code which is used to display the + and - buttons. That file is in your template and won't be removed when you update hikashop so you won't have any issue with it afterwards.
Please Log in or Create an account to join the conversation.
so nothing changed to before the update ... see screenshot ... that's the same thing ...
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.
Please Log in or Create an account to join the conversation.
$ordering = $element->characteristics[$characteristic->characteristic_parent_id]->ordering;
to:
$ordering = @$element->characteristics[$val->characteristic_parent_id]->ordering;
in the file amdinistrator/components/com_hikashop/classes/cart.php and that solved the problem.
We'll include that in next release of course.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.