Author Topic: Joomla 2.5.7 / Virtuemart 2.0.12f anonymous user price not showing in front-end  (Read 102660 times)

ggarmo

  • Beginner
  • *
  • Posts: 11
Hello All,

I am having a similar issue. I cannot save any product prices whatsoever. I know the database is communicating because if i change in phpmyadmin it reflects in backend and frontend. However, whenever i try to save from administrator nothing happens. I have fixed shopper group to NULL as it was all messed up after an update. My main reason for trying to figure this out is because I believe it is related to my issue of when you try to visit the cart I get this error:

 Fatal error: Call to undefined method VirtueMartModelProduct::getProductPrices() in /com_virtuemart/helpers/cart.php on line 1288

After the update to 2.0.18 then downgrade to 2.0.16 because of major issues we arent even operational anymore. Entire site is basically useless.

ggarmo

  • Beginner
  • *
  • Posts: 11
realized that when the cart is empty everything works fine. it's only if there are products in the cart. any ideas>

rishard

  • Beginner
  • *
  • Posts: 7
    • Masterpro
Joomla 2.5.8, VirtueMart 2.0.18.

After upgrade VirtueMart 2.0.18a does not show the price to not authorized buyers. Advise what to do?

ocean1

  • Guest
Same over here, the price is gone
When logged in we see the price again

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28541
  • Always on vacation
    • Jenkin Hill Internet
Check the shopper group set to show the prices to. If prices should be shown to all site users then the group should be left as "Please Select".


[attachment cleanup by admin]
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.0.14 10805  J 3.10.11 PHP 8.0.27

rishard

  • Beginner
  • *
  • Posts: 7
    • Masterpro
Check the shopper group set to show the prices to. If prices should be shown to all then the group should be left as Please Select.

I'm sorry, how do I find this tab?



jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28541
  • Always on vacation
    • Jenkin Hill Internet
That is the Product Editor, Product Information tab.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.0.14 10805  J 3.10.11 PHP 8.0.27

rishard

  • Beginner
  • *
  • Posts: 7
    • Masterpro
That is the Product Editor, Product Information tab.

OK, this works!
Thank you :)
Tell please, how I should act, if it is a lot of products?
I should as to edit everyone?

P.S. Joomla 2.5.8, VirtueMart 2.0.18a, php 5.3.15.

ocean1

  • Guest
I found it

77777

  • Beginner
  • *
  • Posts: 4
maybe u can share your progress with others... i am having the same problem, prices are not displayed, dont know what to do...

rishard

  • Beginner
  • *
  • Posts: 7
    • Masterpro
maybe u can share your progress with others... i am having the same problem, prices are not displayed, dont know what to do...

The solution is found, description here. Sorry, the article is in russian language. But the syntax of the sql-query is read easily. :)

77777

  • Beginner
  • *
  • Posts: 4
helped,thanks :)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10545
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
maybe u can share your progress with others... i am having the same problem, prices are not displayed, dont know what to do...

The solution is found, description here. Sorry, the article is in russian language. But the syntax of the sql-query is read easily. :)

Thank you, the sql is
Code: [Select]
UPDATE #__virtuemart_shoppergroups SET `default` = 0 WHERE `default` = 1
Of course replace +_ with your table prefix. But this is not a real solution. You have then no standard shoppergroup. You should set a new default shoppergroup then.

The problem is imho that people have stored prices with shoppergroups.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28541
  • Always on vacation
    • Jenkin Hill Internet
I have used this to fix sites where the user wrongly stored shoppergroup specific prices: 

UPDATE ###_virtuemart_product_prices   SET virtuemart_shoppergroup_id=NULL
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.0.14 10805  J 3.10.11 PHP 8.0.27

Hubbitus

  • Beginner
  • *
  • Posts: 2
Of course replace +_ with your table prefix. But this is not a real solution.
Really it is dirty hack.

You have then no standard shoppergroup. You should set a new default shoppergroup then.
No! The key there to do not have default group on import because if it exists it had picked up by CVSI importer.