Jump to content

nate1749

Members
  • Content count

    14
  • Joined

  • Last visited

  1. Well I think I figured it out, I just don't know how to fix it... On the new products page it's pulling from Buy It Now, which is this in application_top // performed by the 'buy now' button in product listings and review page case 'buy_now' : if (isset($HTTP_GET_VARS['products_id'])) { if (tep_has_product_attributes($HTTP_GET_VARS['products_id'])) { tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])); } else { $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+1); } } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; Now if I change the +1 to +$HTTP_POST_VARS['quantity'] when something is added to the cart it just says 'your cart is empty,' I notice that for buy it not it says HTTP_GET_VARS and not HTTP_POST_VARS, but changing it to +$HTTP_GET_VARS['quantity'] didn't work either. I'll keep guessing and checking w/the code, but if anyone knows the right line it would be appreciated. Nate
  2. I'm using contrib "Add quantity box to product info page" which works great on the product info page, however, I can't seem to get this to work on the products_new.php page. I am able to get the box to appear, but when I enter in a number like 7 and add it to the cart it's only putting 1 in the cart. I'm very confused since the code is identical and it's still looking at application_top, so I'm not sure what it's not working. Any ideas? Nate
  3. nate1749

    Contribution - Admin Create Account 1.0

    I'm sorry I can't help - I haven't even installed this yet - I was just wondering if it was possible to set the password myself rather than having a random one via e-mail. That may sound odd, but a lot of my customers are not computer-savy (they're used to ordering from catalogs) so I like to know the password when I call them so I can tell them over the phone (and to make the password easy). I have a private wholesale website so I make all of the customer accounts - thanks.
  4. nate1749

    Shadowbox For Product_Info.php

    I'm having trouble using any of the additional image modules w/shadowbox, can anyone recommend a contribution that allows for multiple pictures and works seamlessly with shadowbox? Nate
×