Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 2 votes

[contribution] individual product shipping prices


730 replies to this topic

#41 Ala

  • Community Member
  • 19 posts
  • Real Name:Alane

Posted 19 August 2003, 23:29

I am not able to test Individual Product Shipping Prices because I am using OSCommerce MS2 and are to stupid to integrate all necessary modifications. So excuse if there is a proposal that is already realized.

My idea is to use the categories for different vendors that deliver the products directly to the client. So it would be fine to have two additional fields for each category: Minimum and Maximum shipping costs.

So for example there you can define
category 1 (articles from vendor 1): minimum: 2$, max. 10$, first article 1$, all additional articles: 0,50$
category 2 (articles from vendor 2): minimum: 4$, max. 20$, first article 2$, all additional articles: 1$

If someone orders now from category 2 articles and from category 2 4 articles the shipping costs will be:
for category 1: 2$ (because minimum isn't reached)
for category 2: 2+1+1+1+1=6$
so together: 8$

Perfect, but difficult, would be a connection to different zones like diskussed here.

What do you think?

#42 Farrukh

  • Community Member
  • 480 posts
  • Real Name:Farrukh Saeed

Posted 24 August 2003, 14:14

Hi dmGremlin

Can you just make a slight change in the display of individual Ship at the checkout page.

For. ex. If I have set-up Zone Rates or any other shipping module, and if I want to only show the individual shipping of a product without displaying any other Shipping Modules.

Can you integrate it into the mod.
Just, Individual Shipping should be visible when its set, for a product.

Your help is greatly appreciated

#43 sgflowers

  • Community Member
  • 333 posts
  • Real Name:kevin sullivan
  • Gender:Male

Posted 24 August 2003, 14:19

Quote

Hi dmGremlin

Can you just make a slight change in the display of individual Ship at the checkout page.

For. ex. If I have set-up Zone Rates or any other shipping module, and if I want to only show the individual shipping of a product without displaying any other Shipping Modules.

Can you integrate it into the mod.
Just, Individual Shipping should be visible when its set, for a product.

Your help is greatly appreciated

This is exactly what i need as well i have some larger items that i need to ship via an alternate carrier and i need to ship 90 % of my products via a courier

#44 LeeH

  • Community Member
  • 121 posts
  • Real Name:Lee Harrison

Posted 28 August 2003, 06:48

Hi,

I'm wondering if this contribution can be modified to show several shipping methods per individual product (ie., UPS ground, Fedex 2 day, etc.) I already have fields for each shipping method per product in my product table which reflects my cost from a distributor who ships directly to the customer. I would like to simply pass these on as is or with a slight mark-up. I'm on MS2 and have read the code changes posted in this thread, but before I start all this hacking, I'd like to know if this will do the trick.

Thanks

#45 Arien

  • Community Member
  • 58 posts
  • Real Name:Robin Hawkes

Posted 04 September 2003, 22:16

Can anyone help me out..

What would happen if someone bought two items.. one that has individual shipping.. and the other didn't..

Could someone explain to me how the shipping would be calculated?

#46 streetflossin

  • Community Member
  • 249 posts
  • Real Name:Ryan
  • Location:New Jersey

Posted 05 September 2003, 23:33

Ok I have oscom ms2 and I just installed this and during check out I get the following problem:

Sub-Total: 1146 - Table 'streetfl_shop.TABLE_SHIPPING_METHODS' doesn't exist

select method_name from TABLE_SHIPPING_METHODS

[TEP STOP]

What is the problem here? streetfl_shop is my database name and I do have a Table_Shipping_Methods in it, but also during my coding i named my product_ship_method to ship_method due to other errors I was recieving.

#47 Farrukh

  • Community Member
  • 480 posts
  • Real Name:Farrukh Saeed

Posted 06 September 2003, 03:53

Quote

Ok I have oscom ms2 and I just installed this and during check out I get the following problem:

Sub-Total: 1146 - Table 'streetfl_shop.TABLE_SHIPPING_METHODS' doesn't exist

select method_name from TABLE_SHIPPING_METHODS

[TEP STOP]

What is the problem here? streetfl_shop is my database name and I do have a Table_Shipping_Methods in it, but also during my coding i named my product_ship_method to ship_method due to other errors I was recieving.


Remove product_ship_method

It is a part of another mod

#48 carrerarod

  • Community Member
  • 731 posts
  • Real Name:Rodney

Posted 13 September 2003, 15:28

Quote

Genius also brought up an interesting point in a private message I have neglected to look at in any detail until now... as it stands now, if you have two different products in the cart, it will use the first price for the first one of each item then the second price for any quantity beyond one for each item, but say you wanted to use the second price on every item after the first item in the cart, regardless of if they are different products... this opens up a small can of worms in that you'd have to figure out how to specify which item came first - so that the first price would be accurate.  Beyond that, I think you'd just have to replace one line... well I'm not entirely sure what to replace it to, but there's a function in the shopping_cart.php called 'count_contents' that seems to count the total number of things in the cart.  You'd need to put an if statement that if the contents were more than 1, use the second price... I can't think of the proper 'spelling' for this offhand but if someone were to start tinkering with it, that would be a good place to start.  

So I have been using this contrib for about 2 weeks now in production. My sales have really jumped and I think it's partially because of this contrib. This contrib allowed me to let my customers know what the shipping cost would be regardless of their location for any given product. I tested this theory out on a few products with positive results.

I would however like some ideas on how to deal with the above. I have customers that purchase several products and their shipping turns out to be too high with this contrib. Let's say they purchase 3 different products @ $8 ea for shipping, their total would be $24.... I would love to simply "average it out". Just not sure which script does that math. If customer buys 3 products at $8, $9 and $10 shipping for ea. I would love to see the total shipping for that order average to $9.....

Ideas? Thoughts?

#49 Farrukh

  • Community Member
  • 480 posts
  • Real Name:Farrukh Saeed

Posted 13 September 2003, 18:48

Quote

So I have been using this contrib for about 2 weeks now in production. My sales have really jumped and I think it's partially because of this contrib. This contrib allowed me to let my customers know what the shipping cost would be regardless of their location for any given product. I tested this theory out on a few products with positive results.

I would however like some ideas on how to deal with the above. I have customers that purchase several products and their shipping turns out to be too high with this contrib. Let's say they purchase 3 different products @ $8 ea for shipping, their total would be $24.... I would love to simply "average it out". Just not sure which script does that math. If customer buys 3 products at $8, $9 and $10 shipping for ea. I would love to see the total shipping for that order average to $9.....

Ideas? Thoughts?

Download the latest version of Individual Shipping.
It lets you specify an additional price in which you can increase or decrease the price if a customers buy more than one product.

#50 carrerarod

  • Community Member
  • 731 posts
  • Real Name:Rodney

Posted 13 September 2003, 18:52

Quote

Quote

So I have been using this contrib for about 2 weeks now in production. My sales have really jumped and I think it's partially because of this contrib. This contrib allowed me to let my customers know what the shipping cost would be regardless of their location for any given product. I tested this theory out on a few products with positive results.

I would however like some ideas on how to deal with the above. I have customers that purchase several products and their shipping turns out to be too high with this contrib. Let's say they purchase 3 different products @ $8 ea for shipping, their total would be $24.... I would love to simply "average it out". Just not sure which script does that math. If customer buys 3 products at $8, $9 and $10 shipping for ea. I would love to see the total shipping for that order average to $9.....

Ideas? Thoughts?

Download the latest version of Individual Shipping.
It lets you specify an additional price in which you can increase or decrease the price if a customers buy more than one product.

I already have that mod. that only works if it's the SAME product. I am talking about multiple DIFFERENT products.

#51 nrapt

  • Community Member
  • 155 posts
  • Real Name:Jennifer Sifuentes
  • Location:Kauai, Hawaii

Posted 15 September 2003, 00:12

Aloha,
I just installed the Individual Product Shipping Prices v.2.0 to Noni Fruit Leather but now there is an error code for general.php
Fatal error: Cannot redeclare tep_parse_input_field_data() (previously declared in /home/nonifrui/wwwroot/nonifruitleather.net/oscom/catalog/includes/functions/general.php:36) in /home/nonifrui/wwwroot/nonifruitleather.net/oscom/catalog/includes/functions/html_output.php on line 15

I checked the file against the original in WinMerge (please note - I can only fumble through code) and it looked as if the changes were necessary. Can anyone explain what this means and how I should correct it?

;)
Jenn
Thank you for your time and energy.

#52 nrapt

  • Community Member
  • 155 posts
  • Real Name:Jennifer Sifuentes
  • Location:Kauai, Hawaii

Posted 15 September 2003, 02:11

Now I see that I am actually getting multiple errors

Fatal error: Call to undefined function: tep_array_merge() in /home/nonifrui/wwwroot/nonifruitleather.net/oscom/admin/categories.php on line 681

and those lines look like this:
// Get parent_id for subcategories if search 
      if ($HTTP_GET_VARS['search']) $cPath= $categories['parent_id'];

      if ( ((!$HTTP_GET_VARS['cID']) && (!$HTTP_GET_VARS['pID']) || (@$HTTP_GET_VARS['cID'] == $categories['categories_id'])) && (!$cInfo) && (substr($HTTP_GET_VARS['action'], 0, 4) != 'new_') ) {
        $category_childs = array('childs_count' => tep_childs_in_category_count($categories['categories_id']));
        $category_products = array('products_count' => tep_products_in_category_count($categories['categories_id']));

        $cInfo_array = tep_array_merge($categories, $category_childs, $category_products);
        $cInfo = new objectInfo($cInfo_array);
      }

      if ( (is_object($cInfo)) && ($categories['categories_id'] == $cInfo->categories_id) ) {
        echo '              <tr class="dataTableRowSelected" onmouseover="this.style.cursor=\'hand\'" onclick="document.location.href=\'' . tep_href_link(FILENAME_CATEGORIES, tep_get_path($categories['categories_id'])) . '\'">' . "\n";
      } else {
        echo '              <tr class="dataTableRow" onmouseover="this.className=\'dataTableRowOver\';this.style.cursor=\'hand\'" onmouseout="this.className=\'dataTableRow\'" onclick="document.location.href=\'' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $categories['categories_id']) . '\'">' . "\n";
      }
