Author Topic: VirtueMart Products module add to cart ot working  (Read 516 times)

postkat

  • Beginner
  • *
  • Posts: 30
VirtueMart Products module add to cart ot working
« on: May 28, 2018, 10:31:06 am »
Hi all,

I have a problem with the virtuemart products module on the front page.
The add to cart functions are not working and I cannot find the reason why..

Things I have tried that are definitely not the problem:
A template switch
With or without the module template override
Disable other modules (didn't expect that to work because the modules are published on all pages )

The only difference in Javascript I can find is /media/system/js/caption.js. and removing caption.js made no difference.

The only difference in code (between frontpage and category page) is the form action.

I really hope someone can help me with this because I don't know where to look anymore.

Regards,
Dorine


Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3402
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: VirtueMart Products module add to cart ot working
« Reply #1 on: May 28, 2018, 10:34:57 am »
If you provide a link to your shop and information about Virtuemart release, we can perhaps help you.

postkat

  • Beginner
  • *
  • Posts: 30
Re: VirtueMart Products module add to cart ot working
« Reply #2 on: May 28, 2018, 10:59:13 am »
Sorry, forgot to mention the details:
Virtuemart version 3.2.14
And the link: https://nieuw.prodynamictape.com/

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1722
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: VirtueMart Products module add to cart ot working
« Reply #3 on: May 28, 2018, 11:18:54 am »
Quote
Things I have tried that are definitely not the problem:

You have not checked enough, works definitely with protostar:

https://nieuw.prodynamictape.com/en/tape-accessories?template=protostar

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

postkat

  • Beginner
  • *
  • Posts: 30
Re: VirtueMart Products module add to cart ot working
« Reply #4 on: May 28, 2018, 11:32:37 am »
The problem is only on the frontpage not on other pages

postkat

  • Beginner
  • *
  • Posts: 30
Re: VirtueMart Products module add to cart ot working
« Reply #5 on: May 28, 2018, 13:35:35 pm »
Never mind, I found the problem and a solution.

The problem was the multiple virtuemart product modules on one page.
So I embedded the modules each in their own article.

Regards,
Dorine

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1722
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: VirtueMart Products module add to cart ot working
« Reply #6 on: May 28, 2018, 15:41:39 pm »
Good that you found it. But you have changed more, because I can not find anything that is ordertable on front page, I do get a page not found message a bit down on the page.

Regards
Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3402
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: VirtueMart Products module add to cart ot working
« Reply #7 on: May 28, 2018, 16:05:45 pm »
And add to cart is not working properly.You have to disable Joomla page cache.

postkat

  • Beginner
  • *
  • Posts: 30
Re: VirtueMart Products module add to cart ot working
« Reply #8 on: May 29, 2018, 08:39:53 am »
Studio 42, you are right. I disabled the page cache.

Jörgen, when you visited the website I was probably still working on the fix.


Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1722
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: VirtueMart Products module add to cart ot working
« Reply #9 on: May 29, 2018, 09:35:30 am »
Great to hear that You got it working, Joomla cache seems to be making more trouble than it is worth.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)