additional
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" 4 years 1 month 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" 4 years 1 month 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: 4 years 1 month ago by Anna.
The administrator has disabled public write access.

strange JS variable "Virtuemart" 4 years 3 weeks 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.134 seconds

We do our best to secure your data and to be
GDPR compliant.
However, we are not fully there yet.

With that said we'd like you to know that we use cookies.
We store user session cookie only to enable both registered and guest users to use the shopping cart.
Please note that 3rd party cookies may still be encountered on the pages with social media "share" and "like" buttons.

To ensure your privacy we have currently stopped using any analytics tools like Google Analytics.

We anonymize your IP address on the server side so your IP is not tracked by any means.

We DO NOT pass ANY of your data to 3rd parties.
We will do our best to provide maximum transparency in future if anything will change.

Also, we will store cookies to determine if you saw this message.