Patty Posted September 28, 2007 Share Posted September 28, 2007 BTW, this is the contribution for free shipping I'm using (latest release): http://www.oscommerce.com/community/contributions,146 Quote Patty Link to comment Share on other sites More sharing options...
Mystex Posted September 28, 2007 Share Posted September 28, 2007 to implement the Quantity Price Break I think I'm on the right track and first would be to modify the cart file. So comparing the cart file with the modified cart file for quantity price break I have figured out what some of the functions are but here's one I'm not sure what it does. Â function count_contents() { // get total number of items in cart $total_items = 0; if (is_array($this->contents)) { reset($this->contents); while (list($products_id, ) = each($this->contents)) { $total_items += $this->get_quantity($products_id); } } return $total_items; } Â Is this function the same as the function add_cart? Quote Link to comment Share on other sites More sharing options...
Mystex Posted September 28, 2007 Share Posted September 28, 2007 to implement the Quantity Price Break I think I'm on the right track and first would be to modify the cart file. So comparing the cart file with the modified cart file for quantity price break I have figured out what some of the functions are but here's one I'm not sure what it does. function count_contents() { // get total number of items in cart $total_items = 0; if (is_array($this->contents)) { reset($this->contents); while (list($products_id, ) = each($this->contents)) { $total_items += $this->get_quantity($products_id); } } return $total_items; }  Is this function the same as the function add_cart?  looking at the code more I have to wonder if the following function isn't more inline with what the add_cart function in /catalog/includes/classes/shopping_cart.php  function get_quantity($products_id) { if ($this->contents[$products_id]) { return $this->contents[$products_id]['qty']; } else { return 0; } } Quote Link to comment Share on other sites More sharing options...
bestbookshoponline Posted September 30, 2007 Share Posted September 30, 2007 Hi, I just installed this contribution to my website that had been running for about a year now. I installed the latest update 5.0.6. Unfortunatly i cannot see the update button. Can someone help me please? Â Thanks Quote Link to comment Share on other sites More sharing options...
bestbookshoponline Posted September 30, 2007 Share Posted September 30, 2007 Hi, I just installed this contribution to my website that had been running for about a year now. I installed the latest update 5.0.6. Unfortunatly i cannot see the update button. Can someone help me please? Thanks   Ok i arranged thanks great contrib Quote Link to comment Share on other sites More sharing options...
yatahaze Posted October 2, 2007 Share Posted October 2, 2007 Instead of updating when I move my cursor away from the text i've changed, it gets stuck in an endless loop of asking me for my admin password and I can't get it to do anything. Â Also, some of the items I have in my order total list have html in them, and the order total box really hates that. The code isn't showing up inside editable text boxes, its showing outside. Quote Link to comment Share on other sites More sharing options...
yatahaze Posted October 2, 2007 Share Posted October 2, 2007 Is there any version of this that works with the gift voucher / credit class mod? Whenever I update an order that has a discount on it, the discount gets turned into a positive. Quote Link to comment Share on other sites More sharing options...
yatahaze Posted October 3, 2007 Share Posted October 3, 2007 I'm using the KGT Discount Coupon addon, which as been mentioned here before. I'm having a problem, the order editor isnt calculating the taxes properly.  Order Editor's tax formula: Subtotal * TaxPercentage  Needed: (Subtotal - DiscountCouponAmount) * TaxPercentage  Any idea how I can do this? I'm kinda new to php and struggling to figure out how to do this. Quote Link to comment Share on other sites More sharing options...
rjckicks1 Posted October 4, 2007 Share Posted October 4, 2007 I had a question about this contribution. Does it let you send some sort of notice to the customer to pay a pending order? Â What I want to do is be able to edit a pending order, then send something that allows the customer to pay for the pending orders new price. Â Does this module or a different module do that ? Â Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted October 5, 2007 Share Posted October 5, 2007 Problem... Â When i login as a different admin user without full access rights, i cannot edit the order, firefox says:- Â Firefox has detected that the server is redirecting the request for this address in a way that will never complete. Â And the address in the bar reads:- Â http://**********.co.uk/catalog/admin/login.php?%2Fcatalog%2Fadmin%2Findex.php%3F%252Fcatalog%252Fadmin%252Findex.php%253F%25252Fcatalog%25252Fadmin%25252Findex.php%25253F%2525252Fcatalog%2525252Fadmin%2525252Findex.php%2525253F%252525252Fcatalog%252525252Fadmin%252525252Findex.php%252525253F%25252525252Fcatalog%25252525252Fadmin%25252525252Findex.php%25252525253F%2525252525252Fcatalog%2525252525252Fadmin%2525252525252Findex.php%2525252525253F%252525252525252Fcatalog%252525252525252Fadmin%252525252525252Findex.php%252525252525253F%25252525252525252Fcatalog%25252525252525252Fadmin%25252525252525252Findex.php%25252525252525253F%2525252525252525252Fcatalog%2525252525252525252Fadmin%2525252525252525252Findex.php%2525252525252525253F%252525252525252525252Fcatalog%252525252525252525252Fadmin%252525252525252525252Findex.php%252525252525252525253F%25252525252525252525252Fcatalog%25252525252525252525252Fadmin%25252525252525252525252Findex.php%25252525252525252525253F%2525252525252525252525252Fcatalog%2525252525252525252525252Fadmin%2525252525252525252525252Findex.php%2525252525252525252525253F%252525252525252525252525252Fcatalog%252525252525252525252525252Fadmin%252525252525252525252525252Findex.php%252525252525252525252525253F%25252525252525252525252525252Fcatalog%25252525252525252525252525252Fadmin%25252525252525252525252525252Findex.php%25252525252525252525252525253F%2525252525252525252525252525252Fcatalog%2525252525252525252525252525252Fadmin%2525252525252525252525252525252Findex.php%2525252525252525252525252525253F%252525252525252525252525252525252Fcatalog%252525252525252525252525252525252Fadmin%252525252525252525252525252525252Findex.php%252525252525252525252525252525253F%25252525252525252525252525252525252Fcatalog%25252525252525252525252525252525252Fadmin%25252525252525252525252525252525252Findex.php%25252525252525252525252525252525253F%2525252525252525252525252525252525252Fcatalog%2525252525252525252525252525252525252Fadmin%2525252525252525252525252525252525252Findex.php%2525252525252525252525252525252525253F%252525252525252525252525252525252525252Fcatalog%252525252525252525252525252525252525252Fadmin%252525252525252525252525252525252525252Findex.php%252525252525252525252525252525252525253FoID%252525252525252525252525252525252525253D2 Â Â Â i need it to work so office staff can edit orders without giving them full access to things they could tinker with and muddle up... where did i go wrong?? Â Claire :) Quote Link to comment Share on other sites More sharing options...
shubbert Posted October 5, 2007 Share Posted October 5, 2007 Super Download Shop v1.0 for osCommerce 2.2 MS2 Update 060817 or later  Super Download Shop contribution is an enhancement of the osCommerce download module and download file management, including following features: Secure download for pending orders based on DownLoads Controller v5.3 by Linda McGrath which was the best solution to secure downloads. Without similar control, customers could get their downloads before they actually pay. Group files download per product which enable download shops to offer multiple files in a single product. With this ability, shop owners can: Break a large download file into a group of files, to prevent problems like insufficient resource, time out errors...etc. Bundle multiple downloads in one package to increase sells. Store download files in sub folders under the download directory to improve the file management. Built-in superior file management interface in admin panel. Quote Link to comment Share on other sites More sharing options...
Eskes Posted October 10, 2007 Share Posted October 10, 2007 In ver 5.0.3 was this fixed. -Fixed the shipping tax bug (shipping tax added twice to the order total on sites with Display Price with Tax set to 'true') as pointed out by EuroTimmy in the support thread However with some Swedish models of shipping seams it still be there. I did add a line after : if (!isset($shipping_quotes[$i]['tax'])) $shipping_quotes[$i]['tax'] = 0; to solve the problem temporary. $shipping_quotes[$i]['tax'] = 0; Â This in both order_edit and order_edit_ajax. At least on more in Sweden have the same problem with 5.0.6 Anyone else? //Mattias Quote Link to comment Share on other sites More sharing options...
oldschoo Posted October 10, 2007 Share Posted October 10, 2007 Sorry for the double post. I asked this question in general conrtibutions as a new topic, with no help. Â Please, someone help me with code. Â I have a very heavily modified store. I am almost done installing this contribution. But I am stuck on admin/orders.php. Â I have the following contributions added to my store that also changed the admin/orders.php file, so I am no sure how to incorporate this one with the others. (Email HTML order link, FEC 3.2, PrintOrder with store logo, usps labels) Â The instructions say to replace line 321 with the following: Â <td colspan="2" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_EDIT, 'oID=' . $_GET['oID']) . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a> '; ?></td> Â mine shows at line 359 <td colspan="2" align="right"><?php echo '<a href="java script:popupWindow(\'' . (HTTP_SERVER . DIR_WS_ADMIN . FILENAME_ORDERS_INVOICE) . '?' . (tep_get_all_get_params(array('oID')) . 'oID=' . $HTTP_GET_VARS['oID']) . '\')">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a><a href="java script:popupWindow(\'' . (HTTP_SERVER . DIR_WS_ADMIN . FILENAME_ORDERS_PACKINGSLIP) . '?' . (tep_get_all_get_params(array('oID')) . 'oID=' . $HTTP_GET_VARS['oID']) . '\')">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_USPS_SHIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_labelshipping.gif', IMAGE_ORDERS_USPS_SHIP) .'</a><a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> Â And also, instructions say to replace line 410 with the following: Â $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit') . '">' . tep_image_button('button_details.gif', IMAGE_DETAILS) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_EDIT, 'oID=' . $oInfo->orders_id) . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a>'); Â Mine shows the following at line 449 $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('align' => 'center', 'text' => '<a href="java script:popupWindow(\'' . (HTTP_SERVER . DIR_WS_ADMIN . FILENAME_ORDERS_INVOICE) . '?' . (tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id) . '\')">' . tep_image_button('button_invoice.gif', IMAGE_ORDERs_INVOICE) . '</a><a href="java script:popupWindow(\'' . (HTTP_SERVER . DIR_WS_ADMIN . FILENAME_ORDERS_PACKINGSLIP) . '?' . (tep_get_all_get_params(array('oID')) . 'oID=' . $oInfo->orders_id) . '\')">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERs_PACKINGSLIP) . '</a>'); Â Thank you in advance for any help. Â Beth Quote Link to comment Share on other sites More sharing options...
Patty Posted October 10, 2007 Share Posted October 10, 2007 Hello. There are no replies in this topic for some time now. How's the development and bug fixing on this great contribution going?? Â I'm still having this problem: http://www.oscommerce.com/forums/index.php?sho...p;#entry1142965 Â Could somebody help shed a light on this, please? Â Thank you in advance. Quote Patty Link to comment Share on other sites More sharing options...
rjckicks1 Posted October 11, 2007 Share Posted October 11, 2007 I had a question about this contribution. Does it let you send some sort of notice to the customer to pay a pending order? What I want to do is be able to edit a pending order, then send something that allows the customer to pay for the pending orders new price.  Does this module or a different module do that ?  Thanks  Hi,  I didnt recieve a response to the question I posted.  This module seems perfect to edit an order that has been placed, but can the customer pay for the orders edited ammount after the order has been edited?  For example I edit the order, send them an email with the edited order, and they can pay for it?  Thanks Quote Link to comment Share on other sites More sharing options...
rjckicks1 Posted October 11, 2007 Share Posted October 11, 2007 I had a question about this contribution. Does it let you send some sort of notice to the customer to pay a pending order? What I want to do is be able to edit a pending order, then send something that allows the customer to pay for the pending orders new price.  Does this module or a different module do that ?  Thanks  Hi,  I didnt recieve a response to the question I posted.  This module seems perfect to edit an order that has been placed, but can the customer pay for the orders edited ammount after the order has been edited?  For example I edit the order, send them an email with the edited order, and they can pay for it?  Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2007 Share Posted October 14, 2007 (edited) I've read the last 25 pages of this thread but I can't seem to find if this contribution will work with the Ian's GV add-on? Â If you add a manual discount, i.e. a new order_total row with a negative value, how is the tax affected? What tax class will be used for the discount amount? Â TIA, Fred Edited October 14, 2007 by Fred Quote Link to comment Share on other sites More sharing options...
rjckicks1 Posted October 15, 2007 Share Posted October 15, 2007 Hi, Â I haven't gotten a response yet. My questions is does this module allow you to edit the order, then send a notification to the customer showing the changes and letting the customer click on a link where they can pay for the orders new price? Â I want to make sure on this before installing this contribution on my oscommerce installation. Â Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted October 16, 2007 Share Posted October 16, 2007 I answer my own question in order to help anyone else with the same question. If you add a discount (a negative) order total value the tax calculation will not be correct. At lest in my case with "show prices incl tax" but there is a workaround. You do get the correct tax calculation if you add a "MISC" product to the order. You can then alter the text, model and tax for your discount to fit your need.  Hope this will help somebody out there ...  /Fred  I've read the last 25 pages of this thread but I can't seem to find if this contribution will work with the Ian's GV add-on? If you add a manual discount, i.e. a new order_total row with a negative value, how is the tax affected? What tax class will be used for the discount amount?  TIA, Fred Quote Link to comment Share on other sites More sharing options...
Kes Posted October 19, 2007 Share Posted October 19, 2007 Shipping is not recalculating on large orders with many items. It starts to recalulate when the order returns the shiiping and total box are missing. Â Â It works fine on smaller orders. Â Any ideas most welcome. Quote Link to comment Share on other sites More sharing options...
rjckicks1 Posted October 19, 2007 Share Posted October 19, 2007 Hi, I haven't gotten a response yet. My questions is does this module allow you to edit the order, then send a notification to the customer showing the changes and letting the customer click on a link where they can pay for the orders new price?  I want to make sure on this before installing this contribution on my oscommerce installation.  Thanks!  Can no one answer my question? Anyone that uses this module should be able to answer this question?  Thanks Quote Link to comment Share on other sites More sharing options...
Roaddoctor Posted October 19, 2007 Share Posted October 19, 2007 Hi, I haven't gotten a response yet. My questions is does this module allow you to edit the order, then send a notification to the customer showing the changes yes  and letting the customer click on a link where they can pay for the orders new price? no, no special link unless you code it Quote -Dave Link to comment Share on other sites More sharing options...
Kes Posted October 23, 2007 Share Posted October 23, 2007 Hi DJ, and thankyou for a great contribution! I'm in the middle of testing it on my dummy store and have encountered this problem as well. All I've done here is removed an item from the order. Here's a before and after screenshot. Now you see it:  Now you don't:  The shipping quote part disappears, as do the subtotals and the ability to add a product. I know sweet bugger-all about AJAX, so have no idea where to start troubleshooting.  Cheers, Max.  I am having this same problem. It happens with the shipping update and on long orders when a product quantity changes  I would really appreciate any help you could give me.  Cheers Kes Quote Link to comment Share on other sites More sharing options...
dikkydik Posted November 2, 2007 Share Posted November 2, 2007 I'm facing the same problem. The problems seems indeed that no tax class is admitted to the manual discounts or other custom fields (As indicated by Fred). Does anybody know where in the code the tax class can be added? Â I answer my own question in order to help anyone else with the same question. If you add a discount (a negative) order total value the tax calculation will not be correct. At lest in my case with "show prices incl tax" but there is a workaround. You do get the correct tax calculation if you add a "MISC" product to the order. You can then alter the text, model and tax for your discount to fit your need. Â Hope this will help somebody out there ... Â /Fred Quote Link to comment Share on other sites More sharing options...
Kestas Posted November 7, 2007 Share Posted November 7, 2007 Hello all, Â I just intalled this great module (order_editor_5_0_6), but have folowing bug: When I add product to order in selection popup window I have categories, names in my lithuanian language, but after I submit "add to order" - on order is english product name. It's ok with english language on admin - all in english on popup selection, on order. I have 2 languages on my store. Â How resolve it? I know, I can manualy rename product, but... Quote Kestas Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.