Hello
thanks a lot for helping!!!
Now i had the time to test this...
So far I found the solution ... but now i have an other little questions...
how am i able to get the value of a custom field in the file "administrator/components/com_hikashop/helper/cart.php" file
i have some custom fields where i need to get the value from for my variable $quantitysteps =5;
and here are my changes if anyone has the same ideas
change:
<a id="hikashop_product_quantity_field_change_plus_'.$i.'" class="hikashop_product_quantity_field_change_plus hikashop_product_quantity_field_change" href="#" onclick="return hikashopQuantityChange(\'hikashop_product_quantity_field_'.$i.'\',1,'.$max_quantity.','.$min_quantity.');">+</a>
<a id="hikashop_product_quantity_field_change_minus_'.$i.'" class="hikashop_product_quantity_field_change_minus hikashop_product_quantity_field_change" href="#" onclick="return hikashopQuantityChange(\'hikashop_product_quantity_field_'.$i.'\',0,'.$max_quantity.','.$min_quantity.');">–</a>
to (i added a variable in the on click (hikashopQuantityChange))
$quantitysteps =$min_quantity;
<a id="hikashop_product_quantity_field_change_plus_'.$i.'" class="hikashop_product_quantity_field_change_plus hikashop_product_quantity_field_change" href="#" onclick="return hikashopQuantityChange(\'hikashop_product_quantity_field_'.$i.'\','.$quantitysteps.','.$max_quantity.','.$min_quantity.','.$quantitysteps.');">+</a>
<a id="hikashop_product_quantity_field_change_minus_'.$i.'" class="hikashop_product_quantity_field_change_minus hikashop_product_quantity_field_change" href="#" onclick="return hikashopQuantityChange(\'hikashop_product_quantity_field_'.$i.'\',0,'.$max_quantity.','.$min_quantity.','.$quantitysteps.');">–</a>
also change the following lines in the function "function hikashopQuantityChange(field,plus,max,min){" from:
function hikashopQuantityChange(field,plus,max,min){
fieldEl.value=parseInt(fieldEl.value)+1;
fieldEl.value=current-1;
to
function hikashopQuantityChange(field,plus,max,min,steps){
fieldEl.value=parseInt(fieldEl.value)+steps;
fieldEl.value=current-steps;