VirtueMart Forum

VirtueMart 2 + 3 + 4 => 3rd party extension => Topic started by: PRO on April 02, 2012, 17:06:08 PM

Title: BTP Pro Shipping Plugin
Post by: PRO on April 02, 2012, 17:06:08 PM
UPDATED: 12/14/12
There are 2 sets of quantity based.
So you can set a rate for 25 or more products, & 50 or more products.
AND: You have the option to set the 1st product at $5, and then each additional at $1





This plugin uses multiplication of the rate you set and the order weight.

It also has free shipping over certain order total.

Allows you to Charge a Flat Fee Per Product.

AND: Allows you to give free shipping over a certain # of products.
For download and more information.
http://www.kaizenmediaworks.com/pro-ship-virtuemart-2-0-shipping-plugin-module

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: corymp on April 10, 2012, 15:30:18 PM
Getting error when installing:

JInstaller: :Install: File does not exist xxxxxxxxxxx\tmp\install_4f8435c6cf9cd\pro_ship\pro_ship
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on April 10, 2012, 16:41:41 PM
Quote from: corymp on April 10, 2012, 15:30:18 PM
Getting error when installing:

JInstaller: :Install: File does not exist xxxxxxxxxxx\tmp\install_4f8435c6cf9cd\pro_ship\pro_ship


Clean your temp folder and cache.

then try again.

ALSO; its written for 2.5+

It might work on J1.5, But I dont know
Title: Re: BTP Pro Shipping Plugin
Post by: corymp on April 10, 2012, 18:04:09 PM
Not sure what the problem is, Theres no cache to clear, nonthing in my tmp folder, and I'm running J2.5.4/VM2.0.3H
Title: Re: BTP Pro Shipping Plugin
Post by: ShowLiFE on April 10, 2012, 18:26:53 PM
Hello
I was first extract and then Compress the file is uploaded by me without any problems.
(inside the folder .~lock.pro_ship.xml#)
Now I do have settings.
Joomla! 2.5.4 / VirtueMart 2.0.4
Best regards ShowLiFE
Title: Re: BTP Pro Shipping Plugin
Post by: corymp on April 10, 2012, 18:29:25 PM
Well that worked :) Thanks!

Title: Re: BTP Pro Shipping Plugin
Post by: PRO on April 10, 2012, 18:44:38 PM
fixed, uploading now
Title: Re: BTP Pro Shipping Plugin
Post by: lipes on April 10, 2012, 21:03:59 PM
Hi.
One idea: How about have a mod that will be able to had free shipping (offer) by (selection) Manufacturer Brand or by Product Category ?
Some Manufacturers offer to costumers the shipping.. some virtuemart stores/catalogue could announce that free (Manufacturer Brand / Category) shipping as a way of promoting their stores too ...
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on April 10, 2012, 21:38:55 PM
lipes, if you want free shipping on an item, leave the weight empty.

THEN, to display free shipping on the product page


<?php if ($this->product->product_weight == 0) { ?>
                  <?php echo JText::_('COM_VIRTUEMART_FREE_SHIP'); ?>
               <?php    }?>



I have been working on other parameters for this plugin.
Like specific product Ids, if you order 5 or more, 6 or more etc. They are free.

But, category ids could also be in there,

But its just easier to leave the weight empty
Title: Re: BTP Pro Shipping Plugin
Post by: airextreme on April 23, 2012, 15:20:54 PM
Great plugin....would be nice if there was a drop down after the country is selected to select state and then another to type in city. Is this possible?
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on April 23, 2012, 17:00:48 PM
Quote from: airextreme on April 23, 2012, 15:20:54 PM
Great plugin....would be nice if there was a drop down after the country is selected to select state and then another to type in city. Is this possible?


Possible yes,

I am not going to do it though.

Title: Re: BTP Pro Shipping Plugin
Post by: airextreme on April 24, 2012, 15:36:21 PM
If u did it would be a great plugin to sell. It appears to be a lot of people looking for it. How much would it take for you do this for me?
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on April 24, 2012, 17:19:02 PM
Quote from: airextreme on April 24, 2012, 15:36:21 PM
If u did it would be a great plugin to sell. It appears to be a lot of people looking for it. How much would it take for you do this for me?

I will not do it,. I made the plugin to use for my site.

Title: Re: BTP Pro Shipping Plugin
Post by: airextreme on April 25, 2012, 06:07:29 AM
great looking forward to it...can u pm me when it is ready. Thanks
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on April 25, 2012, 12:20:32 PM
Quote from: airextreme on April 25, 2012, 06:07:29 AM
great looking forward to it...can u pm me when it is ready. Thanks


Quote from: BanquetTables.pro on April 24, 2012, 17:19:02 PM


I will not do it,. I made the plugin to use for my site.



^^^^

NOT
Title: Re: BTP Pro Shipping Plugin
Post by: John2400 on May 28, 2012, 11:25:23 AM
Hi,

just to say I downloaded (shipping plugin )your software tonight. Installed in about two seconds and works beautifully.

Thank you for sharing.
Title: Re: BTP Pro Shipping Plugin
Post by: addixtnc on May 31, 2012, 04:19:31 AM
i uploaded and installed plugin but not able to have it appear in virtue mart what ami doing wrong?
Title: Re: BTP Pro Shipping Plugin
Post by: John2400 on May 31, 2012, 10:02:59 AM
If the plugin is not working

look in plugins and enable it.

Then go to shipment methods and you will see it as one of the drop down options.
Title: Re: BTP Pro Shipping Plugin
Post by: mowgs on June 01, 2012, 16:29:24 PM
Huge improvement on standard VM shipping by weight, country etc.

Cheers!   :D
Title: Re: BTP Pro Shipping Plugin
Post by: mbit on June 07, 2012, 16:54:02 PM
Has anyone tested this plugin with VM 1.1.9?
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 07, 2012, 19:41:47 PM
Quote from: mbit on June 07, 2012, 16:54:02 PM
Has anyone tested this plugin with VM 1.1.9?

mbit, this plugin will NOT work with 1.1

1.1 did not use plugins for payment and shipping
Title: Re: BTP Pro Shipping Plugin
Post by: stuart.prevos on June 12, 2012, 21:50:21 PM
Hi
Nice plugin, thanks for sharing, I want to modify it so that instead of having cost per weight, the cost relates to cart price, so if the price is between $1 - $10 it is $5 plus 20%, $11-$20 it is $5 plus 15% etc.
I am guessing the code to modify is somewhere here
=============
function getCosts(VirtueMartCart $cart, $method, $cart_prices) {
   $orderPrice = $this->getOrderPrice($cart, $method->?????????);
   $nbproducts = $this->_nbproductsCond($cart, $method);
   
   if ($orderWeight >= $method->weight_min1 && $orderWeight <=$method->weight_max1){
   return $orderWeight * $method->rate1;
}
   elseif ($orderWeight >= $method->weight_min2 && $orderWeight <=$method->weight_max2){
   return $orderWeight * $method->rate2;
}
   elseif ($orderWeight >= $method->weight_min3 && $orderWeight <=$method->weight_max3){
   return $orderWeight * $method->rate3;
}
   elseif ($orderWeight >= $method->weight_min4 && $orderWeight <=$method->weight_max4){
   return $orderWeight * $method->rate4;
}
elseif ($orderWeight >= $method->weight_min5 && $orderWeight <=$method->weight_max5){
   return $orderWeight * $method->rate5;
}
elseif ($orderWeight >= $method->weight_min6 && $orderWeight <=$method->weight_max6){
   return $method->rate6 * $orderWeight;
}
   else{
       return $method->elsecost;
   }
   
    }
===============
Any advice would be appreciated
Thanks
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 12, 2012, 23:20:32 PM
$cart_prices['salesPrice']   is what you use

Title: Re: BTP Pro Shipping Plugin
Post by: stuart.prevos on June 13, 2012, 13:05:59 PM
 ;Dawsome thanks again
Title: Re: BTP Pro Shipping Plugin
Post by: dsrpmedia on June 20, 2012, 03:33:19 AM
thanks for this plugin - one question - is it possible to have multiple versions of the plugin run?

(I ship to Canada & the USA & need to have different shipping prices for the 2)
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 20, 2012, 13:42:29 PM
Quote from: dsrpmedia on June 20, 2012, 03:33:19 AM
thanks for this plugin - one question - is it possible to have multiple versions of the plugin run?

(I ship to Canada & the USA & need to have different shipping prices for the 2)


have you tried it?
Title: Re: BTP Pro Shipping Plugin
Post by: dsrpmedia on June 20, 2012, 17:56:47 PM
I`m not sure how I would
- would I have to unzip the package, rename the plugin somewhere & then zip again  before installing? (ie pro ship uas, etc)
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 20, 2012, 18:56:16 PM
Quote from: dsrpmedia on June 20, 2012, 17:56:47 PM
I`m not sure how I would
- would I have to unzip the package, rename the plugin somewhere & then zip again  before installing? (ie pro ship uas, etc)

have you tried to click "new" when in shippinig methods?
and choose the same plugin

thats teh way teh weight countries worked, and it was also a plugin
Title: Re: BTP Pro Shipping Plugin
Post by: dsrpmedia on June 20, 2012, 19:38:47 PM
OMG - I`ve been trying to get a vm2 site working since December -  this is literally the very first thing I `ve tried that has just worked without having to be hacked/fixed/worked around.

Thank you soooo much!
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 20, 2012, 21:36:10 PM
Quote from: dsrpmedia on June 20, 2012, 19:38:47 PM
OMG - I`ve been trying to get a vm2 site working since December -  this is literally the very first thing I `ve tried that has just worked without having to be hacked/fixed/worked around.

Thank you soooo much!


that feature was exactly why I created the plugin

the weight_countries plugin would have to be done for EACH rate you wanted.

BUT, I wanted it all on 1
Title: Re: BTP Pro Shipping Plugin
Post by: dsrpmedia on June 20, 2012, 21:42:40 PM
all i can say is Great Work - you made my day!
Title: Re: BTP Pro Shipping Plugin
Post by: bonbin on June 22, 2012, 22:11:38 PM
first of all thx for this great plugins, i did succesfully install it on my site
Running on jomla 2.5.4 and virtuemart 2.0.6
i do set the rate, set minimum, the maximum, and also the country but the pricing didnt show up in my cart, its only showing the shipping method with blank price

here is the configuration i use


rate : 1.5
minimum weight : 0.1
maximum weight : 50
Countries   : Somecountry
Weight Unit : Kilograms
Tax   : Apply no rule

and let the rest with blank

i can see the shipping method on the cart, but it only showing blank price

is there something wrong with my configuration?

Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 23, 2012, 12:42:55 PM
Quote from: bonbin on June 22, 2012, 22:11:38 PM
first of all thx for this great plugins, i did succesfully install it on my site
Running on jomla 2.5.4 and virtuemart 2.0.6
i do set the rate, set minimum, the maximum, and also the country but the pricing didnt show up in my cart, its only showing the shipping method with blank price

here is the configuration i use


rate : 1.5
minimum weight : 0.1
maximum weight : 50
Countries   : Somecountry
Weight Unit : Kilograms
Tax   : Apply no rule

and let the rest with blank

i can see the shipping method on the cart, but it only showing blank price

is there something wrong with my configuration?




do you have a minimum amount for free shipping filled in?

Title: Re: BTP Pro Shipping Plugin
Post by: dsrpmedia on June 23, 2012, 20:26:48 PM
I am having a strange behaviour with the plugin.

it works perfectly on parent items (I have the 'quantity over' set to 1 & 'fee' set to 5)

however on one of my generic child products (see http://vm20b.fyica.com/virtuemart/gardentools/test-detail ) the shipping is not being added unless there is anothe product added to the cart.

eg I choose 'child1' & add to cart - the shipping label appears, but no shipping price (I have it set so that the billing address must be added before shipping is displayed) - even if I add say 5 of this item.

then I  add a new product to the cart - (say http://vm20b.fyica.com/virtuemart/powertools/circular-saw-detail ) and suddenly all the shipping appears for all 5 of the child1 + the circular saw.

the strangest thing is I have another product with generic children - http://vm20b.fyica.com/virtuemart/handtools/hand-shovel-enforced-detail - and the shipping is added to this product without a problem.

I `m stumped - any idea why the plugin would not work on this one particular set of child products?

thank you
Title: Re: BTP Pro Shipping Plugin
Post by: dsrpmedia on June 23, 2012, 22:24:42 PM
ok, I`ve narrowed it down to how I`m adding the child products.

see http://vm20b.fyica.com/virtuemart/gardentools/ladder-detail (the sample ladder)

the original child products (plastic, wood, metal) all behave properly, but I added a new child product & I am once again getting the strange behaviour on just this child.

steps:

I opened the parent 'ladder'
chose 'add a child product'
gave it a name, and a price
save & close
open the newly created child
gave it a sku, and a manufacturer
save & close

then I go to the front end & add to cart - the original children have the shipping added, but the children I added do not, unlesss there is another product in the cart.

any suggestions would be greatly appreciated.
Title: Re: BTP Pro Shipping Plugin
Post by: dsrpmedia on June 23, 2012, 22:50:05 PM
ok!!!!

I figured it out.

it would appear that even if you are not using weight to calculate shipping the plugin requires the child to have a weight before it works properly.

I added weights to the new children & everything started working
Title: Re: BTP Pro Shipping Plugin
Post by: don4timbs on June 28, 2012, 09:30:03 AM
Quote from: BanquetTables.pro on June 23, 2012, 12:42:55 PM
Quote from: bonbin on June 22, 2012, 22:11:38 PM
first of all thx for this great plugins, i did succesfully install it on my site
Running on jomla 2.5.4 and virtuemart 2.0.6
i do set the rate, set minimum, the maximum, and also the country but the pricing didnt show up in my cart, its only showing the shipping method with blank price

here is the configuration i use


rate : 1.5
minimum weight : 0.1
maximum weight : 50
Countries   : Somecountry
Weight Unit : Kilograms
Tax   : Apply no rule

and let the rest with blank

i can see the shipping method on the cart, but it only showing blank price

is there something wrong with my configuration?




do you have a minimum amount for free shipping filled in?

I am having the same problem as the writter above has-my shipping price is not showing in the shopping cart-despite entering most of the details she set too.

I didn't set any minimum amount for my free shipping.

Please what can I do to let it show?
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 28, 2012, 13:41:41 PM
Quote from: don4timbs on June 28, 2012, 09:30:03 AM
Quote from: BanquetTables.pro on June 23, 2012, 12:42:55 PM
Quote from: bonbin on June 22, 2012, 22:11:38 PM
first of all thx for this great plugins, i did succesfully install it on my site
Running on jomla 2.5.4 and virtuemart 2.0.6
i do set the rate, set minimum, the maximum, and also the country but the pricing didnt show up in my cart, its only showing the shipping method with blank price

here is the configuration i use


rate : 1.5
minimum weight : 0.1
maximum weight : 50
Countries   : Somecountry
Weight Unit : Kilograms
Tax   : Apply no rule

and let the rest with blank

i can see the shipping method on the cart, but it only showing blank price

is there something wrong with my configuration?




do you have a minimum amount for free shipping filled in?

I am having the same problem as the writter above has-my shipping price is not showing in the shopping cart-despite entering most of the details she set too.

I didn't set any minimum amount for my free shipping.

Please what can I do to let it show?


set the minimum amount for free shipping VERY high
Title: Re: BTP Pro Shipping Plugin
Post by: don4timbs on June 28, 2012, 19:43:16 PM
I've set it very high, but yet, there's no changes. What else can I do please?
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 28, 2012, 20:39:17 PM
Quote from: don4timbs on June 28, 2012, 19:43:16 PM
I've set it very high, but yet, there's no changes. What else can I do please?

post a screenshot of your config?


Title: Re: BTP Pro Shipping Plugin
Post by: don4timbs on June 28, 2012, 23:48:17 PM
Find attached the snapshots.
Thanks

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: skwtayler on June 29, 2012, 01:08:16 AM
Quote from: BanquetTables.pro on April 23, 2012, 17:00:48 PM
Quote from: airextreme on April 23, 2012, 15:20:54 PM
Great plugin....would be nice if there was a drop down after the country is selected to select state and then another to type in city. Is this possible?


Possible yes,

I am not going to do it though.



How would one go about this? I am busy creating a plugin that would integrate with a courier company and they have predefined Towns. How would I go about having these inserted in to Joomla to be selected by the user when adding their address?
Title: Re: BTP Pro Shipping Plugin
Post by: don4timbs on June 29, 2012, 13:47:46 PM
I just discovered a solution.
I fill all the else including minimum amount for free shipping is set extremely high = 5000000, quantity over=5000000, fee=0. I didn't fill anything to else cost.

Thank you soo much for this outstanding plugin.
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on July 30, 2012, 11:18:05 AM
Quote from: BanquetTables.pro on April 02, 2012, 17:06:08 PM
UPDATED: there was a problem with Rate #6 , fixed

This plugin uses multiplication of the rate you set and the order weight.

It also has free shipping over certain order total.

Allows you to Charge a Flat Fee Per Product.

AND: Allows you to give free shipping over a certain # of products.
For download and more information.
http://www.kaizenmediaworks.com/pro-ship-virtuemart-2-0-shipping-plugin-module
Hello
I am Vietnamese, my site is using vietnamese
I install your Plug but it does not works
plz guild me how aobut to using in orther lang
Thank you
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on July 30, 2012, 12:58:54 PM
Quote from: techmodule on July 30, 2012, 11:18:05 AM
Quote from: BanquetTables.pro on April 02, 2012, 17:06:08 PM
UPDATED: there was a problem with Rate #6 , fixed

This plugin uses multiplication of the rate you set and the order weight.

It also has free shipping over certain order total.

Allows you to Charge a Flat Fee Per Product.

AND: Allows you to give free shipping over a certain # of products.
For download and more information.
http://www.kaizenmediaworks.com/pro-ship-virtuemart-2-0-shipping-plugin-module
Hello
I am Vietnamese, my site is using vietnamese
I install your Plug but it does not works
plz guild me how aobut to using in orther lang
Thank you

what problem are you having?

Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on July 30, 2012, 13:17:57 PM
Hi
Thanks for quick reply
My problem is in the attached file.
The Freight fee = the q.ty x the Maximum Weight (inspite the weight of one pc = 500gram)
And when i try to change the weight of one pc = 1kg, the freight fee is not chaged
Do you understand what i mean
Thank you so much

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on July 30, 2012, 13:21:00 PM
Hi
Thanks for quick reply
My problem is in the attached file.
The Freight fee = the q.ty x the RATE
And when i try to change the weight of one pc = 1kg, the freight fee is not chaged
Do you understand what i mean
Thank you so much


[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on July 30, 2012, 14:25:32 PM
Each rate

Multiplies

Rate x Weight

Is that not working?


Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on July 30, 2012, 14:32:42 PM
Quote from: BanquetTables.pro on July 30, 2012, 14:25:32 PM
Each rate

Multiplies

Rate x Weight

Is that not working?
Dear
When i keep the rate the mini and maximum, and i change the weight of one product from 0.5kg to 1kg, the freight fee does not change
I give you the link, you can add to cart and try to do it
The link http://vinaplaza.vn/index.php/binh-dung-nuoc-rua-tay/loai-nut-bam/binh-dung-nuoc-rua-tay-tmyg-810-detail
The link of cart http://vinaplaza.vn/index.php/mua-hang-online/gio-hang
I think: In your plugin the Q.ty of order in Cart = the Maximum Weight
Example:
Rate                                     10000                 
Minimum Weight             1
Maximum Weight            2                                if the q.ty of order is 2, the freight is 100000*2
   
Rate                                      5000
Minimum Weight            2
Maximum Weight            3                               if the q.ty of order is 3, the freight is 5000*3
Plz check your plugin again, i dont know what is erro
Thank you
   
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on July 30, 2012, 14:56:25 PM
do you have the bottom parameters filled in?

quantity options?

and amount for free shipment?

Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on July 30, 2012, 15:16:11 PM
Dear
Plz check my file
I fill all of them.
I am sure that have the big problem with your plugin
Beacause when i change the weight of an product, with the same q.ty in VM cart, the freight fee does not change


[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on July 30, 2012, 15:22:24 PM
Plz check the pic

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on July 31, 2012, 12:52:20 PM
I cannot get anything to add to cart on your site

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on July 31, 2012, 13:00:24 PM
Dear
When you visit my website, plz press F5 to know what you have added to cart.
and check the pic

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on July 31, 2012, 14:38:04 PM
what happens when you change all weights to "even" numbers, not decimals?
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on July 31, 2012, 15:01:34 PM
Quote from: BanquetTables.pro on July 31, 2012, 14:38:04 PM
what happens when you change all weights to "even" numbers, not decimals?
Dear plz check the config at the last pics, when i change the weight from 0.5kg to 1kg.
The freight fee is same.
I try many times and i see that forumalas of that plugin below, example:
The freight =F
rate 1 = a1
min 1= b1
max 1 = c1
rate 2 = a2
min 2= b2
max 2 = c2
rat 3 = a3
min 3= b3
max 3 = c3
the q.ty of the order is Q,
if the  b1<Q<c1  => F=Q.a1
if the b2<Q<c2  => F=Q.a2
and continue: b3<Q<c3  => F=Q.a3
and the Unit weight of a products does not use in this plugin
Plz check for me.
Do you understand what i mean
Thank you so much

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on August 01, 2012, 12:49:59 PM
Plz check the attached file
After many testing, i dont understand what is mistake

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on August 01, 2012, 15:11:35 PM
Quote from: techmodule on August 01, 2012, 12:49:59 PM
Plz check the attached file
After many testing, i dont understand what is mistake

It works for me, i tried it
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on August 01, 2012, 15:24:31 PM
dear
Did you see my file?
Plz login the administrator of my site and test for me
Thank you
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on August 01, 2012, 17:10:49 PM
hello
i check the code of plugin
$values['order_weight'] = $this->getOrderWeight($cart, $method->weight_unit);
i think that line is not right
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on August 01, 2012, 21:15:28 PM
Quote from: techmodule on August 01, 2012, 17:10:49 PM
hello
i check the code of plugin
$values['order_weight'] = $this->getOrderWeight($cart, $method->weight_unit);
i think that line is not right

that is correct, its the same as the "weight countries" plugin
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on August 02, 2012, 02:42:32 AM
Quote from: BanquetTables.pro on August 01, 2012, 21:15:28 PM
Quote from: techmodule on August 01, 2012, 17:10:49 PM
hello
i check the code of plugin
$values['order_weight'] = $this->getOrderWeight($cart, $method->weight_unit);
i think that line is not right

that is correct, its the same as the "weight countries" plugin
i have tryed to change the unit weight, nothing change.
I think you should test carefully
Title: Re: BTP Pro Shipping Plugin
Post by: techmodule on August 03, 2012, 04:58:05 AM
Quote from: BanquetTables.pro on August 01, 2012, 21:15:28 PM
Quote from: techmodule on August 01, 2012, 17:10:49 PM
hello
i check the code of plugin
$values['order_weight'] = $this->getOrderWeight($cart, $method->weight_unit);
i think that line is not right

that is correct, its the same as the "weight countries" plugin
http://forum.virtuemart.net/index.php?board=127.0
Title: Re: BTP Pro Shipping Plugin
Post by: don4timbs on August 04, 2012, 10:49:37 AM
Please I need a payment plugin that would allow me accept payment on my virtuemart 2 thru GTPay/Interswitch Webpay ( DOCUMENTATION AVAILABLE ON: https://gtpay.gtbank.com/public/? ).

Please I need someone that can help soon.
Title: Re: BTP Pro Shipping Plugin
Post by: leahRae on August 26, 2012, 02:13:09 AM
Great Plugin! It works great!


I was wondering if there was some way to configure it or comment out a line of code to get it to just do 1 flat rate shipping cost for an entire order (like overstock dot com - everything ships for $2.95).


Thanks  :)
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on August 26, 2012, 16:23:22 PM
Quote from: leahRae on August 26, 2012, 02:13:09 AM
Great Plugin! It works great!


I was wondering if there was some way to configure it or comment out a line of code to get it to just do 1 flat rate shipping cost for an entire order (like overstock dot com - everything ships for $2.95).


Thanks  :)

Thats the "else cost"

You might have to fill in the other rates first though. Just make them very high in weight or something

Title: Re: BTP Pro Shipping Plugin
Post by: muddauber on September 15, 2012, 05:05:58 AM
Using Joomla 2.5.6 and VM 2.0.10
I installed the Pro Shipping Plugin and was able to set some parameters
on various levels of shipping rates by weight.

Now when I go back to review the settings, I no longer have access to
the method parameters, rather I see the same settings as the
standard VM shipping configuration.

I have tried to delete and reinstall Pro Shipping Plugin with
negative results. Any suggests to getting the plugin to work?
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on September 15, 2012, 14:58:28 PM
Quote from: muddauber on September 15, 2012, 05:05:58 AM
Using Joomla 2.5.6 and VM 2.0.10
I installed the Pro Shipping Plugin and was able to set some parameters
on various levels of shipping rates by weight.

Now when I go back to review the settings, I no longer have access to
the method parameters, rather I see the same settings as the
standard VM shipping configuration.

I have tried to delete and reinstall Pro Shipping Plugin with
negative results. Any suggests to getting the plugin to work?

are you using the standard? if not, try disabling the plugin
Title: Re: BTP Pro Shipping Plugin
Post by: muddauber on September 16, 2012, 06:36:58 AM
Thanks, I disabled the standard and it still did not change, then
I went into the Extensions Manager (not plugin manger) and
disabled it there and it fixed it. I'm back to the BTP Pro Shipping Plugin
options.

Your plugin offers the best options for me, but I need a
fixed rate for a range of weights, not a multiple We have
this shipping rate:

  up to 55  - $7
  up to 110 - $14
  up to 22  - $28
  up to 500 - $55

So from 1 lb to 55 it would be $7

I need a fixed shipping rate for a range of weights.

Is there a way to modify  the BTP Pro Shipping Plugin
to provide that?

Also, can you give any guidance on how to modify an older VM 1 plugin
to work with VM2? There are several out there that I used but now
they won't load, and there has been no other updates.

thank you for your work and providing the BTP Pro Shipping Plugin.
Title: Re: BTP Pro Shipping Plugin
Post by: muddauber on September 17, 2012, 04:27:29 AM
I see the  BTP plugin line item title, but see no shipping fees.

I only have the BTP Pluging showing up in shipping section and it
now does allow to enter rate, min weight etc.

Could you tell me where the BTP and Standard plugin is located on
the site directory and I'll see if I can remove it from there.
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on September 17, 2012, 11:56:06 AM
Quote from: muddauber on September 17, 2012, 04:27:29 AM
I see the  BTP plugin line item title, but see no shipping fees.

I only have the BTP Pluging showing up in shipping section and it
now does allow to enter rate, min weight etc.

Could you tell me where the BTP and Standard plugin is located on
the site directory and I'll see if I can remove it from there.



plugins/vmshipment
Title: Re: BTP Pro Shipping Plugin
Post by: computerguy on November 28, 2012, 03:37:13 AM
I need one simple addition - even if just adding a bit of code to the script -
I want a base shipping fee added to each order - for example after your script calculates shipping - I want to add $11.00 to the total.
If you can just point me to what code need's to be added in the script...

Or if someone decides to modify the shipping module:
More specifically, my need is to calculate shipping based on a flat fee plus a dollar amount per item.
Example: Flat fee $11.00 plus $1.00 for each item. 10 items ordered would equal $21 shipping.



Thanks
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on November 28, 2012, 19:16:06 PM
Quote from: computerguy on November 28, 2012, 03:37:13 AM
I need one simple addition - even if just adding a bit of code to the script -
I want a base shipping fee added to each order - for example after your script calculates shipping - I want to add $11.00 to the total.
If you can just point me to what code need's to be added in the script...

Or if someone decides to modify the shipping module:
More specifically, my need is to calculate shipping based on a flat fee plus a dollar amount per item.
Example: Flat fee $11.00 plus $1.00 for each item. 10 items ordered would equal $21 shipping.



Thanks

I might can add this later
Title: Re: BTP Pro Shipping Plugin
Post by: computerguy on November 29, 2012, 03:27:01 AM
In the mean-while, I've got it to work as I need by changing line #113 in pro_ship.php from:

elseif ($nbproducts >=$method->nbproducts_quantity && $orderWeight >=1){return $method->nbproducts_fee * $nbproducts;}

to

elseif ($nbproducts >=$method->nbproducts_quantity && $orderWeight >=1){return $method->nbproducts_fee * $nbproducts + 11.0 ;}

where the last part of the code   + 11.0   is the amount ($11.00) that I want added to each order. So total shipping is $11.00 plus $1 for each item in the cart.

In the Shipment Method Configuration, I left all fields blank except under "Quantity Based" where I put quantity over to 1 and Fee to 1
Of course, all products have to have a weight (don't leave a blank weight) or calculations don't work.

Thanks.
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on December 10, 2012, 23:49:52 PM
updated:
For quantity based.
Now you can set 1 price for the 1st product.
THEN: a separate price foreach additional product
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on December 14, 2012, 22:00:28 PM
Quote from: PRO on December 10, 2012, 23:49:52 PM
updated:
For quantity based.
Now you can set 1 price for the 1st product.
THEN: a separate price foreach additional product

updated again today.

Now there are 2 separate quantity rates.

So you can give 1 rate for 25 or more products, and another rate for 50 or more products
Title: Re: BTP Pro Shipping Plugin
Post by: lindapowers on December 16, 2012, 16:09:15 PM
Great work, any option you include zip code intervals?

Your plugin multiplications seem to be the solution for us but we need to specify zip codes, any idea how to add that?

Thanks
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on December 16, 2012, 18:05:11 PM
Quote from: lindapowers on December 16, 2012, 16:09:15 PM
Great work, any option you include zip code intervals?

Your plugin multiplications seem to be the solution for us but we need to specify zip codes, any idea how to add that?

Thanks

This can be done, but I cannot do it


Title: Re: BTP Pro Shipping Plugin
Post by: GJC Web Design on December 16, 2012, 22:59:43 PM
Already available - http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-shipping/21665 (http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-shipping/21665)
Title: Re: BTP Pro Shipping Plugin
Post by: PaulDRP on January 04, 2013, 13:21:51 PM
Thanks Pro for the great plugin, its exactly what I needed.

I do have one problem though and I hope you can help me with it.

I have two products, one product has a shipping cost of 2.20, the other one of 4.40. I made two shipping methods with your plugin, one with a cost of 2.20 and another with a cost of 4.40. The problem I now face though is that both shipping methods show up for both products. I need a way to link the shipping method to the product.

I think setting the shipping cost by weight is the best way to go, I give the first product a weight of 1kg and the second a weight of 2kg and set the price per kg at 2.20. So for every kg I add the price rises with 2.20.

The problem is that the shipping costs do not show up anymore, all my products have a weight assigned and I have set the shipment method: Rate: 2.20, Minimum weight: 1, Maximum weight: 300 and the Minimum Amount for free shipping: 20000000.

I've left the other fields empty.

I think (well, I'm pretty much positive)I've done something wrong so could someone maybe explain to me the way to setup the shipment method so that it adds 2.20 for every kg added to the cart?

------- Edit: -------

Well, I solved the problem. The problem was with the settings for quantity. I had set the "quantity over" to 0. Which offcourse makes the method think that from 0 products on delivery is free. So I set it very high and now everything works like a charm.
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on January 04, 2013, 13:52:39 PM
Quote from: PaulDRP on January 04, 2013, 13:21:51 PM
Thanks Pro for the great plugin, its exactly what I needed.

I do have one problem though and I hope you can help me with it.

I have two products, one product has a shipping cost of 2.20, the other one of 4.40. I made two shipping methods with your plugin, one with a cost of 2.20 and another with a cost of 4.40. The problem I now face though is that both shipping methods show up for both products. I need a way to link the shipping method to the product.

I think setting the shipping cost by weight is the best way to go, I give the first product a weight of 1kg and the second a weight of 2kg and set the price per kg at 2.20. So for every kg I add the price rises with 2.20.

The problem is that the shipping costs do not show up anymore, all my products have a weight assigned and I have set the shipment method: Rate: 2.20, Minimum weight: 1, Maximum weight: 300 and the Minimum Amount for free shipping: 20000000.

I've left the other fields empty.

I think (well, I'm pretty much positive)I've done something wrong so could someone maybe explain to me the way to setup the shipment method so that it adds 2.20 for every kg added to the cart?


dont setup 2 rates


The rates go in order and match the first 1.

BUT!

The "quantity based" & free shipping, and also the order total base HAS to be filled in. They are checked first.


So make them so high it will never quanlify.

Set the first rate

Then make the next 5 rates to where it will never meet them (like weight 10000 or something)

THEN, use the "else cost" for your second rate
Title: Re: BTP Pro Shipping Plugin
Post by: PaulDRP on January 04, 2013, 14:16:25 PM
Quote from: PRO on January 04, 2013, 13:52:39 PM

dont setup 2 rates


The rates go in order and match the first 1.

BUT!

The "quantity based" & free shipping, and also the order total base HAS to be filled in. They are checked first.


So make them so high it will never quanlify.

Set the first rate

Then make the next 5 rates to where it will never meet them (like weight 10000 or something)

THEN, use the "else cost" for your second rate

Thanks for your reply Pro!

I think I've fixed it. The way I set it up to simply fill in every rate to cost 2.20 per Kg. Then I gave my products a weight of 1 Kg and 2 Kg (there are only two products).

The only problem I forsee now is that maybe my cliënt wants to add a shipping discount for the second product (which would mean it would no longer be twice the price of the first product) so I'm going to have to find a way to make that happen.


Title: Re: BTP Pro Shipping Plugin
Post by: PRO on January 04, 2013, 14:43:50 PM
Quote from: PaulDRP on January 04, 2013, 14:16:25 PM
Quote from: PRO on January 04, 2013, 13:52:39 PM

dont setup 2 rates


The rates go in order and match the first 1.

BUT!

The "quantity based" & free shipping, and also the order total base HAS to be filled in. They are checked first.


So make them so high it will never quanlify.

Set the first rate

Then make the next 5 rates to where it will never meet them (like weight 10000 or something)

THEN, use the "else cost" for your second rate

Thanks for your reply Pro!

I think I've fixed it. The way I set it up to simply fill in every rate to cost 2.20 per Kg. Then I gave my products a weight of 1 Kg and 2 Kg (there are only two products).

The only problem I forsee now is that maybe my cliënt wants to add a shipping discount for the second product (which would mean it would no longer be twice the price of the first product) so I'm going to have to find a way to make that happen.





if you are using the latest version of the plugin, it has 2 quantity related pricing.
You set the first for the 1st item, then the rest
Title: Re: BTP Pro Shipping Plugin
Post by: naoko15 on March 16, 2013, 12:59:46 PM
Hello Pro, great plugin, i have one problem though. Even though i have everything configured correctly, shipping cost is always 0 at the checkout. I'm using Onepagecheckout.

Could you help me, please?

VM 2.012f & J2.5

Thanks.

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on March 16, 2013, 13:38:13 PM
for all weights?


even after they choose "spain" as their place?


and have you tested without 1 page checkout?

have you considered upgrading to a new vmart version?
Title: Re: BTP Pro Shipping Plugin
Post by: naoko15 on March 16, 2013, 16:21:12 PM
Quote from: PRO on March 16, 2013, 13:38:13 PM
for all weights?


even after they choose "spain" as their place?


and have you tested without 1 page checkout?

have you considered upgrading to a new vmart version?

Hello, thanks for the quick reply! Yes, it happens for all weights and choosing Spain.

With Onepagecheckout disabled the shipping method is not even displayed. As if there was none configured.

I'm a bit scared to upgrade, as my VM is heavily customised and i'm afraid i might lose my overrides.
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on March 17, 2013, 02:08:44 AM
Quote from: naoko15 on March 16, 2013, 16:21:12 PM
Quote from: PRO on March 16, 2013, 13:38:13 PM
for all weights?


even after they choose "spain" as their place?


and have you tested without 1 page checkout?

have you considered upgrading to a new vmart version?

Hello, thanks for the quick reply! Yes, it happens for all weights and choosing Spain.

With Onepagecheckout disabled the shipping method is not even displayed. As if there was none configured.

I'm a bit scared to upgrade, as my VM is heavily customised and i'm afraid i might lose my overrides.

same applies to upgrades
http://forum.virtuemart.net/index.php?topic=95513.0
Title: Re: BTP Pro Shipping Plugin
Post by: naoko15 on March 17, 2013, 17:27:45 PM
Quote from: PRO on March 17, 2013, 02:08:44 AM
Quote from: naoko15 on March 16, 2013, 16:21:12 PM
Quote from: PRO on March 16, 2013, 13:38:13 PM
for all weights?


even after they choose "spain" as their place?


and have you tested without 1 page checkout?

have you considered upgrading to a new vmart version?

Hello, thanks for the quick reply! Yes, it happens for all weights and choosing Spain.

With Onepagecheckout disabled the shipping method is not even displayed. As if there was none configured.

I'm a bit scared to upgrade, as my VM is heavily customised and i'm afraid i might lose my overrides.

same applies to upgrades
http://forum.virtuemart.net/index.php?topic=95513.0

Thank you PRO. I've installed my site locally with XAMPP to test the upgrade, but i keep getting 404 errors and it's taking me hours to make the site work locally (not even started to upgrade yet!).

While i get to figure out how to upgrade without breaking my site, would it be possible to find out a solution for my problem?  i'm not sure upgrading will sort it out anyway. 

One thing: Strangely enough, i've noticed that shipping costs are being displayed in order emails. Also, i've noticed that shipping costs are not correct.

For example:

For 1 to 2 kg the cost should be a flat rate of 8.36
From 2 to 5 Kg --> 10.93
and so on...

Every item in my site weights 1 kg

But if i order two items (2 kg) the cost shown is 16.72 , when it should be 10.93. It is multiplying x 2. Same if the order includes 3 articles, it multiplies x 3.

Help please : (
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on March 17, 2013, 20:33:48 PM
my plugin MULTIPLIES by weight in the cart * the rate

unless you are using the quantity options, or the "else cost"

Title: Re: BTP Pro Shipping Plugin
Post by: naoko15 on March 17, 2013, 22:00:20 PM
Quote from: PRO on March 17, 2013, 20:33:48 PM
my plugin MULTIPLIES by weight in the cart * the rate

unless you are using the quantity options, or the "else cost"



Oh my bad, i'm so sorry to have bothered you, i'm really ashamed. I'll try something else instead. Thank you so much for your fast and helpful replies : )
Title: Re: BTP Pro Shipping Plugin
Post by: hk on April 28, 2013, 13:49:19 PM
Hi PRO,

I installed this plugin. Works great!
I wanted the shipping rate in multiples of quantity. This solved my problem.

The only problem I have is, minimum amount for shipping doesn't work. Attechd is the screenshot of my configuration:
Even though the minimum amount is reached, still it applies the shipping rate based on qty.

[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on April 28, 2013, 15:47:34 PM
this is working on mine

Title: Re: BTP Pro Shipping Plugin
Post by: hk on June 13, 2013, 17:14:53 PM
When I tested this 2 months back, it was working!
Now it does not work.. I tried with various settings, the amount is blank for all scenarios.
Basically I need Shipping cost per quantity.

Can you please assist.
Title: Re: BTP Pro Shipping Plugin
Post by: lindapowers on June 13, 2013, 17:22:50 PM
http://www.open-tools.net/virtuemart-2-extensions/vm2-shipping-by-rules-plugin.html

http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-shipping/19911

http://virtuemartshipping.com/

http://www.kaizenmediaworks.com/pro-ship-virtuemart-2-0-shipping-plugin-module
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 13, 2013, 19:53:33 PM
Quote from: hk on June 13, 2013, 17:14:53 PM
When I tested this 2 months back, it was working!
Now it does not work.. I tried with various settings, the amount is blank for all scenarios.
Basically I need Shipping cost per quantity.

Can you please assist.

post your configuration
Title: Re: BTP Pro Shipping Plugin
Post by: hk on June 14, 2013, 12:11:42 PM
Attached are the configuration:



[attachment cleanup by admin]
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 14, 2013, 19:32:00 PM
the plugin 1st
checks for a weight of 0
IF the order weight is 0 , shipping is free.
THEN: It checks "minimum amount for free shipping". If this is TRUE , then its free shipping.
THEN: It checks the number of products condition, and does what you are wanting it to.

SO: lets assume your products have weights assigned to them. & skip the first 1.
NEXT, it's going to hit the "minimum amount for free shipping" which you have set to 0 (because it's empty)

so, it never hit's the quantity related price



   function getCosts(VirtueMartCart $cart, $method, $cart_prices) {
   $orderWeight = $this->getOrderWeight($cart, $method->weight_unit);
   $nbproducts = $this->_nbproductsCond($cart, $method);
   if ($orderWeight <=0){
   return 0;}
     elseif ($method->free_shipment && $cart_prices['salesPrice'] >= $method->free_shipment) {
       return 0;}
   elseif ($nbproducts >=$method->nbproducts_quantity && $orderWeight >=1 && $method->nbproducts_1fee ==0 ){return $method->nbproducts_fee * $nbproducts;}
      elseif ($nbproducts >=$method->nbproducts_quantity && $orderWeight >=1 && $method->nbproducts_1fee >0 ){
      $nbproducts=$nbproducts-1;
      $temp=$nbproducts *$method->nbproducts_fee;
      return $temp+$method->nbproducts_1fee;
      }
         elseif ($nbproducts >=$method->nbproducts_quantity2 && $orderWeight >=1 && $method->nbproducts_1fee2 ==0 ){return $method->nbproducts_fee2 * $nbproducts;}
      elseif ($nbproducts >=$method->nbproducts_quantity2 && $orderWeight >=1 && $method->nbproducts_1fee2 >0 ){
      $nbproducts=$nbproducts-1;
      $temp=$nbproducts *$method->nbproducts_fee2;
      return $temp+$method->nbproducts_1fee2;
      }
Title: Re: BTP Pro Shipping Plugin
Post by: hk on June 17, 2013, 12:17:36 PM
Quote from: PRO on June 14, 2013, 19:32:00 PM
the plugin 1st
checks for a weight of 0
IF the order weight is 0 , shipping is free.
THEN: It checks "minimum amount for free shipping". If this is TRUE , then its free shipping.
THEN: It checks the number of products condition, and does what you are wanting it to.

SO: lets assume your products have weights assigned to them. & skip the first 1.
NEXT, it's going to hit the "minimum amount for free shipping" which you have set to 0 (because it's empty)

so, it never hit's the quantity related price



   function getCosts(VirtueMartCart $cart, $method, $cart_prices) {
   $orderWeight = $this->getOrderWeight($cart, $method->weight_unit);
   $nbproducts = $this->_nbproductsCond($cart, $method);
   if ($orderWeight <=0){
   return 0;}
     elseif ($method->free_shipment && $cart_prices['salesPrice'] >= $method->free_shipment) {
       return 0;}
   elseif ($nbproducts >=$method->nbproducts_quantity && $orderWeight >=1 && $method->nbproducts_1fee ==0 ){return $method->nbproducts_fee * $nbproducts;}
      elseif ($nbproducts >=$method->nbproducts_quantity && $orderWeight >=1 && $method->nbproducts_1fee >0 ){
      $nbproducts=$nbproducts-1;
      $temp=$nbproducts *$method->nbproducts_fee;
      return $temp+$method->nbproducts_1fee;
      }
         elseif ($nbproducts >=$method->nbproducts_quantity2 && $orderWeight >=1 && $method->nbproducts_1fee2 ==0 ){return $method->nbproducts_fee2 * $nbproducts;}
      elseif ($nbproducts >=$method->nbproducts_quantity2 && $orderWeight >=1 && $method->nbproducts_1fee2 >0 ){
      $nbproducts=$nbproducts-1;
      $temp=$nbproducts *$method->nbproducts_fee2;
      return $temp+$method->nbproducts_1fee2;
      }

So what should I change, if I want to have shipping charges based on number of products. All my products have weight=0.
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 17, 2013, 18:12:26 PM
change this

   if ($orderWeight <=0){
   return 0;}

to this

   if ($orderWeight >=1000){
   return 0;}


& then in your configuration, set the minimum amount for free shipment VERY high
Title: Re: BTP Pro Shipping Plugin
Post by: hk on June 18, 2013, 13:11:10 PM
I tried changing the code as you suggested and gave 999999 as  minimum amount for free shipment. It did not work.
I uninstalled this plugin. Downloaded again and installed. Even then it did not work.
It just shows the name of shipment with empty amount.
Title: Re: BTP Pro Shipping Plugin
Post by: osonabit on February 20, 2014, 18:44:19 PM
Hi PRO,

I spent lot of hours looking for a shipping method and I think that your plugin is the one that can help me, but with some changes. I explain:

In my case (and not because I want, but because the shipping company use this method) I need to calculate the total cost of the shipping adding the shipping cost of each product weight in the cart, and NO the total weight of the cart.

Ex.

This is the prices I have from Shipping company

Kg             Germany             France
0 - 3            11,12                12,85
3 - 10          12,26                13,84
10 - 15        13,42                14,38
15 - 20        14,38                15,34
20 - 31        16,90                17,47

In the cart we have: (Destination France)

Product                                 UNITS
Product A (2kg)                         2
Product B (6kg)                         1
Product C (16kg)                       1

Manual calculation is:
Product A         2 units     at    12,85€   = 25.70€
Product B         1 unit       at    13,84€   = 13.84€
Product C         1 unit       at    15,34€  =  15,34€

TOTAL Shipping Cost:            55,88€

Do you  think that you plugin can be updated to make that? because I don't need to multiply rate per kg, only take the rate and add it to total shipping cost for each product in the cart.

Another thing to consider is the Italy Islands that i have a extra cost of 15€ over the base rate, and I don't know how control it with the plugin.

I can pay a fee if it's necessary.

I need some solution, because we have all done in the webpage, and we are stuck here.

Thanks in advance.


Title: Re: BTP Pro Shipping Plugin
Post by: PRO on February 27, 2014, 01:52:28 AM
there are other shipping plugins that might be better
http://extensions.virtuemart.net/shipments
Title: Re: BTP Pro Shipping Plugin
Post by: osonabit on April 11, 2014, 18:34:03 PM
Hi PRO, there are not any plugin to help me, and your pluguin is very similar that i want. I'm trying to modify your plugin with a bucle to read each product line, get the product weight to choose the correct rate and calculate the cost by "product quantity * rate."

I'm a newbie with php, and i'm sure that the solution it's not difficult. Please, just take a look at this code, to show you want i'm trying to do. I'ts not working know because i think that and don't get que correct variables from the cart of each product. You give me this idea with this code that you wrote in this post, where you use a bucle to add up the products weight, Why can't use it to add up the shippint cost oof each product in the cart?

https://forum.virtuemart.net/index.php?topic=120975.msg414003#msg414003 (https://forum.virtuemart.net/index.php?topic=120975.msg414003#msg414003)


The code of your plugin i'm trying to update is this:


function getCosts(VirtueMartCart $cart, $method, $cart_prices) {
$orderWeight = $this->getOrderWeight($cart, $method->weight_unit);
$nbproducts = $this->_nbproductsCond($cart, $method);
$tcost= 0;
foreach ( $products as $prow) {

if ($orderWeight <=0){
return 0;}
elseif ($nbproducts >=$method->nbproducts_quantity && $orderWeight >=1 && $method->nbproducts_1fee ==0 ){return $method->nbproducts_fee * $nbproducts;}
elseif ($nbproducts >=$method->nbproducts_quantity && $orderWeight >=1 && $method->nbproducts_1fee >0 ){
$nbproducts=$nbproducts-1;
$temp=$nbproducts *$method->nbproducts_fee;
return $temp+$method->nbproducts_1fee;
}
elseif ($nbproducts >=$method->nbproducts_quantity2 && $orderWeight >=1 && $method->nbproducts_1fee2 ==0 ){return $method->nbproducts_fee2 * $nbproducts;}
elseif ($nbproducts >=$method->nbproducts_quantity2 && $orderWeight >=1 && $method->nbproducts_1fee2 >0 ){
$nbproducts=$nbproducts-1;
$temp=$nbproducts *$method->nbproducts_fee2;
return $temp+$method->nbproducts_1fee2;
}
  elseif ($method->free_shipment && $cart_prices['salesPrice'] >= $method->free_shipment) {
return 0;}
elseif ($prow->product_weight >= $method->weight_min1 && $prow->product_weight <=$method->weight_max1){
$tcost += $prow->quantity * $method->rate1;
}
elseif ($prow->product_weight >= $method->weight_min2 && $prow->product_weight <=$method->weight_max2){
$tcost += $prow->quantity *  $method->rate2;
}
elseif ($prow->product_weight >= $method->weight_min3 && $prow->product_weight <=$method->weight_max3){
$tcost += $prow->quantity *  $method->rate3;
}
elseif ($prow->product_weight >= $method->weight_min4 && $prow->product_weight <=$method->weight_max4){
$tcost += $prow->quantity *  $method->rate4;
}
elseif ($prow->product_weight >= $method->weight_min5 && $prow->product_weight <=$method->weight_max5){
$tcost += $prow->quantity *  $method->rate5;
}
elseif ($prow->product_weight >= $method->weight_min6 && $prow->product_weight <=$method->weight_max6){
$tcost += $prow->quantity *  $method->rate6;
}
else{
return $method->elsecost;
}
}
return $tcost;
    }



I'm really appreciate your help, or the other person.

Thanks.
Title: Re: BTP Pro Shipping Plugin
Post by: osep45 on July 04, 2014, 16:43:01 PM
I have installed and publish it on :
- Joomla! 2.5.13
- Virtuemart 2.0.22a

I have carefully read : http://www.kaizenmediaworks.com/pro-ship-virtuemart-2-0-shipping-plugin-module
Thank you PRO, for this great plugin !

This plugin uses multiplication of the rate you set and the order weight.
It also has free shipping over certain order total.
But can it set a shipping fee under a certain order total ?

My shipping cost rule is quite simple:
- Orders between 0.75 € and 24.50 €  => shipping cost = 1.55 €.
- Beyond 24.5 €  => shipping cost = 0 €.

Is it possible ?

Osep45
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on July 08, 2014, 13:01:39 PM
Quote from: osep45 on July 04, 2014, 16:43:01 PM
I have installed and publish it on :
- Joomla! 2.5.13
- Virtuemart 2.0.22a

I have carefully read : http://www.kaizenmediaworks.com/pro-ship-virtuemart-2-0-shipping-plugin-module
Thank you PRO, for this great plugin !

This plugin uses multiplication of the rate you set and the order weight.
It also has free shipping over certain order total.
But can it set a shipping fee under a certain order total ?

My shipping cost rule is quite simple:
- Orders between 0.75 € and 24.50 €  => shipping cost = 1.55 €.
- Beyond 24.5 €  => shipping cost = 0 €.

Is it possible ?

Osep45



sorry but my plugin is not setup for this.

Title: Re: BTP Pro Shipping Plugin
Post by: osep45 on July 10, 2014, 10:05:55 AM
Thank you for your answer
Title: Re: BTP Pro Shipping Plugin
Post by: kelecz on March 04, 2015, 10:43:27 AM
Dear Pro,

can not work with joomla 3?

THX
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on March 04, 2015, 14:04:21 PM
no
Title: Re: BTP Pro Shipping Plugin
Post by: osonabit on March 13, 2015, 11:25:03 AM
Hi Pro,

do you have intention to update you plugin to support  virtuemart 3?

Thanks.
Title: Re: BTP Pro Shipping Plugin
Post by: muddauber on November 06, 2015, 04:37:15 AM
What Happened to the Pro Shipping Plugin? I need an update for VirtueMart 3.0  .kaizenmediaworks.com seems to have vanished.
Can anyone Recommend a shipping plugin based on weight?
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on November 06, 2015, 11:38:42 AM
attached.

i do not support it. BUT this is what I use.

Since I do not support it anymore. The language keys are hard coded in english
Title: Re: BTP Pro Shipping Plugin
Post by: GJC Web Design on November 06, 2015, 23:44:08 PM
try http://open-tools.net/virtuemart/shipping-by-rules.html
Title: Re: BTP Pro Shipping Plugin
Post by: cjcatalano on June 13, 2016, 19:55:48 PM
I know you don't support it, but should it show up in VM 3 as a shipping option when creating a new rule? I placed the folder in Plugins/vmshipment/proship2.

Thanks.
Quote from: PRO on November 06, 2015, 11:38:42 AM
attached.

i do not support it. BUT this is what I use.

Since I do not support it anymore. The language keys are hard coded in english
Title: Re: BTP Pro Shipping Plugin
Post by: PRO on June 14, 2016, 16:36:33 PM
Quote from: cjcatalano on June 13, 2016, 19:55:48 PM
I know you don't support it, but should it show up in VM 3 as a shipping option when creating a new rule? I placed the folder in Plugins/vmshipment/proship2.

Thanks.
Quote from: PRO on November 06, 2015, 11:38:42 AM
attached.

i do not support it. BUT this is what I use.

Since I do not support it anymore. The language keys are hard coded in english

go to extensions and "discover"