VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: BKintera on December 18, 2015, 12:45:31 PM

Title: Quantiy control buttons doesn't work properly
Post by: BKintera on December 18, 2015, 12:45:31 PM
Hi,


I'm having problem with quantity control buttons, when I open product details page quantity control buttons doesn't work.

Interesting thing is that when I click on neighbour product (next or prevous product) quantity control buttons works.

I tried to switch off "Use ajax for product content" but then quantity buttons are useless complitly.

I even tried to use one of Joomla default template and that didn't help.

Any ideas what may be the solution?

I will post a link to one of the products if is necessary.


Joomla 3.4.5
Virtuemart 3.0.12
Title: Re: Quantiy control buttons doesn't work properly
Post by: GJC Web Design on December 18, 2015, 12:49:09 PM
it will be JS so without a url no one can help
Title: Re: Quantiy control buttons doesn't work properly
Post by: BKintera on December 18, 2015, 13:00:27 PM
Ok, here is the link to one product:

http://panapac.moderanweb.rs/en/products/menu-boxes/tray-mb-2-orange-panapac (http://panapac.moderanweb.rs/en/products/menu-boxes/tray-mb-2-orange-panapac)

Title: Re: Quantiy control buttons doesn't work properly
Post by: GJC Web Design on December 18, 2015, 13:15:52 PM
Your template is not compatible.. add to cart also doesn't work

try again with Protostar and no over rides or just rename

http://panapac.moderanweb.rs/templates/html/com_virtuemart to test
Title: Re: Quantiy control buttons doesn't work properly
Post by: BKintera on December 18, 2015, 13:55:26 PM
I don't think that template causing this problem.

As I said, I tried to set Joomla default template before.

I tried now to select Protostar to be template of website, not just virtuemart shop and that didn't help.


When I was checking the console, it was showing only one problem about will-change attribute in css file, I removed that attribute from template, and now console doesn't show any error.

Any other ideas?
Title: Re: Quantiy control buttons doesn't work properly
Post by: GJC Web Design on December 18, 2015, 15:57:22 PM
none.. I also looked for JS errors and nothing

but your add to cart goes straight to cart with no product added
quan + & - do nothing

all signs to me that the template is not compatible

Title: Re: Quantiy control buttons doesn't work properly
Post by: BKintera on December 18, 2015, 16:33:06 PM
I understand that sometimes when you try to help someone that person just don't listen to your advices, but I really tried to use Protostar template and that didn't help.

Problem has occured because option "Show prices" was turned off. I enabled that option, and now everything works perfect.


Thank you for your time.

Greetings,
Milan

Title: Re: Quantiy control buttons doesn't work properly
Post by: GJC Web Design on December 18, 2015, 16:59:40 PM
you mean "Use only as catalogue" ?

if I do that I have no add to cart or quantity showing...
Title: Re: Quantiy control buttons doesn't work properly
Post by: BKintera on December 18, 2015, 17:07:08 PM
No. I mean Configuartion > Pricing > Show Following Prices > Show prices
Title: Re: Quantiy control buttons doesn't work properly
Post by: GJC Web Design on December 18, 2015, 17:43:08 PM
yep -- exactly the same on my test clean VM.. quantity does nothing .. nothing added to cart

so prop an unintentional behaviour..  although a very strange setting .. why would you have no prices shown but have add to cart etc?
Use as catalogue is the normal setting
Title: Re: Quantiy control buttons doesn't work properly
Post by: BKintera on December 18, 2015, 20:13:54 PM
I need price, I need cart so I don't want to use shop as catalog on this project.

I turned off "show price" option for a while because this website is in developing process.

Problem is solved, I just wanted to post the solution if someone do the same thing as me.