VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: balai on December 09, 2020, 11:44:01 AM

Title: "Shared" in caclulation rules. What it is?
Post by: balai on December 09, 2020, 11:44:01 AM
Recently i found the "shared" setting in the calculation rules, after finding that some of my discounts were not taken into account.

Does anyone has any idea what exactly this is?

Thank you!

Title: Re: "Shared" in caclulation rules. What it is?
Post by: AH on December 09, 2020, 11:55:50 AM
I dont see any "shared" option
Title: Re: "Shared" in caclulation rules. What it is?
Post by: balai on December 09, 2020, 14:23:58 PM
AH Seems that you are right.
It was possibly added to my client's site as a customization.
Title: Re: "Shared" in caclulation rules. What it is?
Post by: AH on December 09, 2020, 17:09:00 PM
Thanks for the response

Yes it is definitely not in core  :)
Title: Re: "Shared" in caclulation rules. What it is?
Post by: Studio 42 on December 10, 2020, 11:36:42 AM
"shared" is displayed only if you use multi vendor option in the config i think
Title: Re: "Shared" in caclulation rules. What it is?
Post by: AH on December 10, 2020, 11:51:03 AM
oops - Yes I found it in multi Vendor settings - Thanks Studio 42


if($this->showVendors()){
JToolbarHelper::custom('toggle.shared.1', 'publish', 'yes', vmText::_('COM_VIRTUEMART_SHARED_TOGGLE_ON'), true);
JToolbarHelper::custom('toggle.shared.0', 'unpublish', 'no', vmText::_('COM_VIRTUEMART_SHARED_TOGGLE_OFF'), true);
}

Title: Re: "Shared" in caclulation rules. What it is?
Post by: balai on December 10, 2020, 12:05:35 PM
Thank you guys.

Do you know what it does?