VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: bisonfume on August 07, 2012, 14:59:54 PM

Title: Ship plug in by catégory and quantity
Post by: bisonfume on August 07, 2012, 14:59:54 PM
Hello,

I'm looking for a shipping plugin, with specific rates : by catégory (every category has his rate shipment) and by quantity.

Have you got any idea where I can found this ? And how much does it cost ??

Thanks a lot .
Title: Re: Ship plug in by catégory and quantity
Post by: GJC Web Design on August 09, 2012, 14:44:22 PM
Hi,

funnily enough I was just developing a plugin to do this based on my http://www.gjcwebdesign.com/virtuemart-2-joomla-25-postcode-zip-code-shipping-plugin-released.html (http://www.gjcwebdesign.com/virtuemart-2-joomla-25-postcode-zip-code-shipping-plugin-released.html) plugin.

Got it to work fine except hit a deadend when I couldn't figure what happens when products from DIFFERENT categories go in the cart... hmmmm

What would be your take on this?

At the moment a different method is set up for single or multiple categories via a category multiselect (similar to countries) ...
This has the advantage that it updates as u add categories

I guess (if you check out the module you'll see parameters are added by a simple comma separated list) category id could be added to this string and looped thru and a cumlative total reached but this would be a couple of hours work to dev..

This has the disadvantage that you would need to add the cat ids manually..

Your opinion?

Cheers