Auto selection of shipment doesn't work anymore with 2.08 (2.0.12)

Started by melingmeier, June 30, 2012, 16:28:52 PM

Previous topic - Next topic

alatak

Hello,

have you tried to disable the klarna plugin in the joomla plugin manager?
If you did and it still does not work, please send me an admin account on your website via PM, i will have a look.

Javix

Hi @alatak,

I have no klarna installed.

But anyway, I have reinstalled from scratch the AIO extensions and now it works as expected. There may have been a corrupted installation, it run through the update panel.

Thanks anyway, this is solved, then.

Regards

alatak


John2400

2.0.8 d - does not select automatically?  c was good.  -  I use only one method - weight-country - I use only numbers -  and a range .

No matter what number they type in the zip code - now all choices appear.  I have reinstalled twice the new software.  , interesting That I think the wording of gram and kilogram, are now in "french" -

I have mentioned this in another post but No orders appear in the back end - i tested buy reinstalling c then test - install d test and reinstall c again . - d  yes they are in the database

I like the new calandar - in products -

jjk

Quote from: John2400 on July 13, 2012, 02:47:13 AM
...interesting That I think the wording of gram and kilogram, are now in "french"

Hehe, are they really shown in french? I recently changed the metric strings from US-English to GB-English, because the source language files are en-GB (not en-US). (There was a UK user who complained about that, and all attempts by various US-Governments to urge Americans to use the metric system failed anyway :-)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

John2400

my French is poor to non - existant - but I can say I see all these words - with the mme added on .  In Australlia we have dropped all of these -  eg programme  is just program.  I think that was the last word to go  -http://mymemory.translated.net/t/French/English/kilogrammes

No really an issue but wondered why / how it changed.

jjk

Just for playing with en-GB/en-US English: http://www.translatebritish.com/reverse.php  ;)
Personally I prefer the US-strings, but all british dictionaries still list the older british versions
If users ask for it, I would open a special en-US translation at Transifex, but at present I doubt that anybody is interested in maintaining a special en-US version.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Letterhead

#37
Is there a solution for this please (selection of shipment doesn't work anymore with 2.08)

I am using 2.0.8E payments are fine, but i cannot select shipping

I have tried

removing country (although this is needed)
Upgrading AIO and deleted and redid the shipping and still the same

i have checked this line does not work http://forum.virtuemart.net/index.php?topic=104642.15 as suggested in the file weight_countries.php

Any ideas please

Thank you

I do suspect i have done something wrong, does this give you a guide to why the shipping cannot be selected?
Info: weigth_countries _weightCond orderWeight:0.4 method->weight_start:0.1 method->weight_stop:99999997777 result:1
Info: weigth_countries _nbproductsCond nbproducts:1 method->nbproducts_start:0 method->nbproducts_stop:20 result:1
weigth_countries _orderamountCond cart_amount:14.5 method->orderamount_start:1 method->orderamount_stop:3.33333333333E+16 result:
weigth_countries _zipCond zip:0

SOLVED FOR ME

This is resolved with the up and coming "less is more theory, using a nuclear bomb on a bird" the point is, i added to much information, which is the reason it did not work. my fault.

djliquid

#38
I still get that error with Klarna disabled. J2.5.7 and VM 2.0.10

I also have Google Checkout (OSE) but just am using just Standard Shipping

Quote from: vigier on July 01, 2012, 21:59:50 PM
The problem is indeed the Klarna plugin. If you go to your standard payment plugin, edit it (don't change anything) and press save, it gives an error, I think it is about a CountryId. Disabling the plugin does the trick.

djliquid

Quote from: alatak on July 06, 2012, 17:18:52 PM
Hello Ty3uK

I have fixed the problem on your web site.
This code has not been changed for month.. i do not understand why it is not working for you.

For you i have removed the country condition on the shipment since you don't ask the shopper the country. I have also removed the shopper group condition.

the fix is the following:
in the file /plugins/vmshipment/weight_countries/weight_countries.php, around line 249
change this
 

if ($weight_cond AND $zip_cond AND $nbproducts_cond AND $orderamount_cond) {
         
by this code

$cond=$weight_cond AND $zip_cond AND $nbproducts_cond AND $orderamount_cond;
if ($cond) {


I will change the code for the 2.0.8.d



This line seems to be just commented out altogether in VM 2.0.10 ??

I get this, starting @ line 260


$allconditions = (int) $weight_cond + (int)$zip_cond + (int)$nbproducts_cond + (int)$orderamount_cond;
if($allconditions === 4){
return TRUE;
} else {
return FALSE;
}
//$cond=$weight_cond AND $zip_cond AND $nbproducts_cond AND $orderamount_cond;

/* if ($cond) {
vmdebug('checkConditions '.$method->name.' fits?');
// this line does not work http://forum.virtuemart.net/index.php?topic=104642.15
//if ($weight_cond AND $zip_cond AND $nbproducts_cond AND $orderamount_cond) {
return TRUE;
}*/
}
vmdebug('checkConditions '.$method->name.' does not fit');
return FALSE;

RevoLion

Alatak,

I can not get the USPS shipping method to show the shipping cost for the life of me. Humbly, I know I have to be configuring something not right. Can you please assist me? What information do you need to know?

Kindest Regards,
Jeremy

RevoLion

I am using VM 2.0 and Joomla 2.5.7... The website is http://host.revolutionwebstudios.com/~thehumm

Thank you for any direction.


Kindest Regards,
Jeremy

melingmeier

Any news on this topic? I updated to 2.0.12f and got my shipment selection page back (I have only one shipment option configured and the checkbox in backend is selected). I forgot how I skipped this step in 2.06. Is there a workaround how to activate the preselection?
Virtuemart Version: 3.0.16 on Joomla 3.5.1; php 7

emptyindorill

Quote from: alatak on July 10, 2012, 13:46:15 PM
Hello,

have you tried to disable the klarna plugin in the joomla plugin manager?
If you did and it still does not work, please send me an admin account on your website via PM, i will have a look.
Hello, and I 2.0.12f version, and the same problem with non displayed choice of the price and delivery.
instead: if ($weight_cond AND $zip_cond AND $nbproducts_cond AND $orderamount_cond) {
Here it is: return FALSE;
}
//$cond=$weight_cond AND $zip_cond AND $nbproducts_cond AND $orderamount_cond;

/* if ($cond) {
vmdebug('checkConditions '.$method->name.' fits?');
// this line does not work http://forum.virtuemart.net/index.php?topic=104642.15
//if ($weight_cond AND $zip_cond AND $nbproducts_cond AND $orderamount_cond) {
return TRUE;
}*/
}
vmdebug('checkConditions '.$method->name.' does not fit');
return FALSE;
}

Please tell me what to do?

beertje_007

hi all,

does anyone have a solution yet?
i have joomla 2.5.8 with vm2.0.14 installed.
i have one payment method which works with auto fill. This method has NO countries selected.
It did not work with auto fill when i had countries selected in it.

Now the only method which does not work with auto fill is the shipping method.
shipping consists of 10 methods based on countries and weights.
Each time i go to the checkout form, VM presents only 1 shipping method but does not auto select it.

if someone has a solution please let me know.

kind regards,
Roy