News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Automatic Selected Shipment & Payment doesn't work

Started by lukelee, June 04, 2013, 13:06:08 PM

Previous topic - Next topic

lukelee

I am running virtuemart 2.0.20b on Joomla 2.5.8, Both Enable Automatic Selected Shipment & Payment are selected.
I am using flat rate shipping and paypal only, but in checkout page, it still ask for Select shipment and Select payment.

Anyone solved this issue?

Senadisain

Quote from: lukelee on June 04, 2013, 13:06:08 PM
I am running virtuemart 2.0.20b on Joomla 2.5.8, Both Enable Automatic Selected Shipment & Payment are selected.
I am using flat rate shipping and paypal only, but in checkout page, it still ask for Select shipment and Select payment.

Anyone solved this issue?
Faced with a similar problem, the version of virtuemart 2.0.24, solution:
1 .open: your_site/components/com_virtuemart/helpers/cart.php
2. then find there function: CheckAutomaticSelectedPayment, line 1220
3. in this function, we find the condition: if (isset ($ returnValue)) and change it to if ($ returnValue == true), line 1232
I helped.

AH

You should not need to change code for auto select to function when there is only one option and no other plugins enables.

Just disable any other shipment and payment plugins and autoselect should function.

Senadisian - that is not very helpful as it will get overwritten in an update! and should not be required in the first instance.
Regards
A

Joomla 4.4.5
php 8.1

servlet

Quote from: Hutson on October 18, 2013, 17:14:30 PM
You should not need to change code for auto select to function when there is only one option and no other plugins enables.

Just disable any other shipment and payment plugins and autoselect should function.

Senadisian - that is not very helpful as it will get overwritten in an update! and should not be required in the first instance.

Ok, but it doesnt wokr
Autoselected is only shipment method
Payment method is not selected
VM 24
Он-лайн магазин за фототапети http://mishelfoster.com

AH

Servlet
It depends what payment method you are using.

Works perfectly for paypal.

I just did not want people to read the previous post and go straight to hacking code
Regards
A

Joomla 4.4.5
php 8.1

servlet

Hello
Thank you for replay
I am using standart payment method...

By the way cart doesnt calculate weight and cannt get correct price for shipping.
Do you have problems with this?
Он-лайн магазин за фототапети http://mishelfoster.com

AH

Regards
A

Joomla 4.4.5
php 8.1

servlet

Он-лайн магазин за фототапети http://mishelfoster.com

AH

Regards
A

Joomla 4.4.5
php 8.1

servlet

Он-лайн магазин за фототапети http://mishelfoster.com