VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Teejay on August 24, 2018, 16:14:31 PM

Title: shopping cart not working
Post by: Teejay on August 24, 2018, 16:14:31 PM
Am using Joomla 3.8.11 with VM3.2.14 plugin, my shopping wagon is not working, nothing happens when you add product to the cart, this happened after updating Joomla, please those any one have an idea why this is, there is no option beside default in cart layout, i look forward to response on this
Title: Re: shopping cart not working
Post by: jenkinhill on August 24, 2018, 16:37:07 PM
? JavaScript error?  Impossible to know without a live URL.

I presume you have updated Joomla to version 3.8.11?  http://forum.virtuemart.net/index.php?topic=118683.0

Title: Re: shopping cart not working
Post by: Teejay on August 24, 2018, 16:51:48 PM
yes, am using Joomla 3.8.11, with VM3.2.14, i deleted the sample photo's in th Virtuemart folder, it was working before the last update, if u try add product, nothing happens
Title: Re: shopping cart not working
Post by: jenkinhill on August 24, 2018, 17:21:55 PM
live URL ???
Title: Re: shopping cart not working
Post by: Teejay on August 24, 2018, 17:24:00 PM
https://altenagala.nl
Title: Re: shopping cart not working
Post by: jenkinhill on August 24, 2018, 17:47:45 PM
The add to cart works OK when using protostar  eg https://altenagala.nl/cocktailjurken?template=protostar

The quantity change button does not work in your template either. So looks like a JavaScript issue.
Title: Re: shopping cart not working
Post by: Teejay on August 24, 2018, 20:16:10 PM
Can u suggest fix, could it be a plugin?i just installed route 66, joomla seo optimization plugins, could this be the reason
Title: Re: shopping cart not working
Post by: GJC Web Design on August 24, 2018, 21:08:58 PM
If it works on protostar and not on yours then that points to your template being the problem

as your template is based on protostar perhaps its template.js is out of date

e.g. proto currently loads with

jQuery(function($) {
   "use strict";

   $(document)

yours doesn't

(function($)
{
   $(document).ready(function()
Title: Re: shopping cart not working
Post by: Teejay on August 24, 2018, 21:23:30 PM
It was working on both default templates, with default configuration, might it be something to do with media folder?cos in the media folder, there seems to be Virtuemart folder, one in images/virtuemart, other image/stories/virtuemart, i deleted the files in the path images/virtuemart, cos with this path, u couldn't add address details, or payment options, it was working fine after doing this, i recently upgraded payments option, added script from payment merchant, since upgrading to Joomla 3.8.11, just wont respond, what you reckon i do?
Title: Re: shopping cart not working
Post by: Teejay on August 24, 2018, 21:57:15 PM
Quote from: GJC Web Design on August 24, 2018, 21:08:58 PM
If it works on protostar and not on yours then that points to your template being the problem

as your template is based on protostar perhaps its template.js is out of date

e.g. proto currently loads with

jQuery(function($) {
   "use strict";

   $(document)

yours doesn't

(function($)
{
   $(document).ready(function()
Hi,
i see what you mean, i have now adjusted it, with updated script, what else you reckon i do, cos still not functioning
Title: Re: shopping cart not working
Post by: GJC Web Design on August 24, 2018, 23:51:32 PM
why don't u just use protostar?  galawinkel just seems to be an out of date protostar with some slight changes
it calls the JS with different defers etc

just restyle a current protostar
Title: Re: shopping cart not working
Post by: Teejay on August 25, 2018, 10:18:16 AM
Quote from: GJC Web Design on August 24, 2018, 23:51:32 PM
why don't u just use protostar?  galawinkel just seems to be an out of date protostar with some slight changes
it calls the JS with different defers etc

just restyle a current protostar
okay, i will try this idea, appreciated your input