Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

leolll

Archived
  • Posts

    17
  • Joined

  • Last visited

Everything posted by leolll

  1. Anyone have an idea on how to base quanity discounts on the total quantity of a product in a cart if it shows up as two items because it's been entered with different attributes?
  2. Anyone have an idea on how to base quanity discounts on the total quantity of a product in a cart if it shows up as two items because it's been entered with different attributes?
  3. Here's my setup: Using MS2 with Quantity Price Breaks Per Product Price Break Subject matter: Applying quantity discounts on a per product basis, not on a per cart entry bases. The Quantity Price Breaks Per Product contribution doesn't seem to discount a product when the product is entered into the cart with different attributes selected even though the combined quantity of the products meets a quantity discount amount. Here's what I mean: Lets say you have a store with two different t-shirts (shirt A and shirt B) and they both come in three different colors. You want customers to get a discount if they buy three shirt A's or three shirt B's. Here's where the problem lies. When a customer adds two blue shirt A's and two red shirt A's they are entered into the cart as separate items and the Quantity Price Breaks Per Product doesn't recognize that four shirt As are in your basket. Is there any way to get this functionality? Any help would great.
  4. I've read posts of people running into complexities while trying to make a ?Recently Viewed? infobox. The main problem being that a database table would have to store the customer?s ID and products viewed, and that this table would balloon in size and have to be deleted periodically. My question is why not store their last three products viewed in a session variable and not deal with the above problem. I'm not a php expert so if the above doesn't make sense, don't be too harsh. :lol: Leo
  5. You should double check to see you did this step properly: Insert a new field into TABLE_PRODUCTS, using this SQL command: ALTER TABLE PRODUCTS ADD `products_sort_order` INT(3);
  6. After some searching through the code, I found why the submit button is not functioning. Around line 418 of orders_editable.php you'll find this: <tr> <td colspan="6"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText" valign="top"><?php echo $orders_split->display_count($orders_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_ORDERS); ?></td> <td class="smallText" align="right"><?php echo $orders_split->display_links($orders_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page'], tep_get_all_get_params(array('page', 'oID', 'action'))); ?></td> </tr> </table></td> </tr> Grab that code and move it about eleven lines down, just below this: <td class="smallText" align="right"><?php echo HEADING_TITLE_STATUS . ' ' . tep_draw_pull_down_menu('new_status', $orders_statuses, '', ''); ?></td> </td> <td><input type=submit vlaue="edit Orders"></td> </tr> That should fix the problem. The reason this is done, is that the section of code that was moved had a "</form>" tag in it, which it's supposed to, but caused the submit button to do nothing. Also: Make sure you've deleted the three references to o.ip_address.
×
×
  • Create New...