Author Topic: no standard shopper group set  (Read 388 times)

SATS

  • Beginner
  • *
  • Posts: 4
  • A beginner
no standard shopper group set
« on: April 12, 2018, 06:39:02 am »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9634
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: no standard shopper group set
« Reply #1 on: April 12, 2018, 09:08:58 am »
Both shoppergroups should show the "star".
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

SATS

  • Beginner
  • *
  • Posts: 4
  • A beginner
Re: no standard shopper group set
« Reply #2 on: April 12, 2018, 11:45:28 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

  • Beginner
  • *
  • Posts: 4
  • A beginner
Re: no standard shopper group set
« Reply #3 on: April 12, 2018, 13:47:14 pm »
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

  • Beginner
  • *
  • Posts: 4
  • A beginner
Re: no standard shopper group set
« Reply #4 on: April 12, 2018, 18:41:08 pm »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9634
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: no standard shopper group set
« Reply #5 on: April 12, 2018, 19:58:23 pm »
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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9634
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: no standard shopper group set
« Reply #6 on: April 13, 2018, 14:21:42 pm »
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!

Code: [Select]
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);

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