line 681 is $cInfo_array

I would appreciate any assistance whatsoever, thanks!
Jenn
Thank you for your time and energy.

#53 Elmo

  • Community Member
  • 195 posts
  • Real Name:Elmo

Posted 23 September 2003, 23:49

Hi I have a quick question regarding Individual Shipping Prices v3.1 for oscommerce version 2.2 MS2.

In the readme file, it says:

Files to upload: 2
------------------
catalog/includes/modules/shipping/indvship.php
catalog/includes/languages/english/modules/shipping/indvship.php

Files to modify: 2
------------------
catalog/includes/classes/shopping_cart.php
admin/categories.php

but after I unzipped the file, I see the checkout_shipping.php in the catalog directory and general.php, indvship_status.php under the admin directory. And several other files in the catalog\includes directory (besides catalog/includes/modules/shipping/indvship.php
catalog/includes/languages/english/modules/shipping/indvship.php)

May I confirm if we need to replace all these files too? I am very confused because in the Readme file, it says

Files to upload: 2
------------------
catalog/includes/modules/shipping/indvship.php
catalog/includes/languages/english/modules/shipping/indvship.php

Files to modify: 2
------------------
catalog/includes/classes/shopping_cart.php
admin/categories.php

so I am wondering if the Readme.txt file and the Readme - Additional Shipping Charges.txt file are not for Individual Shipping Prices v3.1 but are for the very early version of Individual Shipping Prices. May I ask if someone can shed some light on this? Thanks very much.
Best regards,

Elmo

#54 gunwalt

  • Community Member
  • 15 posts
  • Real Name:Guntram Walter
  • Location:Erkrath/Germany

Posted 26 September 2003, 10:25

Hi,

I worked with a free product, that comes free. Then I gave two other
products in the basket and the charge of the nws products was added.

I tested with
Indv. Shipping Price: 2.00
Each Additional Price: 2.00

and also with

Indv. Shipping Price: 2.00
Each Additional Price: 0.00

and

Indv. Shipping Price: 2.00
Each Additional Price: -2.00

always the same summer. Any idea?

Guntram

(works with MS2)

#55 custom-pcsystems

  • Community Member
  • 21 posts
  • Real Name:martin

Posted 06 October 2003, 21:40

Ive installed this mod & looks great, but 1 problem :angry: In admin i specify a price for an item for example a hardrive will be £100 with shipping cost set to £50, but at the checkout process the shipping cost is £0. So the customer doesnt get charged the £50 shipping. Ive gone back to admin and the charge is still on the product - why doesnt the £50 shipping show up in the cart ?

#56 kburks

  • Community Member
  • 2 posts
  • Real Name:ken burks
  • Location:south fl

Posted 11 October 2003, 22:37

Need help!

I installed the module and it seemed to work correctly except for that when I enter the individual prices into the admin product details it doesn't stay. I go back and it is 0 once again.

It wont seem to keep the value.

Am i missing something?

thanks

#57 Farrukh

  • Community Member
  • 480 posts
  • Real Name:Farrukh Saeed

Posted 12 October 2003, 18:34

Did you enter the SQL command in your database also did you edit the admin => categories.php file

#58 ScubaDave

  • Community Member
  • 5 posts
  • Real Name:Dave

Posted 19 October 2003, 10:35

I am having the same problem as kburks any help? i changed my sql data base, i used the files included in the contribution ,please help iam new to this
Dave :unsure:

#59 custom-pcsystems

  • Community Member
  • 21 posts
  • Real Name:martin

Posted 25 October 2003, 12:50

kburks, on Oct 11 2003, 06:37 PM, said:

Need help!

I installed the module and it seemed to work correctly except for that when I enter the individual prices into the admin product details it doesn't stay. I go back and it is 0 once again.

It wont seem to keep the value.

Am i missing something?

thanks
Im also having the same problem, dont think its a database problem ? In the database ive added the values manually using PHPMyadmin and then checked to see if they show up during checkout- which they dont. Using the prev version 2.2 the value stays in admin, but doesnt show in the cart. Where could we be going wrong :blink: Ive entered the SQL command in my database & edited the admin => categories.php file

#60 jeffjb

  • Community Member
  • 56 posts
  • Real Name:Jeff

Posted 25 October 2003, 23:10

Installed this mod and it works great. I am wondering if I can specify only certain products to use JUST the individual rate while the rest of the products to use the table rate? When I turn this on the custmer can choose what they want to pay I would like to force them to pay the individual price on certain products and the table rate for others.

Thank you B)