Home > Forum > Joomla components > Customers Who Bought... > strange JS variable "Virtuemart"
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: strange JS variable "Virtuemart"

strange JS variable "Virtuemart" 3 years 4 months ago #24725

  • Anna
  • Anna's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hello, I've met a problem.
There is unknown variable "Virtuemart" in modules/mod_customerswhobought/mod_customerswhobought_slider.php
It's never defined on the page.

and on this line I am getting an error:
Virtuemart.productUpdate(jQuery(".vmCartModule"));
Uncaught ReferenceError: Virtuemart is not defined

What I missed?
The administrator has disabled public write access.

strange JS variable "Virtuemart" 3 years 4 months ago #24726

  • Anna
  • Anna's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Closed.

Only I was need to do - add string
vmJsApi::js( 'vmprices' );
to template in php-section

And by the way - forum seems to be dead :)
Last Edit: 3 years 4 months ago by Anna.
The administrator has disabled public write access.

strange JS variable "Virtuemart" 3 years 4 months ago #24764

  • Maria
  • Maria's Avatar
  • OFFLINE
  • JoomPlace Team
  • Posts: 1662
  • Thank you received: 388
  • Karma: 36
Hi Anna,

good to hear your issue's resolved. We've made changes in the Customers Who Bought extension (same build).
The fixes to Add to Cart button and adding products created in different languages are addressed in config file.

If you have any questions, feel free to create a ticket in HelpDesk area as well, as Forum is not as closely monitored.
You will receive a reply within 24 hrs (or earlier) in HelpDesk.

Kind regards
JoomPlace Support Team
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.172 seconds