Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

vmError: getProductPrices no object given query ti
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: vmError: getProductPrices no object given query ti

vmError: getProductPrices no object given query ti 12 years, 4 months ago #4210

Hi, i have installed this extension, and i get an error message:

vmError: getProductPrices no object given query time

for every product the same error message.

also i changed in the vmcoolaccordionreader.php file the line:

$product->prices = $calculator->getProductPrices($product->id);

to:

$product->prices = $calculator->getProductPrices($product);

and it did't help, the error has disappeared but the prices still show "0" in every product.

thank you for your help

Re: vmError: getProductPrices no object given query ti 12 years, 4 months ago #4211

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Hi tuval gueta,

Please unzip and override the vmcoolaccordionreader.php file to "modules/mod_sj_vm_coolaccordion/core".

Thanks
Attachments:
Ticket System | Join our Clubs to download our extensions and templates

Re: vmError: getProductPrices no object given query ti 12 years, 4 months ago #4246

I am running a smart addons module called "Sj Vm Extra Slider" , which gives the same error on virtuamart when published.

vmError: getProductPrices no object given query time

Is there an over ride or something available to help with this error ?

Re: vmError: getProductPrices no object given query ti 12 years, 4 months ago #4247

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Hi chris Ham,

Please open the vmextrasliderreader.php file in "your_site/module/mod_sj_vm_extraslider/core", finding:

price.virtuemart_product_price_id,

change to:

price.virtuemart_product_price_id,
price.product_price,


------

$product->prices = $calculator->getProductPrices($product->id);

change to:

$product->prices = $calculator->getProductPrices($product);

Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: vmError: getProductPrices no object given query ti 12 years, 3 months ago #4393

Same here!
Using SJ Restaurant as a template - any SJ-virtuemart module results in error:

vmError: getProductPrices no object given query time

We are using VM 2.0.8e (the current version) and have tried the following modules with SJ Restaurant: Sj Virtuemart, Sj Mega Products, SJ VM minicart. The problem always appears to be the same. It's not just a warning message, but makes proper use of VM impossible.
Problem disappears once the modules are unpublished.

Should we change

price.virtuemart_product_price_id,
price.product_price,


in all SJ Virtuemart modules???


We are hoping for a quick solution, as we would like to keep the template!
Last Edit: 12 years, 3 months ago by abo.
The following user(s) said Thank You: Virtuemart

Re: vmError: getProductPrices no object given query ti 12 years, 3 months ago #4395

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Hi Carol Bochmann,

You can do the same things to all sj virtuemart modules on the virtuemart component 2.0.8

price.virtuemart_product_price_id,

change to:

price.virtuemart_product_price_id,
price.product_price,


------

$product->prices = $calculator->getProductPrices($product->id);

change to:

$product->prices = $calculator->getProductPrices($product);

Thanks
Ticket System | Join our Clubs to download our extensions and templates
The following user(s) said Thank You: Virtuemart
  • Page:
  • 1
  • 2
Time to create page: 0.46 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes