Welcome,
Guest
|
TOPIC:
How many lines of rules can I write? 28 Jun 2014 00:53 #1
|
Dear Admin,
I just finished writing the rules for my virtuemart plugin. I haven't tried it since getting the plugin. How many lines of rules can i write in virtuemart? I really need this to work. Here is the example of the rules i need to be written: Name="POS MEDAN" ; state =="Lae Parira, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Parbuluhan, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Pegagan Hilir, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Sidikalang, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Siempat Nempu, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Siempat Nempu Hilir, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Siempat Nempu Hulu, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Silahi Sabungan, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Silima Pungga-pungga, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Sitinjo, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Sumbul, Dairi " ; shipping=18000*weight Name="POS MEDAN" ; state =="Tanah Pinem, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Tiga Lingga, Dairi" ; shipping=18000*weight Name="POS MEDAN" ; state =="Bangun Purba, Deli Serdang" ; shipping=17000*weight Name="TIKI MEDAN" ; state =="Batang Kuis, Deli Serdang" ; shipping=18000*weight Name="TIKI MEDAN" ; state =="Beringin, Deli Serdang" ; shipping=28500*weight Name="TIKI MEDAN" ; state =="Biru-biru, Deli Serdang" ; shipping=28500*weight Name="TIKI MEDAN" ; state =="Deli Tua, Deli Serdang" ; shipping=14500*weight Name="TIKI MEDAN" ; state =="Galang, Deli Serdang" ; shipping=32500*weight Name="POS MEDAN" ; state =="Gunung Meriah, Deli Serdang" ; shipping=17000*weight Name="TIKI MEDAN" ; state =="Hamparan Perak, Deli Serdang" ; shipping=21000*weight Name="TIKI MEDAN" ; state =="Kutalimbaru, Deli Serdang" ; shipping=18000*weight Name="POS MEDAN" ; state =="Labuhan Deli, Deli Serdang" ; shipping=17000*weight Name="TIKI MEDAN" ; state =="Lubuk Pakam, Deli Serdang" ; shipping=7000*weight Name="TIKI MEDAN" ; state =="Namo Rambe, Deli Serdang" ; shipping=18000*weight Name="TIKI MEDAN" ; state =="Pagar Merbau, Deli Serdang" ; shipping=32500*weight Name="TIKI MEDAN" ; state =="Pancur Batu, Deli Serdang" ; shipping=18000*weight Name="TIKI MEDAN" ; state =="Pantai Labu, Deli Serdang" ; shipping=32500*weight Name="TIKI MEDAN" ; state =="Patumbak, Deli Serdang" ; shipping=16500*weight Name="TIKI MEDAN" ; state =="Percut Sei Tuan, Deli Serdang" ; shipping=17500*weight Name="TIKI MEDAN" ; state =="Sibolangit, Deli Serdang" ; shipping=51000*weight Name="POS MEDAN" ; state =="Sinembah Tanjung Muda Hilir, Deli Serdang" ; shipping=21000*weight Name="POS MEDAN" ; state ==" Sinembah Tanjung Muda Hulu Deli Serdang" ; shipping=21000*weight Name="TIKI MEDAN" ; state =="Sunggal, Deli Serdang" ; shipping=17500*weight Name="TIKI MEDAN" ; state =="Tanjung Morawa, Deli Serdang" ; shipping=18000*weight Name="POS MEDAN" ; state =="Gunung Sitoli, Deli Serdang" ; shipping=21000*weight Name="POS MEDAN" ; state =="Gunung Sitoli Alo’oa, Deli Serdang" ; shipping=21000*weight Name="POS MEDAN" ; state =="Gunung Sitoli Barat, Deli Serdang" ; shipping=21000*weight Name="POS MEDAN" ; state =="Gunung Sitoli Idanoi, Deli Serdang" ; shipping=21000*weight Name="POS MEDAN" ; state =="Gunung Sitoli Selatan, Deli Serdang" ; shipping=21000*weight Name="POS MEDAN" ; state =="Gunung Sitoli Utara, Deli Serdang" ; shipping=21000*weight Name="POS MEDAN" ; state =="Bakti Raja, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Dolok Sanggul, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Lintong Nihuta, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Onan Ganjang, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Pakkat, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Paranginan, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Parlilitan, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Pollung, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Sijama Polang, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Tara Bintang, Humbang Hasudutan" ; shipping=18000*weight Name="POS MEDAN" ; state =="Barus Jahe, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Berastagi, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Dolat Rakyat, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Juhar, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Kabanjahe, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Kutabuluh, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Laubaleng, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Mardinding, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Merdeka, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Merek, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Munthe, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Nama Teran, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Payung, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Simpang Empat, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Tiga Binanga, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Tiga Panah, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Tiganderket, Karo" ; shipping=17000*weight Name="POS MEDAN" ; state =="Bilah Barat, Labuhan Batu" ; shipping=17000*weight Name="POS MEDAN" ; state =="Bilah Hilir, Labuhan Batu" ; shipping=17000*weight Name="POS MEDAN" ; state =="Bilah Hulu, Labuhan Batu" ; shipping=17000*weight Name="POS MEDAN" ; state =="Panai Hilir, Labuhan Batu" ; shipping=17000*weight Name="POS MEDAN" ; state =="Panai Hulu, Labuhan Batu" ; shipping=17000*weight Name="POS MEDAN" ; state =="Panai Tengah, Labuhan Batu" ; shipping=17000*weight Name="POS MEDAN" ; state =="Pangkatan, Labuhan Batu" ; shipping=17000*weight Name="POS MEDAN" ; state =="Rantau Selatan, Labuhan Batu" ; shipping=17000*weight Name="POS MEDAN" ; state =="Rantau Utara, Labuhan Batu" ; shipping=17000*weight Name="TIKI MEDAN" ; state =="Kampung Rakyat, Labuhan Batu Selatan" ; shipping=30500*weight Name="TIKI MEDAN" ; state =="Kota Pinang, Labuhan Batu Selatan" ; shipping=30500*weight Name="TIKI MEDAN" ; state =="Sei Kanan, Labuhan Batu Selatan" ; shipping=30500*weight Name="TIKI MEDAN" ; state =="Silang Kitang, Labuhan Batu Selatan" ; shipping=26000*weight Name="TIKI MEDAN" ; state =="Torgamba, Labuhan Batu Selatan" ; shipping=30500*weight Name="POS MEDAN" ; state =="Aek Kuo, Labuhan Batu Utara" ; shipping=23000*weight Name="TIKI MEDAN" ; state =="Aek Natas, Labuhan Batu Utara" ; shipping=30500*weight Name="POS MEDAN" ; state =="Kuala Ledong, Labuhan Batu Utara" ; shipping=23000*weight Name="POS MEDAN" ; state =="Kualuh Hilir, Labuhan Batu Utara" ; shipping=23000*weight Name="TIKI MEDAN" ; state =="Kualuh Hulu, Labuhan Batu Utara" ; shipping=41000*weight Name="TIKI MEDAN" ; state =="Kualuh Selatan, Labuhan Batu Utara" ; shipping=30500*weight Name="TIKI MEDAN" ; state =="Marbau, Labuhan Batu Utara" ; shipping=41000*weight Name="TIKI MEDAN" ; state =="Na IX-X, Labuhan Batu Utara" ; shipping=41000*weight Name="TIKI MEDAN" ; state =="Babalan, Langkat" ; shipping=23500*weight Name="POS MEDAN" ; state =="Bahorok, Langkat" ; shipping=17000*weight Name="POS MEDAN" ; state =="Batang Serangan, Langkat" ; shipping=19000*weight Name="TIKI MEDAN" ; state =="Besitang, Langkat" ; shipping=23500*weight Name="TIKI MEDAN" ; state =="Binjai, Langkat" ; shipping=18000*weight Name="TIKI MEDAN" ; state =="Brandan Barat, Langkat" ; shipping=22500*weight Name="TIKI MEDAN" ; state =="Gebang, Langkat" ; shipping=22500*weight Name="POS MEDAN" ; state =="Hinai, Langkat" ; shipping=18000*weight Name="POS MEDAN" ; state =="Kuala, Langkat" ; shipping=18000*weight Name="POS MEDAN" ; state =="Kutambaru, Langkat" ; shipping=17000*weight Name="POS MEDAN" ; state =="Padang Tualang, Langkat" ; shipping=18000*weight Name="TIKI MEDAN" ; state =="Pangkalan Susu, Langkat" ; shipping=23000*weight Name="POS MEDAN" ; state =="Pematang Jaya, Langkat" ; shipping=18000*weight Name="POS MEDAN" ; state =="Salapian, Langkat" ; shipping=17000*weight Name="POS MEDAN" ; state =="Sawit Seberang, Langkat" ; shipping=18000*weight Name="POS MEDAN" ; state =="Secanggang, Langkat" ; shipping=18000*weight Name="POS MEDAN" ; state =="Sei Binge, Langkat" ; shipping=17000*weight Name="TIKI MEDAN" ; state =="Sei lepan, Langkat" ; shipping=23000*weight Name="TIKI MEDAN" ; state =="Selesai, Langkat" ; shipping=17500*weight Name="POS MEDAN" ; state =="Sirapit, Langkat" ; shipping=18000*weight Name="TIKI MEDAN" ; state =="Stabat, Langkat" ; shipping=21500*weight Name="TIKI MEDAN" ; state =="Tanjung Pura, Langkat" ; shipping=23000*weight Name="POS MEDAN" ; state =="Wampu, Langkat" ; shipping=19000*weight Name="POS MEDAN" ; state =="Batahan, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Batang Natal, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Bukit Melintang, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Huta Bargot, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Kotanopan, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Langga Bayu, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Lembah Sorik Merapi, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Muara Batang Gadis, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Muara sipongi, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Naga Juang, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Natal, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Pakantan, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Penyabungan Barat, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Penyabungan Kota, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Penyabungan Selatan, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Penyabungan Timur, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Penyabungan Utara, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Puncak Sorik Merapi, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Ranto Baek, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Siabu, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Tambangan, Mandailing Natal" ; shipping=19000*weight Name="POS MEDAN" ; state =="Ulu Pungkut, Mandailing Natal" ; shipping=19000*weight Name="ATP MEDAN" ; state =="MEDAN" ; shipping=0*weight Name="POS MEDAN" ; state =="Bawolato, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Botomuzoi, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Gido, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Hili Serangkai, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Hiliduho, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Idano Gawo, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Ma'u, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Somolo-molo, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Ulugawo, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Lahomi, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Lolofitu Moi, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Mandrehe, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Mandrehe Barat, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Mandrehe Utara, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Moro'o, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Sirombu, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Ulu Moro'o, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Amandraya, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Gomo, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Hibala, Nias" ; shipping=21000*weight Name="POS MEDAN" ; state =="Lahusa, Nias" ; shipping=24000*weight Name="POS MEDAN" ; state =="Lolomatua, Nias" ; shipping=24000*weight Name="POS MEDAN" ; state =="Lolowau, Nias" ; shipping=24000*weight Name="POS MEDAN" ; state =="Pulau-pulau Batu, Nias" ; shipping=24000*weight Name="POS MEDAN" ; state =="Teluk Dalam, Nias" ; shipping=24000*weight Name="POS MEDAN" ; state =="Afulu, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Alasa, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Alasa Talumuzoi, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Lahewa, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Lahewa Timur, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Lotu, Nias" ; shipping=24000*weight Name="POS MEDAN" ; state =="Namohalu Esiwa, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Sawo, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Sitolu Ori, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Tugala oyo, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Tuhemberua, Nias Utara" ; shipping=24000*weight Name="POS MEDAN" ; state =="Barumun, Padang Lawas" ; shipping=18000*weight Name="POS MEDAN" ; state =="Barumun Tengah, Padang Lawas" ; shipping=18000*weight Name="POS MEDAN" ; state =="Batang Lubu Sutam, Padang Lawas" ; shipping=19000*weight Name="POS MEDAN" ; state =="Huristak, Padang Lawas" ; shipping=19000*weight Name="POS MEDAN" ; state =="Huta Raja Tinggi, Padang Lawas" ; shipping=18000*weight Name="POS MEDAN" ; state =="Lubuk Barumun, Padang Lawas" ; shipping=18000*weight Name="POS MEDAN" ; state =="Sosa, Padang Lawas" ; shipping=18000*weight Name="POS MEDAN" ; state =="Sosopan, Padang Lawas" ; shipping=19000*weight Name="POS MEDAN" ; state =="Ulu Barumun, Padang Lawas" ; shipping=18000*weight Name="POS MEDAN" ; state =="Batang Onang, Padang Lawas Utara" ; shipping=19000*weight Name="POS MEDAN" ; state =="Dolok, Padang Lawas Utara" ; shipping=18000*weight Name="POS MEDAN" ; state =="Dolok Sigompulon, Padang Lawas Utara" ; shipping=18000*weight Name="POS MEDAN" ; state =="Halongonan, Padang Lawas Utara" ; shipping=18000*weight Name="POS MEDAN" ; state =="Hulu Sihapas, Padang Lawas Utara" ; shipping=18000*weight Name="POS MEDAN" ; state =="Padang Bolak, Padang Lawas Utara" ; shipping=18000*weight Name="POS MEDAN" ; state =="Padang Bolak Julu, Padang Lawas Utara" ; shipping=18000*weight Name="POS MEDAN" ; state =="Simangambat, Padang Lawas Utara" ; shipping=18000*weight Name="POS MEDAN" ; state =="PADANG SIDEMPUAN" ; shipping=15000*weight Name="POS MEDAN" ; state =="Kerajaan, Pakpak Bharat"; shipping=19000*weight Name="POS MEDAN" ; state =="Pagindar, Pakpak Bharat"; shipping=19000*weight Name="POS MEDAN" ; state =="Pergetteng Getteng Sengkut, Pakpak Bharat"; shipping=19000*weight Name="POS MEDAN" ; state =="Salak, Pakpak Bharat"; shipping=19000*weight Name="POS MEDAN" ; state =="Siempat Rube, Pakpak Bharat"; shipping=19000*weight Name="POS MEDAN" ; state =="Sitellu Tali Urang Jehe, Pakpak Bharat"; shipping=19000*weight Name="POS MEDAN" ; state =="Sitellu Tali Urang Julu, Pakpak Bharat"; shipping=19000*weight Name="POS MEDAN" ; state =="Tinada, Pakpak Bharat"; shipping=19000*weight Name="TIKI MEDAN" ; state =="Siantar Barat, Pematang Siantar" ; shipping=7000*weight Name="TIKI MEDAN" ; state =="Siantar Marihat, Pematang Siantar" ; shipping=18500*weight Name="TIKI MEDAN" ; state =="Siantar Martoba, Pematang Siantar" ; shipping=18500*weight Name="TIKI MEDAN" ; state =="Siantar Selatan, Pematang Siantar" ; shipping=18500*weight Name="TIKI MEDAN" ; state =="Siantar Timur, Pematang Siantar" ; shipping=18500*weight Name="TIKI MEDAN" ; state =="Siantar Utara, Pematang Siantar" ; shipping=18500*weight Name="POS MEDAN" ; state =="Harian, Samosir" ; shipping=19000*weight Name="POS MEDAN" ; state =="Nainggolan, Samosir" ; shipping=19000*weight Besides that, i still have tons of lines (approximately 8000 lines in total) because in my country, there are thousands of places that we cover for shipment all over the country. Please help me. How to write all the rules inside the virtuemart shipment. When i copy and paste it from my notepad, it vanished when i clicked apply. Thank you for your support. Regards, Sony |
How many lines of rules can I write? 04 Jul 2014 18:24 #2
|
I have the same question. I am currently using the free version on Joomla 2.5.22, VM 2.0.26
I need 2000 lines of rules. I wrote and saved around 200 lines in the first box. However, if I try to put more, on save all the lines vanish. UPDATE: I found this post about the VM limitations: open-tools.net/forum/shipping-by-rules-p...-are-not-saving.html Problem solved with creating more shipping methods, each with about 200 lines. |
How many lines of rules can I write? 05 Jul 2014 23:40 #3
|
Hi,
Can you please advice me what to do? I am still facing the problem.. Please help. |
How many lines of rules can I write? 07 Jul 2014 23:00 #4
|
The problem is that in the databse, VirtueMart 2.x only reserves ~19.000 characters for the configuration of each shipping plugin. As a consequence, each shipping method can only use those 19.000 characters, which means that all rules of a method combined must not be longer than this limit.
For VM 2.x there is a workaround to simply create multiple shipping methods from the shipping by rules plugin, where each of these methods can use up to 19.000 characters for the rules. Milbo (the main VM developer) promised to remove that database limit in the upcoming VirtueMart 3.x release, but for now you have to create multiple methods to get around that problem. Best regards, Reinhold |