Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

Everything posted by crashwave

  1. crashwave

    USPS Methods issue

    If you are using the current modules with updated files it is a database error you need SHIPPING_ORIGIN_COUNTRY SHIPPING_ORIGIN_ZIP they are supposed to replace STORE_ORIGIN_COUNTRY STORE_ORIGIN_ZIP but I left originals and added others INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES ('', 'Shipping Postal Code', 'SHIPPING_ORIGIN_ZIP', '32246', 'Enter the Postal Code (ZIP) of the Store to be used in shipping quotes.', 7, 2, '', '', NULL, NULL); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES ('', 'Shipping Country Code', 'SHIPPING_ORIGIN_COUNTRY', '223', 'Enter the "ISO 3166" Country Code of the Store to be used in shipping quotes.', 7, 1, '', '', NULL, 'tep_cfg_pull_down_country_list('); 223=us The site I am working on is an old site and had several others working on it. so it was not updated correctly. found that info by accident searching for SHIPPING_ORIGIN_COUNTRY http://osdir.com/ml/web.oscommerce.cvs/2003-04/msg00006.html
  2. tallwang This is a SHIPPING price contribution not a PRODUCT ATTRIBUTE price one. gezuvor admin>configuration>shipping there is a setting for that.
  3. If your confirmation page shows 16.50 as shipping total it works. If not you did something wrong somewhere. The only shipping methods to select from are none indiv shipping. That is not an option to select from it is added to end of checkout
  4. crashwave

    Actual Attribute Price V1.0

    Each is a given I think when someone orders. You will have to change table structure to accept text. also the attribute page price options will have to be changed to allow other than number I think. $x has to be a whole number not $x.50 Where price is called it needs to be changed to (int)$attribute_price (where attribute_price is the price name don't remember exact name off the top of my head). ie you need to add (int) everytime attribute price is requested or assign it like $attribute_price = (int)$attribute_price (also account for currency class) with 50 each that will output 50
  5. http://www.oscommerce.com/forums/index.php?s=&...ndpost&p=716479 and the one after that. It can be done but not on its own. IDEA: copy indvship.php how many times you want to add shipping methods and rename to indvship_METHOD.php. like indvship_Ground.php, indvship_Next_day.php, indvship_2day.php.... in admin/categories you would have to add the code to setup and update those methods just like it is now for indvship, renaming indv to indv_METHOD. The code in catolog side would have to be changed too to allow for selecting the methods. If(indiv_methods) show check boxs...then add that total to end. Just a thought now idea how it would really work. Might work on that later. I will be out of the country for about a month due to family emergency. I do not know if I will have much time to get online. So if someone who has got this down (I volunteer Keith "homewetbar") maybe they would pitch in and help out. Heidi With the newer versions it has an option to increase price if out of shops zone. Price is multiplied by designated amount default 3.
  6. yes and yes for 1. you would hae to configure that shipping option to disregard indv shipping prices at the end. I don't know how that module is set up it might already do that but indv shipping is added at the end to the total. You might want to change to if(shipping method pickup selected) subtract $shiptotal.
  7. crashwave

    Actual Attribute Price V1.0

    For those that have a problem finding the file names I highlighted them. All it is is cut and paste. If you think it is horrible..Use something else, or make your own the way you like it. there are people using this on live sites. NO 5-in classes/shopping_cart.php above $products_array[] = array('id' => $products_i add //BOF PHPMOM.COM AAP//hadir $attributes_price = 0; if (isset($this->contents[$products_id]['attributes'])) { reset($this->contents[$products_id]['attributes']); while (list($option, $value) = each($this->contents[$products_id]['attributes'])) { $attribute_price_query = tep_db_query("select options_values_price, price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id = '" . (int)$products_id . "' and options_id = '" . (int)$option . "' and options_values_id = '" . (int)$value . "'"); $attribute_price = tep_db_fetch_array($attribute_price_query); if ($attribute_price['price_prefix'] == '') { $attributes_price += ($attribute_price['options_values_price']-$products_price); } elseif ($attribute_price['price_prefix'] == '+') { $attributes_price += $attribute_price['options_values_price']; } elseif ($attribute_price['price_prefix'] == '-') { $attributes_price -= $attribute_price['options_values_price']; } } } //eof actual attribute//hadir It says above
  8. crashwave

    Actual Attribute Price V1.0

    Maybe if it is read correctly people will get it. It clearly states what files to modify and the order.php http://www.dailywholesale.com/creloaded/Ad...rices_1.41.html
  9. That is why I made it to work with all modules. before no other module were displayed. You can use other shipping methods. I don't get that is the purpose to add the indiv price to total shipping for prod that have it. Indv will continue to be added to the other amounts, with its products included in the other methods, unless EACH module is modified to subtract those products (not price) from calculations. To subtract the indiv shipping price from certain methods like express, same day What can be done Add a * to each shipping method that will have indiv price added to it and let customer now "* Flat fee of $X for Y products will be added".. Modify script not sure where right now ,I think ot_shipping or classes/shipping, just the part that calculates everything at the end (confirmation), to SUBTTRACT the shiptotal if the OTHER (without *) shipping methods selected. This is just a suggestion for now I have not tried it or looked at the code to see if it could work but I am pretty sure it would.
  10. sorry but dmGremlin hasn't been here since 11th June 2005. Yes this will work Set shipping price per products and per quantity. Independent of other shipping modules for products that do not have a shipping price.
  11. Quick question for all those using IPP. Suggestions please If you have enabled free shipping and the cart price has reached the "free_shipping_over" price Would you rather have individual shipping follow this rule and have those with indv shipping fall under free shipping too. Or would you rather have individual shipping be separate and added anyway even though free price was reached.
  12. crashwave

    Multi_Vendor_Shipping new thread

    ok I got it in table.php function quote($method = '', $module = '', $vendors_id = '1') { global $HTTP_POST_VARS, $shipping_weight, $order, $cart, $shipping_num_boxes; if (@constant('MODULE_SHIPPING_TABLE_MODE_' . $vendors_id) == 'price') { $order_total = $shipping_cost; } else { $order_total = $shipping_weight; } $cost needs to be a global ( $shipping_cost is nothing in vendor_shipping) function quote($method = '', $module = '', $vendors_id = '1') { global $HTTP_POST_VARS, $shipping_weight, $order, $cart, $shipping_num_boxes, $cost; if (@constant('MODULE_SHIPPING_TABLE_MODE_' . $vendors_id) == 'price') { $order_total = $cost; } else { $order_total = $shipping_weight; }
  13. crashwave

    Multi_Vendor_Shipping new thread

    No there is an option to change to price and I use my other table shipping module, not the one with vendor, based on price
  14. Ok that was the wrong contribution. That one will add other shipping prices. There was one I saw that added other shipping to individual like express. Have no idea where it went. If anyone finds it please post.
  15. crashwave

    Multi_Vendor_Shipping new thread

    I got my problems solved and it works somewhat. I am testing one shipping method at a time started with table. 25:8.50,50:5.50,10000:0.00 porblem I am having is shipping is not changed when price changes. at first I was using product prices, then I thought maybe it is by vendor prices so I used that as the comparing price. still nothing. price stuck at 8.50.
  16. If the only products in cart have an individual shipping price that is all that will show. If you add other products that do not have individual shipping the other methods will show. make sure you have them installed and active, I had people ask that did not have any other modules installed. If you want to add other methods to the individual like express or overnight I think there is a contribution that MIGHT work. http://www.oscommerce.com/community/contributions,2918. Just remember that one was written in feb. The newer versions of indiv ship with different indvship.php where written later.
  17. crashwave

    Multi_Vendor_Shipping new thread

    Is there a bug fix page/site somewhere for this. Having to read through 48 pages for a bug fix is a little much. If not can there be something simple, a page with something like Date Bug Fix I am willing to host it :D Thanks
  18. If you can get a fuction written up to detect prod id with indv and a simple line or so to add to other shipping modules to not add those prod id's that would be cool. I can do it no problem I just don't have the time to start somthing new. Will prob be a week or more before I can even start. the get indv_count function shoul help. somehting like that but instead of just count output an array of product_ids. Then I gues line in other modules would be like if not in array indv_product_id product_id....something like that.
  19. Ok I went through everything and except for those two fixes everything is in instructions. The last post adding 'invcost' => $shipping_modules->get_shiptotal() is actually what caused the shipping to not be included in confirmation page. So it should all work now. Will post fix in contrib page. Thanks David for pointing this out.
  20. Try this I forgot to add a step in new install 4.3 fix #2 in checkout_shipping add 'invcost' => $shipping_modules->get_shiptotal() under 'cost' => $quote[0]['methods'][0]['cost'] like this $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost'], /////////INDV SHIP///////// 'invcost' => $shipping_modules->get_shiptotal()); still checking other things I might have forgot to add to instr. Tell me if that fixes your problem.
  21. can change above to suit needs I have so if shiptotal is '0' it multiplies the indiv count by the INDIVIDUAL_SHIP_INCREASE. The one I wrote above just add INDIVIDUAL_SHIP_INCREASE to the '0' shiptotal
  22. ok first 4.3 bug fix 4.2 had it right..I don't remember why I moved it but I WAS WRONG move // CHECK TO SEE IF SHIPPING TO HOME COUNTRY, IF NOT INCREASE SHIPPING COSTS BY AMOUNT SET IN ADMIN....... back where it was in 4.2 function get_shiptotal in classes/shipping should look like this function get_shiptotal() { global $cart, $order; $this->shiptotal = ''; $products = $cart->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { // mod indvship//modified hadir if (tep_not_null($products[$i]['products_ship_price'])) { $products_ship_price = $products[$i]['products_ship_price'];//} $products_ship_price_two = $products[$i]['products_ship_price_two']; $products_ship_zip = $products[$i]['products_ship_zip']; $qty = $products[$i]['quantity']; if(tep_not_null($products_ship_price) ||tep_not_null($products_ship_price_two)){ $this->shiptotal += ($products_ship_price); if ($qty > 1) { if (tep_not_null($products_ship_price_two)) { $this->shiptotal += ($products_ship_price_two * ($qty-1)); } else { $this->shiptotal += ($products_ship_price * ($qty-1)); } } /////////////NOT HERE <<------------ } } }// CHECK TO SEE IF SHIPPING TO HOME COUNTRY, IF NOT INCREASE SHIPPING COSTS BY AMOUNT SET IN ADMIN /////////////move back here <<------------ if (($order->delivery['country']['id']) != INDIVIDUAL_SHIP_HOME_COUNTRY) { if(INDIVIDUAL_SHIP_INCREASE > '0' || $this->shiptotal > '0') //NEW $this->shiptotal *= INDIVIDUAL_SHIP_INCREASE; else $this->shiptotal += INDIVIDUAL_SHIP_INCREASE; //NEW } return $this->shiptotal; }
  23. Did you add INDIVIDUAL_SHIP_HOME_COUNTRY and INDIVIDUAL_SHIP_INCREASE to your database configuration table and did you update it in admin.
  24. something is wrong with your $shiptotal it should not be '0'. Check the function that gets that. I will check the instr see if I forgot something.