Welcome, Guest. Please login or register.
Login with username, password and session length


Need help or want to talk to other developers? Join the VirtueMart Chat! Read more...

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: Add prices just not working  (Read 7219 times)
raynox
Newbie
*
Posts: 9


« on: October 17, 2006, 05:13:15 AM »

Hello all,

Quoting Soeren in some post: "to add multiple prices to a product you must access the price list of that product.
To do so, please tick the checkbox of that product in the product list and afterwards click on "List Prices". Now you're in the price list and you can add new prices for the different shopper groups"

I've done this and the default price keeps appearing. If i set it to 0 the the "call for price" appears. Either way I can't get it to display the group price.

I also checked the option in Virtuemart Admin settings to display prices for registred users.

I'm using joomla 1.0.11 and Virtuemart 1.07.

Does anyone has a solution for this ?

Thank you very much.
Logged
Pisu
Development Team
Sr. Member
*
Posts: 435


..still looking for..


WWW
« Reply #1 on: November 15, 2006, 03:31:57 AM »

I have the same problem. I added a different price in "product price list" of the product, for the "wholesale" group, but the "wholesale" shopper view always the default price. Only global % reduction works. Now I'm going to analyse code...
Logged

Pisu
Development Team
Sr. Member
*
Posts: 435


..still looking for..


WWW
« Reply #2 on: November 15, 2006, 04:02:30 AM »

I think I found the problem: the user must have set First and Second Name, and City!
I'm going to explain (if any developer reading...).

The function is_registered_customer does this query:
         $q  = "SELECT #__users.id, #__{vm}_user_info.user_id from #__users, #__{vm}_user_info
               WHERE #__users.id='" . $user_id . "' AND #__users.id=#__{vm}_user_info.user_id
               AND #__{vm}_user_info.address_type='BT' AND #__{vm}_user_info.first_name != ''
               AND #__{vm}_user_info.last_name != '' AND #__{vm}_user_info.city != ''";

So, if the user doesn't have set name and city it, the fuction returns FALSE.
Now let's go to the function doAuthentication: if the user doesn't appear as a "registered customer" (using prev function), the default shopper group is assigned:
$auth["shopper_group_id"] = $shopper_group["default_shopper_group"];

I'm not sure if this can be considered a bug... In fact, to assign Wholesale or a Gold Level customer, it's essential to know name and city, to really deliver products (and be paid!). But VM should inform of this in some way.. in example, when changing shopper group without have set these info, an advise should be displayed.

But now there is another problem... how can the user insert these info, without shop first time? In fact, when accessing to account page (I added a link to account.index page...) it's always requested to login, until first cart confirmed, or details manually inserted by Administrator.

One simply solution can be adding a direct link to the account.billing page, where user can insert name and address details; or thinking at global development it could be nice to display this link in the account.index page, if the user is registered but without details.
« Last Edit: November 15, 2006, 04:10:02 AM by Stefano Bagnatica » Logged

Da Fossil
Newbie
*
Posts: 24


Hmm..I wonder....


« Reply #3 on: December 12, 2006, 18:24:20 PM »

Actually, besides making this info available for the customer before making any purchase (which is usefull), I think that this should also be handled by a software-bridge between the  user registration in the CMS with the user registration in VM

In my case, those details will be necessary only by the customers who will be subscribing members of the site....

I'll investigate the existing bridges between registration/subscription management solutions with the VM user accoutn details.

I would want them seamlessly integrated for the end-user...

Logged

Da Fossil
Sw developer in back in the late 80s (Vax/VMS, Vax/Rally 4GL, Rdb, C, Developer/2000 & PL/SQL ) ... gone consultant/project manager now getting back to xciting stuff !!
dove g
Newbie
*
Posts: 3


« Reply #4 on: February 27, 2007, 05:50:20 AM »

How to automatically upload via CSV two prices for every product in one click?
Is that possible?

I would like to input normall price for normall shopper and price for Gold shopper.

Thank you.


« Last Edit: February 27, 2007, 05:54:10 AM by dove g » Logged
Sithi
Newbie
*
Posts: 18


« Reply #5 on: July 01, 2007, 02:38:12 AM »

HI,

i cant add a new price my New price" Button is not working, I use VM 1.0.11.. any ideas ?
Logged
Pisu
Development Team
Sr. Member
*
Posts: 435


..still looking for..


WWW
« Reply #6 on: July 02, 2007, 07:29:27 AM »

i cant add a new price my New price" Button is not working, I use VM 1.0.11.. any ideas ?

In the VirtueMart administration panel, go to "Product List", click on a product, then from menu Products, select Current Product > Add Price.

Were you doing this?
Logged

Arnaud3013
Newbie
*
Posts: 1


« Reply #7 on: August 07, 2007, 11:14:21 AM »

you've save me!! i had this problem 1 month ago...^^ thanks a lot.
Logged
ifx
Newbie
*
Posts: 9


« Reply #8 on: April 13, 2009, 23:02:06 PM »

Hi pisu.. I've already read many of your post but, I'm still confused how to show two prices for all registered member.. example:
chainsaw
$ 5 / unit
$ 50/ 12 units
or
$ 5 / unit
$ 4 / unit if quantity > 12
 
is it possible to make those displays? Is it easier to make the first or the second?
thanks before...
Logged
Pages: [1]   Go Up
Print
Jump to: