knitting

Author Topic: BTP Pro Shipping Plugin  (Read 20385 times)

John2400

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1351
  • I love Virtuemart and its challenges
Re: BTP Pro Shipping Plugin
« Reply #15 on: May 28, 2012, 03: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.
Versions  2.5.9 Joomla and Virtuemart versions 2.0.20b php 5.3.2

addixtnc

  • Beginner
  • *
  • Posts: 7
Re: BTP Pro Shipping Plugin
« Reply #16 on: May 30, 2012, 20:19:31 PM »
i uploaded and installed plugin but not able to have it appear in virtue mart what ami doing wrong?

John2400

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1351
  • I love Virtuemart and its challenges
Re: BTP Pro Shipping Plugin
« Reply #17 on: May 31, 2012, 02: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.
Versions  2.5.9 Joomla and Virtuemart versions 2.0.20b php 5.3.2

mowgs

  • Beginner
  • *
  • Posts: 48
Re: BTP Pro Shipping Plugin
« Reply #18 on: June 01, 2012, 08:29:24 AM »
Huge improvement on standard VM shipping by weight, country etc.

Cheers!   :D

mbit

  • Full Member
  • ***
  • Posts: 323
Re: BTP Pro Shipping Plugin
« Reply #19 on: June 07, 2012, 08:54:02 AM »
Has anyone tested this plugin with VM 1.1.9?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9470
Re: BTP Pro Shipping Plugin
« Reply #20 on: June 07, 2012, 11:41:47 AM »
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
"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

stuart.prevos

  • Beginner
  • *
  • Posts: 36
Re: BTP Pro Shipping Plugin
« Reply #21 on: June 12, 2012, 13: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

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9470
Re: BTP Pro Shipping Plugin
« Reply #22 on: June 12, 2012, 15:20:32 PM »
$cart_prices['salesPrice']   is what you use

"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

stuart.prevos

  • Beginner
  • *
  • Posts: 36
Re: BTP Pro Shipping Plugin
« Reply #23 on: June 13, 2012, 05:05:59 AM »
 ;Dawsome thanks again

dsrpmedia

  • Full Member
  • ***
  • Posts: 233
Re: BTP Pro Shipping Plugin
« Reply #24 on: June 19, 2012, 19:33:19 PM »
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)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9470
Re: BTP Pro Shipping Plugin
« Reply #25 on: June 20, 2012, 05:42:29 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?
"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

dsrpmedia

  • Full Member
  • ***
  • Posts: 233
Re: BTP Pro Shipping Plugin
« Reply #26 on: June 20, 2012, 09:56:47 AM »
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)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9470
Re: BTP Pro Shipping Plugin
« Reply #27 on: June 20, 2012, 10:56:16 AM »
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
"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

dsrpmedia

  • Full Member
  • ***
  • Posts: 233
Re: BTP Pro Shipping Plugin
« Reply #28 on: June 20, 2012, 11:38:47 AM »
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!

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9470
Re: BTP Pro Shipping Plugin
« Reply #29 on: June 20, 2012, 13:36:10 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
"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

VirtueMart Forum

Re: BTP Pro Shipping Plugin
« Reply #29 on: June 20, 2012, 13:36:10 PM »