Jump to content

quetevendo

Members
  • Content count

    66
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by quetevendo


  1. I also try to understand that it is and what course do not understand how it will continue this.

    I see the version BS has good progress. But is released or is official, then I understand nothing.

    Might harald please clarify this.

    Sometimes the answers are read with some "superiority" and even "bad deal" I am looking for a simple and clear answer to know what happens.

    I must say that I've been reading this forum for years and working as I could. I've even been sponsor.

    I hope your answers.


  2. Have had the same problem today,

     

    After a bit of searching I found a solution, basically the fix is to add (double) just after number_format(

     

     

    <td align="right" class="dataTableContent">
    <input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format((double)$order->totals[$i]['value'], 2, '.', '') . '" size="6">
    
    Being reasonably new to php & mysql I really don't understand why this works - maybe someone can explain unsure.gif

     

     

     it is the solution!

     

    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format($order->totals[$i]['value'], 2, '.', '') . '" size="6"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n";
    

    Replace With:

    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format((double)$order->totals[$i]['value'], 2, '.', '') . '" size="6"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n";

  3. I had problems with this addons (modified) in a purchased template, after upgrading to 2.3.2

     

    Do not show the module with the associated products

    The solution steps:

    Change the line:
     

    if (mysql_num_rows ($ attribute_query)> 0) {
    

    by:

    if (mysqli_num_rows ($ attribute_query)> 0) {

    Very simple and worked me!

×