Jump to content


  • Content count

  • Joined

  • Last visited

  1. kevinp

    Orderlist contrib

    I am working with orderlist version 5.1d and an examination of the code that handles attributes exposed some code that seemed odd to me. if (isset($order->products[$i]['attributes']) && (sizeof($order->products[$i]['attributes']) > 0)) { for ($j=0, $k=sizeof($order->products[$i]['attributes']); $j<$k; $j++) { $j=0; while ($products_options = $order->products[$i]['attributes'][$j]['option']) { echo ' <font color="0000FF"><small>' . $products_options . '</font>' . ' = ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo '</small><br>'; $j++; } } } why would you mess around with the for loop variable "$j" inside the loop? How does php handle this kind of code . Is the $j referenced inside the loop the same as the $j in the for statement?> Thanks Kevin
  2. kevinp

    Who's Online Enhancement 1.4

    I have installed version 3.5.4 on a CRE Loaded shop (V6.12.13.1). The only problem I have noticed is that some of my URLs are longer than the last_page_url definitiion of varchar(64). Is there any problem with chaging the length to varchar(255)? I looked for a database definition in the contribution and could not find one. I had to updare from version 1.6 which what came with CRE Loaded. Thanks
  3. kevinp

    Google Analytics module

    I am also experiencing the situation where paypal IPN orders do not get recorded in google analytics. I believe what is happening is that the customer does not return to the store after purchasing - so checkout_success is never reached. I do not see where I would report the purchase to google in the IPn processing code. I have to admit that I have trouble following the IPN code. Any help would be appreciated.
  4. I figured it out myself! I need to reset the SEO cache.
  5. I am having problems with this contribution. I've deleted a manufacturer from the admin panel (and verified that the manufacturer id is gone using mysql) however I do not get a 404 error when I reference the manufacturers page. If I use a manufacturers number that has never been used then I get the 404. Where do I need to look to solve this problem?