Jump to content

netsite

Members
  • Content count

    10
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Doug
  • Gender
    Male
  • Location
    Chicago

Recent Profile Visitors

2,243 profile views
  1. netsite

    Amazon Pay

    Try this https://github.com/amzn/login-with-amazon-oscommerce
  2. After hours of trying to figure it out, changing the code, and changing the code again and again tried something else. It worked. All of this is on 2.3.4 now - moved from 2.2RC2a The only thing that would not work was shopping cart. It would display warning but not update quantity. Just move the code up and it works fine. //Minimum quantity code if(MINIMUM_ORDERS == 'true'){ $min_order_query = tep_db_query("select p.minorder as min_quant FROM " . TABLE_PRODUCTS . " p where p.products_id = '".$products[$i]['id']."'"); while ($min_order = tep_db_fetch_array($min_order_query)) { if ($products[$i]['quantity'] < $min_order['min_quant'] ) { $products[$i]['min_quant']=$min_order['min_quant']; } } if ($products[$i]['quantity'] < $products[$i]['min_quant'] ) { $products[$i]['quantity']=$products[$i]['min_quant']; $cart->update_quantity($products[$i]['id'],$products[$i]['quantity'],$products[$i]['attributes']); $cart_notice = sprintf(MINIMUM_ORDER_NOTICE, $products[$i]["name"], $products[$i]["min_quant"]); } } //End Minimum quantity code $products_name .= '<br /><br />' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . ' ' . TEXT_OR . '<a href="' . tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product') . '">' . TEXT_REMOVE . '</a>'; $products_name .= ' </td>' . ' </tr>' . '</table>'; // THIS IS WHERE MINIMUM QUANTITY CODE WAS ON 2.2 AND ALL I DID WAS MOVE IT UP ABOVE THE PRODUCTS_NAME SECTION ABOVE AND IT STARTED WORKING FINE. EVEN UPDATING THE QUANTITY TO 1 CHANGED IT BACK TO MINIMUM QTY
  3. First Class Parcel issue fixed. I added an update download to your package with a replacement file. Works great.
×