News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM 2.0.18a Price details dissapear unless logged in

Started by bob@robertclinton.com, January 17, 2013, 00:42:41 AM

Previous topic - Next topic

bob@robertclinton.com

Using Price overrides to create volume discounts.
http://shampoohood.com.s69818.gridserver.com/product

Price and volume discount overrides display when logged in:
Price:
Base price: $19.99
Sales price: $19.99
Sales price without tax: $19.99

All price info disappears when logged out.

http://shampoohood.com.s69818.gridserver.com/log-in
u: user
p: demo

Anybody know anything about this???




randomdev

Hey Bob,

If its the same problem I had you have to go into your mysql database and set all your shoppergroup_id to NULL in the product_prices table (search the forum for a better description).
(the prices were set only for logged in shoppers)

bob@robertclinton.com

Thanks Random-

Took a look at the table:

   virtuemart_shoppergroup_id    int(11)          Yes    NULL

Opened it up and found

Name = virtuemart_shoppergroup_id
   
Type = INT
Length/Values    = 11
Default = NULL   
Collation    
Attributes    
Null    (checked)
A_I    
Comments

Do these look right? Is there something else to look for?

I'd love to get this working. The new VM has price overrides that I need for volume discounts and I haven't found a better way to do that.

Thanks again,

- Bob

randomdev

#3
If all the shoppergroup_id values in the table are showing is NULL then your problem is not the same as mine (mine had a 2 for all the products prices)

If you create a new product does the price display? Do your existing products have a shoppergroup assigned to the prices in backend?

bob@robertclinton.com

Thanks Random D for all your interest and help!

I ended up uninstalling and reinstalling VM. Did not assign any shopper groups. Works fine now. The Price overrides work great for quantity discounts. Now I need a quantity based shipping price method.

All the best,

- Bob

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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