Jump to content
Latest News: (loading..)

arczi

Members
  • Content count

    3
  • Joined

  • Last visited

1 Follower

Profile Information

Recent Profile Visitors

1,708 profile views
  1. arczi

    Advanced Sales Report

    If you're using <base> in your code you will show duplicate admin panel under jquery tabs. Advanced sales report works fine without <base> tag and with older jquery version (1.8.x).
  2. for quantity box on product page only need to add this line in product_info.php echo tep_draw_input_field('cart_quantity', '1', 'maxlength="2"'); ...where you want to have qty box and make changes in application_top.php find: case 'add_product' : if (isset($HTTP_POST_VARS['products_id']) && is_numeric($HTTP_POST_VARS['products_id'])) { $attributes = isset($HTTP_POST_VARS['id']) ? $HTTP_POST_VARS['id'] : ''; $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes))+1, $attributes); replace with: $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes)) + $HTTP_POST_VARS['cart_quantity'], $attributes); that's all :thumbsup:
  3. arczi

    Simple tracking module

    Hi below I put fix for orders.php file (only if you use PHP < 5.3; reason: return blank page): find: $tracking_arr = array_filter($tracking_modules, function($v) { return $v['number'] !== ''; });//remove all other array elements but with the one with tracking number replace with: $array_filter = create_function('$v', 'return $v["number"] !== "";'); $tracking_arr = array_filter($tracking_modules, $array_filter); That's all. Bye :thumbsup:
×