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

no standard shopper group set

Started by SATS, April 12, 2018, 06:39:02 AM

Previous topic - Next topic

SATS

Hello, I hope someone can point me in the right direction here, I am getting the message "Attention no standard shopper group set" and the following on debug:

...
12 vmdebug Set 0 to 0
13 vmdebug isSuperVendor Not a vendor 0 Var1:0
14 vmdebug Fallback active

I think this problem started after setting checkout for unregistered users and then setting it back again for registered only. I noticed that after doing that a new -anonymous- shopper group was created.

I now have shopper groups:

-anonymous-    id 3
And

"Default Shopper Group" - New shoppers will be assigned to this group - Default Shopper Group - id 2

Any ideas on why no default is being set?

Because of this my VAT tax calc rules are not being applied until at registered checkout


VirtueMart 3.2.14
Blue Corvus 9808

Joomla 3.8.6

Milbo

Both shoppergroups should show the "star".
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

SATS

Quote from: Milbo on April 12, 2018, 09:08:58 AM
Both shoppergroups should show the "star".

Thanks, I'm guessing the star is in the "Default" column, the image source is missing there: <img src="" alt="Default Shopper Group">

the -anonymous- group is not starred, please see attached screen shot

SATS

my joomla fatal.log has this repeated error:

Trying to get property of non-object (/home/forest/sunbeamalpinetigerspares.co.uk/administrator/components/com_virtuemart/models/shoppergroup.php:138)

SATS

Quote from: SATS on April 12, 2018, 11:45:28 AM
Quote from: Milbo on April 12, 2018, 09:08:58 AM
Both shoppergroups should show the "star".

Thanks, I'm guessing the star is in the "Default" column, the image source is missing there: <img src="" alt="Default Shopper Group">

the -anonymous- group is not starred, please see attached screen shot

OK, I've got both as default and the error message has gone, however tax calcs (VAT) are still not showing for guests, only when the user is logged in

Milbo

I really wonder how it happened, that you lost the default. I see you are a member, You may write a ticket here  https://extensions.virtuemart.net/ticket with your credentials or a pn and I take a look on your settings.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

#6
Thank you for writing the ticket, I think the last problem is, that the default value is different.

The "default value" in the "default column" for logged in user is 1, but
the default for guest users is 2!


INSERT INTO `vm32j3_virtuemart_shoppergroups` (`virtuemart_shoppergroup_id`, `virtuemart_vendor_id`, `shopper_group_name`, `shopper_group_desc`, `custom_price_display`, `price_display`, `default`, `sgrp_additional`, `ordering`, `shared`, `published`, `created_on`, `created_by`, `modified_on`, `modified_by`, `locked_on`, `locked_by`) VALUES
(2, 1, 'COM_VIRTUEMART_SHOPPERGROUP_DEFAULT', 'COM_VIRTUEMART_SHOPPERGROUP_DEFAULT_TIP', 0, _binary '', 1, 0, 0, 1, 1, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(1, 1, 'COM_VIRTUEMART_SHOPPERGROUP_GUEST', 'COM_VIRTUEMART_SHOPPERGROUP_GUEST_TIP', 0, _binary '', 2, 0, 0, 1, 1, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0);

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/