Author Topic: [solved] Payment and shipment methods duplicated in checkout  (Read 4933 times)

luisch125

  • Jr. Member
  • **
  • Posts: 76
Re: Payment and shipment methods duplicated in checkout
« Reply #15 on: December 26, 2012, 20:28:05 pm »
Thanks. I sent you a PM.

zhous98

  • Beginner
  • *
  • Posts: 5
Re: Payment and shipment methods duplicated in checkout
« Reply #16 on: January 07, 2013, 07:00:39 am »
You may provide me your login data via pn and I may take a look.

Hi Milbo, I just have the same issue. This problems keeps going from virtuemart 2.0.8e to 2.0.10 to 2.0.14. Have you got a solution?


lindapowers

  • Full Member
  • ***
  • Posts: 1335
  • If you're going through hell, keep going.
    • Venta de naranjas online y mandarinas
  • Skype Name: manu.gonzalez91
  • VirtueMart Version: Latest avi
Re: Payment and shipment methods duplicated in checkout
« Reply #17 on: January 07, 2013, 11:28:41 am »
A mi me pasaba algo parecido pero con los métodos de pago, y al final resulta que los tenía creados en el virtuemart inglés.

Cambia el idioma a inglés en tu gestor de contenidos y fijate si te aparecen.

Saludos

----------------------------------------

Happened the same to me but with the payment methods and the reason was that I had them created in the english version of the website before I installed the spanish language in the site and change it.

So I had to change my default language from spanish to english again in joomla, go to virtuemart deleted those entries and then switch back to spanish and didnt have them duplicated anymore.

luisch125

  • Jr. Member
  • **
  • Posts: 76
Re: Payment and shipment methods duplicated in checkout
« Reply #18 on: January 10, 2013, 17:15:40 pm »
No es el mismo caso. Yo los he creado en español desde el principio, con los idiomas de joomla y virtuemart en español. De todas formas hice la prueba y no se ha solucionado...

-------------

I tried to change the languaje as you said, but the problem is still there... I updated again to 2.0.18 but there is no change on that either...

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Payment and shipment methods duplicated in checkout
« Reply #19 on: January 11, 2013, 10:51:51 am »
There was some other user who found a reason, The problem seems to be with a wrong multilanguage setup.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

luisch125

  • Jr. Member
  • **
  • Posts: 76
Re: Payment and shipment methods duplicated in checkout
« Reply #20 on: January 30, 2013, 18:56:32 pm »
Ok! I finally found a clue! Here it is: If I leave the shopper-group empty, then the methods are shown just once. If there is more than a shopper type chosen, then the method is displayed once for every group.

So, is it ok to leave that field empty? Maybe I'm missing something...

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10338
  • VirtueMart Version: 3+
Re: Payment and shipment methods duplicated in checkout
« Reply #21 on: January 30, 2013, 20:06:15 pm »
Ok! I finally found a clue! Here it is: If I leave the shopper-group empty, then the methods are shown just once. If there is more than a shopper type chosen, then the method is displayed once for every group.

So, is it ok to leave that field empty? Maybe I'm missing something...

I dont use shopper groups for anything.

Only reason to use them, is if you want separate prices, OR to not show prices except for them. (or separate discounts)
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

luisch125

  • Jr. Member
  • **
  • Posts: 76
Re: [solved]Payment and shipment methods duplicated in checkout
« Reply #22 on: January 31, 2013, 19:57:42 pm »
But it worked fine in previous versions. And I still think that's a bug, but anyway, it is working now, so that's something less to worry about...

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2047
    • alatak.net
Re: [solved] Payment and shipment methods duplicated in checkout
« Reply #23 on: February 01, 2013, 11:42:14 am »
Hello
Quote
I added a new shipment method and it is shown four times, just like the others... I changed the template to the beez2, and the bug is still there...
I think this bug started because now a shopper can be in several shopper group.
I have fixed it for the next version.
Go in administrator/components/com_virtuemart/plugins/vmpsplugin.php
line 550
replace
Code: [Select]
$q .= ' (s.`virtuemart_shoppergroup_id`) IS NULL )  ORDER BY v.`ordering`';

by
Code: [Select]
$q .= ' (s.`virtuemart_shoppergroup_id`) IS NULL ) GROUP BY v.`virtuemart_shipmentmethod_id` ORDER BY v.`ordering`';

luisch125

  • Jr. Member
  • **
  • Posts: 76
Re: [solved] Payment and shipment methods duplicated in checkout
« Reply #24 on: February 08, 2013, 10:38:33 am »
Hi. I just saw your answer. I changed that code and chose all shopper groups for every payment method. Now I get the message that there are no payment methods defined... I'm reverting those changes for now... Here it is the debug text:

        vmdebug self::$_jpConfig->lang es_es
        vmdebug vmTime: loadConfig db no: 0.037944793701172
        vmdebug Start used Ram 7.25M
        vmdebug shipmentmethod Envío a domicilio = TRUE for variable weight = 0 Reason: is lower than the set 100
        vmdebug shipmentmethod Envío a domicilio = TRUE for variable products quantity = 1 Reason: no boundary conditions set
        vmdebug shipmentmethod Envío a domicilio = TRUE for variable order amount = 90 Reason: no boundary conditions set
        vmdebug shipmentmethod Envío a domicilio = TRUE for variable zip = 03206 Reason: is lower than the set 99999
        vmdebug shipmentmethod Envío a domicilio = TRUE for variable virtuemart_country_id = 195, Reason: Country in rule or none set
        vmdebug shipmentmethod Nacex = TRUE for variable weight = 0 Reason: no boundary conditions set
        vmdebug shipmentmethod Nacex = TRUE for variable products quantity = 1 Reason: no boundary conditions set
        vmdebug shipmentmethod Nacex = TRUE for variable order amount = 90 Reason: no boundary conditions set
        vmdebug shipmentmethod Nacex = TRUE for variable zip = 03206 Reason: is lower than the set 99999
        vmdebug shipmentmethod Nacex = TRUE for variable virtuemart_country_id = 195, Reason: Country in rule or none set
        vmdebug CustomsFieldCartDisplay Var1:

        521::4215:9;4220:31;4223:32;4227:24;0

        vmdebug vmTime: VirtuemartControllerCart Finished task editpayment: 0.53941607475281
        vmdebug End used Ram 17.25M
        vmdebug Peak memory peak 17.25M


luisch125

  • Jr. Member
  • **
  • Posts: 76
Re: [solved] Payment and shipment methods duplicated in checkout
« Reply #25 on: February 09, 2013, 10:09:15 am »
Read the whole thread. I didn't assign any shopper group to the shipment methods and that corrected it.