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

Recent posts

#1
Quote from: sohopros on Yesterday at 23:18:16 PMHi Jumbo!,
We made the first 3 modifications you suggested and it fixed our reported problem related to viewing individual Shopper records (https://forum.virtuemart.net/index.php?topic=152040.msg543096#msg543096).

But you subsequently posted two more recommended changes to @Zegenrijk. Do you recommend we also make the two additional mods?

Yes, if you use the new admin template.
#2
Quote from: sohopros on Yesterday at 21:25:32 PMThanks Jumbo! We'll give that a try. Kind of amazing that we have to hack 3 core files to get the software to work, but I suppose that is "Brand Virtuemart". And now it will be un-updatable, or do you think this fix will be in the next release?

I believe my guess is as good as yours.
#3
Hi Jumbo!,
We made the first 3 modifications you suggested and it fixed our reported problem related to viewing individual Shopper records (https://forum.virtuemart.net/index.php?topic=152040.msg543096#msg543096).

But you subsequently posted two more recommended changes to @Zegenrijk. Do you recommend we also make the two additional mods?
#4
We see an update in the Extensions:Update screen on our dev site, which is currently running 4.2.6, to updated to v.4.2.16. Are the fixes in there?

But looking more closely, the file path seems to indicate it is 4.2.12. Now I'm confused, maybe it's the same 4.2.12 update.
#5
Thanks Jumbo! We'll give that a try. Kind of amazing that we have to hack 3 core files to get the software to work, but I suppose that is "Brand Virtuemart". And now it will be un-updatable, or do you think this fix will be in the next release?
#6
Quote from: sohopros on Yesterday at 15:55:37 PMWe also see this error in VM ver. VirtueMart 4.2.12 11014 PHP 8.1.29 - recently updated. The error is here on the individual shopper screen: administrator/index.php?option=com_virtuemart&view=user&task=edit&virtuemart_user_id[]=5001

An error has occurred.

    0 count(): Argument #1 ($value) must be of type Countable|array, null given

Please help!

The solution is here: https://forum.virtuemart.net/index.php?topic=152013.0.
#7
We also see this error in VM ver. VirtueMart 4.2.12 11014 PHP 8.1.29 - recently updated. The error is here on the individual shopper screen: administrator/index.php?option=com_virtuemart&view=user&task=edit&virtuemart_user_id[]=5001

An error has occurred.

    0 count(): Argument #1 ($value) must be of type Countable|array, null given

Please help!
#8
General Questions / Re: price calculation adds 1 c...
Last post by iWim - Yesterday at 13:45:23 PM
I can confirm both.

On an existing site (J5) the baseprice is limited to 2 decimals and rounded up.
While on a test site with a new installation of VM the baseprice has 5 decimals.

The existing site is an oldie, updated all the way from J1/VM1.
#9
General Questions / Re: price calculation adds 1 c...
Last post by Jumbo! - July 25, 2024, 23:51:13 PM
Quote from: mblokdijk on July 23, 2024, 09:54:41 AMi have a selling price of 35 euro (including tax)
tax: 21%
i use the option calculate cost price
click save, and the eventual price is 35.01
i have no option to change. it taxes on the base price, which has 2 digits. the costprice has 4 digits. if it taxed on the costprice it would be fine.
how can i change this?
J4 and VM4

It seems to be functioning well in my tests. Watch the video I recorded during the test. You can find it here: https://www.youtube.com/watch?v=sofYXwsFV60.
#10
You may want to consider using the "plgVmOnCheckoutCheckStock" event. In this event, the first argument passed is the cart object, which you can use to modify the "virtuemart_shipmentmethod_id" property. Remember not to return anything in the listener function.

Also, keep in mind that a system plugin in Joomla 4 and 5 won't listen to events that do not start with the "on" prefix. To address this, you can add the following function in the plugin's constructor to listen to the "plgVmOnCheckoutCheckStock" event.

$this->registerLegacyListener('plgVmOnCheckoutCheckStock');