VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: gpessoa on April 01, 2019, 01:45:19 AM

Title: VirtueMart Products Module
Post by: gpessoa on April 01, 2019, 01:45:19 AM
Hi ppl
I`m trying to cal VirtueMart Products module in product description to show a slide only in certain  products;
It shows ok, but the buy button from this product detail stop working!
Is there something that I can do, or it is a bug from the system that needs to be fix?
Thanks in advanced,

Title: Re: VirtueMart Products Module
Post by: jenkinhill on April 01, 2019, 11:03:52 AM
Probably a JavaScrip conflict caused by the slide show. Maybe try different sliders?
Title: Re: VirtueMart Products Module
Post by: gpessoa on April 01, 2019, 14:03:30 PM
Hi Kelvyn,
First, I don't have any other Sliders to install/ test, and buy it without knowing if it works is a big mistake.
Second, as this module is a VirtueMart default, shouldn't this happens?
Title: Re: VirtueMart Products Module
Post by: Studio 42 on April 01, 2019, 15:00:44 PM
Check for missing html closing tag.
Verirfy if you have an error message in the browser console(F12 in google chrome, firefox, ie on PC)
Title: Re: VirtueMart Products Module
Post by: gpessoa on April 01, 2019, 19:31:04 PM
Hi
Everything looks ok.
No open tags or errors!

Can someone test this situation just to know if it is a generic VM problem or something else?

Title: Re: VirtueMart Products Module
Post by: Studio 42 on April 01, 2019, 22:03:27 PM
you cannot add a form in a form.
So perhaps the problem is the position you use?
Title: Re: VirtueMart Products Module
Post by: gpessoa on April 02, 2019, 13:43:25 PM
No, it is not that.
I tried with several positions and also with no position and the result is always the same.
The module works fine, but the buy button doesn't!
Title: Re: VirtueMart Products Module
Post by: Studio 42 on April 02, 2019, 17:20:04 PM
If you display the additionals product inside the cart form, then it's possible it not work right.
Else, you have perhaps a javascript conflict.
Title: Re: VirtueMart Products Module
Post by: gpessoa on April 02, 2019, 23:31:04 PM
I also believe it is a JavaScript conflict!
But, as this (VirtueMart component and VirtueMart Module) have the same "source", can this be fix?
Title: Re: VirtueMart Products Module
Post by: jenkinhill on April 03, 2019, 10:37:37 AM
Is it just the product image that you want to show in the product description or do you also want its associated buy button (form)?