News:

Support the VirtueMart project and become a member

Main Menu

Copy function for Shipment Methods ?

Started by kevinlo, April 30, 2012, 09:33:39 AM

Previous topic - Next topic

kevinlo

Is that possible have a Copy function for the Shipment Methods ?
I need to setup a shipping charge for 0.5kg to 5kg (increase every 0.5kg , that mean 0.5kg , 1kg , 1.5kg ...etc until reach 5kg) , then need to split the country into 4 zone.
So I need to create 10 x 4 = 40 shipment methods manually . Is that have a "Copy" function ?
Because each Zone , it will over 10 country , so create each record without Copy function is very very painful...

Thanks.

MCMuckle

I was just about to post the same question ...

It would be useful to be able to copy a shipping method then just edit the weight range and price, instead of having to go through the coutry selection process each time.

Perhaps this could be included in the next version?

Thanks

rvbgnu

It will be nice to have a copy function, indeed (or Duplicate as called in Joomla 2.5+).

In the meantime, if you can use phpMyAdmin, edit the table (always backup before!)
(prefix)_virtuemart_shipmentmethods:
- create in VM back end the required number of rates, with their names only (leave the "configuration" tab empty
- one of the rate should be completed, to be copied to other = note its ID - if you have 4 list of countries, crete 4 "sample" rates
- in phpMyAdmin, open this ID, and copy the "shipment_params" content
- edit all the other rates in phpMyAdmin, and paste this content into the related field
- in VM admin, edit the rate and weight, but your contries list should be ok then!

Hope it helps.

By the way, found this topic, to modified countries list

Quote from: luciaWOF on February 09, 2012, 16:16:37 PM
Hi Developers,

I've just been loading/sorting shipping info.

There are a few tweaks to the countries that might be useful to include in next changes:
You could add these missing countries - Balearic Islands (near Spain), Corsica, Azores, Kosovo, Madeira and Montenegro (all in Europe) and Guernsey (a Channel Island, for postal purposes part of the UK)?  East Timor appears twice in the lists.

Also, it would save huge time were the different shipment methods/names copy-able as has been done with products.

Thanks

I do agree about Montenegro (alpha codes ME and MNE)  and Guernsey (alpha codes GG and GGY).
But not about Corsica: it is a French region, not an independent country, and has the same postal rates as France.
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart