News:

Looking for documentation? Take a look on our wiki

Main Menu

Simple VM4 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]

Started by AH, December 20, 2014, 10:53:56 AM

Previous topic - Next topic

shanel

HI ,
I need help.
I updated VM version to 3.4.12.
now after i choose one from the dropdown , it doesn't change the price.

please help...

you can see it not working here : www.shel-siet.co.il

please please help.
thanks

m.davide82

Hello,

after an update, if I put each record in each line, in frontend I see:



How can I solve it?


Thanks,
Davide

AH

I have no idea - you have provided no information to help even understand your issue.
Regards
A

Joomla 4.4.5
php 8.1

m.davide82

Hello,

thanks for your answer.

If I write the records like this:
Record1, Record2, Record 3

Everything is ok.

But, when I write:

Record 1,
Record 2,
Record 3

I have the problem I mentioned above.

In the version 1 of the plugin, everything was working right.


Thanks in advance.
Davide

AH

Those characters are encoded carriage returns and line breaks

I was unaware that they were ever handled in the parameters.

They should not be there imho or, you can code the plugin to handle them
Regards
A

Joomla 4.4.5
php 8.1

m.davide82

Solved using a str_replace after line 29.

$text = str_replace(array("
","\n", "\t", "\r"), '', $text);

Thanks.

AH

Yes - that will do it  :)

Thank you for the update - glad you got it solved
Regards
A

Joomla 4.4.5
php 8.1

Radek_cz


AH

I have no intention of adding any images - you can develop it yourself as the plugin is free for you to adjust as you see appropriate for your purposes
Regards
A

Joomla 4.4.5
php 8.1

m.davide82

Hello,

the problem came back.

Now when I add to the cart the product, I see



I used this code:
$text = str_replace(array("
","\n", "\t", "\r"), '', $text);

Any idea on how can I solve this?


Thanks,
Davide

AH

Regards
A

Joomla 4.4.5
php 8.1

SteP[IT]

I installed VM 3.4.3 and now it seems the plugin doens't work anymore.

I have set the plugin to show those prices:

Licenza 1 utente@=210@11-1,
Licenza 2 utenti@=420@11-2,
Licenza 3 utenti@=615@11-3

but the product price does not change when selecting one of those values.
Adding to cart you get the right variant description added (ie "Licenza 1 utente") but it adds the base product price
Any hint?
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

AH

The latest version I am testing is 3.4.5 and everything is working perfectly

The plugin has also been tested on previous versions and was working as designed.

However it looks as though you specify the first variant as a price adjustment so when the page loads - the variant is not being shown on page load

from my testing - It does add the correct value to cart

Are you saying that this behaviour was different in older versions of VM, because from my testing - it has always functioned in this manner
Regards
A

Joomla 4.4.5
php 8.1

Sileta

Hello, I can also use the plugin to charge a deposit of, for example, € 50 on the base price. Not on the discounted price, it must be calculated from the base price.

Thank you and best regards

AH

Regards
A

Joomla 4.4.5
php 8.1