VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: dev1711 on October 15, 2021, 13:05:33 pm

Title: Cannot display the bar method for private shopper group
Post by: dev1711 on October 15, 2021, 13:05:33 pm
I added a new payment method for my own group of shoppers. specifically here "Ristoranti" . But on the cart page I can't see that method. I've assigned that user to the "Ristoranti" shopper group. someone please help me. thanks everyone

photo 1: available payment methods, "Deposit slip" method created by me.
photo 2: payment interface, no payment method i created
photo 3: I have assigned the user to the shopper group "Ristoranti"

Joomla: 3.10.2
Virtuemart: 3.8.6
PHP: 7.4.23
Title: Re: Cannot display the bar method for private shopper group
Post by: Jörgen on October 15, 2021, 13:37:10 pm
Testing the shop as super user is not always a good idea. Test to create another user and assign to the correct shopper group.

Super users tend to unlock features you do no want active during test.

Jörgen @ Kreativ Fotografi
Title: Re: Cannot display the bar method for private shopper group
Post by: dev1711 on October 16, 2021, 04:29:09 am
i created a new user and assigned that user to the customer group "Ristoranti". the result is still the same. can't show payment method for separate customer group
Title: Re: Cannot display the bar method for private shopper group
Post by: Jörgen on October 16, 2021, 15:18:17 pm
You are not showing settings for the same website or language, Paypal is unpublished and it is still visible.
I guess if you take away the shopper group restriction deposit slip will still not be visible, because you have other setup issues.
Jörgen
Title: Re: Cannot display the bar method for private shopper group
Post by: GJC Web Design on October 16, 2021, 21:55:47 pm
switch on VM methods debug should show you why that method doesn't show
Title: Re: Cannot display the bar method for private shopper group
Post by: dev1711 on October 18, 2021, 04:37:18 am
You are not showing settings for the same website or language, Paypal is unpublished and it is still visible.
I guess if you take away the shopper group restriction deposit slip will still not be visible, because you have other setup issues.
Jörgen


from where i have published all the modals, but only the modal for the shopper group can't be shown. please let me know if it's a setup error or is the problem in your code. Thansks You !
Title: Re: Cannot display the bar method for private shopper group
Post by: Jörgen on October 18, 2021, 07:31:52 am
You have only lowered PHP error/warning report level. In VM configuration/configuration/shop you should turn on appropriate debug option. This option does NOT work if You have PHP errors, this option reports how VM is doing when handling is own processes.

Jörgen
Title: Re: Cannot display the bar method for private shopper group
Post by: dev1711 on October 18, 2021, 08:53:52 am
You have only lowered PHP error/warning report level. In VM configuration/configuration/shop you should turn on appropriate debug option. This option does NOT work if You have PHP errors, this option reports how VM is doing when handling is own processes.

Jörgen

i have set like this. but there is no error related to the payment method
Title: Re: Cannot display the bar method for private shopper group
Post by: Jörgen on October 18, 2021, 12:24:15 pm
I would test without One page checkout and Then i would also not use the custom template.

Jörgen @ Kreativ
Title: Re: Cannot display the bar method for private shopper group
Post by: Jörgen on October 18, 2021, 12:25:26 pm
I would also remove shopper group restriction.

Jörgen